即使我在Firebase控制台中更新了sha1,在Play商店中发布.apk之后,firebase电话身份验证也无法正常工作 [英] firebase phone authentication not working after .apk released in play store even after I have updated sha1 in firebase console
问题描述
即使我在Firebase控制台中更新了sha1
之后,在Play商店中发布了.apk
之后,Firebase电话身份验证也无法正常工作,之后我又重新生成了google- services.json
并在android studio项目中更新了json文件.
Firebase phone authentication not working after .apk
released in play store even after I have updated sha1
in firebase console after that I have generated google-services.json
again and updated json file in android studio project.
firebase控制台项目设置中还存在其他许多sha1 ,如果我在生成新的google-services.json之前将其删除
There was many other sha1 was also present in firebase console project setting should I delete them before generating new google-services.json
推荐答案
将apk上传到Play商店后,Play商店会创建一个称为应用程序签名证书"的新证书.这将包含您所需的SHA1证书.可以在以下位置找到它:
When you upload an apk to the play store then play store creates a new certificates called "App signing certificate". This will contain the SHA1 certificate that you require. It can be found at:
在您的游戏机上发布了Management-> App Sigining.复制并将其粘贴到您的Firebase应用程序->项目设置->添加sha1指纹.
Released Management->App Sigining on your play console. Copy it and paste it in your firebase app -> project settings -> add sha1 fingerprint.
虽然已经15天了,但我希望它能对您有所帮助.
Although, it's been 15 days but I hope it still helps.
这篇关于即使我在Firebase控制台中更新了sha1,在Play商店中发布.apk之后,firebase电话身份验证也无法正常工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!