I am using Anonymous method to login. When i install the application through USB, it working fine i.e user successfully signed in using sign in Anonymous method, but when i generate signed apk and then test it, authentication get failed with giving an Exception:
The Android package name and signing-certificate fingerprint, package_name and fingerprint, do not match the app restrictions configured on your API key. Please use the API Console to update your key restrictions.
I try to store client_secret.json as suggested in the answer Android Firebase Authentication for Google Signin fails But it doesn't worked. I have enabled SignIn Method in firebase authentication.
And i keep the security as true for now.
Please help me out.