I changed my app package name since it was "example" was rejected on the play store during upload but after I changed it's unable to connect to firebase and I can no longer access the data there, I have also changed the package name on the manifest, build. Gradle and also the JSON file level but still, the app is giving back this error.
This app is not authorized to use Firebase Authentication. Please verify that the correct package name and SHA-1 are configured in the Firebase Console. [ App validation failed ]