Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

adding sha1 in firebase app fails with error

I am migrating my project from Digits to Firebase. In this process, I need to create an app in Firebase and add SHA-1 of the release build. When I trying to add SHA-1, it gives the following error:

An error occurred when attempting to modify an Android certificate fingerprint. Please try again later.

Found the following two similar question here. Both say that there should be an already existing app on Google API project of Firebase with the same SHA-1. I don't have any other app with the same SHA-1.

Adding sha1 key fails with error

Can android certificate fingerprint sha1 use in firebase and Google Place API?

Need help to resolve this issue.

like image 781
nigam214 Avatar asked Dec 23 '22 14:12

nigam214


2 Answers

After all research and conversation with google firebase support team, I found that a firebase project has a max limit on the SHA-1 it can store. In my case, I already had 30+ SHA-1 and I hit the limit. The limit is not well defined as said by Firebase support team. However, it is somewhere around 30+. I have more than 50 apps and I was trying to use only one firebase project as they all share the same user system in our backend. However, after knowing the limit of Google Firebase, I have used 4 different firebase projects to add 50+ Android and iOS apps from Digits to Firebase. My all apps are live and working well now.

like image 102
nigam214 Avatar answered Dec 27 '22 01:12

nigam214


Update Date : 08 Fab 2022

I too got the same problem and found a solution that If you want to add new SHA1 key in your firebase app then you have to delete one of the previously added SHA1 key.

This solution worked for me

like image 33
Hemant Prajapat Avatar answered Dec 27 '22 03:12

Hemant Prajapat