I am using flutter and have an issue using google sign in I am using the same package name com.exemple for the 3 firebase projects and i am using the same signing certifcate and each project has the google sign in auth enabled.
we are uploading the app to google play and we use the internal testing in google play console to test firebase project dev (exemple-development) and closed testing for testing firebase testing project (exemple-testing) and prod for firebase prod project (exemple-production). so all three firebase projects uses the same cert and app signing fingerprint and package name. that creates an issue when using the google sign in method as it uses the same fingerprint cert and there is a conflict.
FYI : i added the debug, release and app signing SHA 1 fingerprint in all three firebase projects. And i added the client ID in the safelist of each project.
How can i fix the issue? How can I use three different environments that uses the same package name com.exemple and implements the google sign in method. Can i sign the app using different certificate and upload them to the same google console project using the same package name?
i added the debug, release and app signing SHA 1 fingerprint in all three firebase projects. And i added the client ID in the safelist of each project.
As per my knowledge Each Firebase project requires a unique SHA fingerprint for Google Sign-in to work correctly. You cannot use the same fingerprint for both testing and development projects.
You can generate separate SHA fingerprints for your testing and development environments.