Reputation: 33
My local android app is synced up in google firebase console with my SHA key configured in google.services.json. How do the developer on other end can setup the project to use the same firebase console and json file. We are trying phone based authentication. While setup at my end works is fine, but the developer on the other end is getting this error - This operation is not allowed. You must enable this service in the console. Please help me with the correct way to do this.
Upvotes: 3
Views: 1963
Reputation: 1295
Solution:
So for other developers, generate the SHA-1 Key as described in the picture
Go to Firebase Console:
A solution for the comment: So the answer is well written in the error. You can't have two projects of the same package name. Even if you delete it. It will take a least 4-5 days to get deleted fully from the developer's console.
So the only solution is to generate a new SHA-1 key by custom signing the app by generating a signed apk from the android studio. Or just create a new project with different package name both ways will work for now.
Hope this info helps. Do let me know if it changes anything for you.
Upvotes: 2
Reputation: 13129
Adding to Sharan's answer, that is the correct one, you can add those SHA1 keys in your Firebase console going to
Project configuration - ADD FINGERPRINT
Remember to select the correct project at the Android apps
panel in order to add those keys
Upvotes: 2