简体   繁体   English

Google SignIn Android 无法在发布模式下运行

[英]Google SignIn Android not working in release mode

In my app, in debug mode Google sign in works perfectly.在我的应用程序中,在调试模式下,Google 登录工作正常。 But after releasing it to play-store, its not working.但是在将其发布到游戏商店后,它不起作用。

What i have done -- Added the debug sha1 , release sha1 and google app sign in sha1 in fire-base.我做了什么——在fire-base中添加了调试sha1release sha1和google应用程序登录sha1

But after that also its not working.但在那之后它也不起作用。

Checked various stack-overflow post, in maximum posts the solution is the debug and release key to be added in fire-base.检查了各种堆栈溢出帖子,在最大帖子中,解决方案是在 fire-base 中添加调试和发布密钥。 So what will be my solution as i already implemented all the 3 sha1 keys then also its not working那么我的解决方案是什么,因为我已经实现了所有 3 个sha1键,然后它也不起作用

If you have enabled google play app signing, Try adding google app signing SHA1 key in the firebase console.如果您已启用 google play 应用签名,请尝试在 firebase 控制台中添加 google 应用签名 SHA1 密钥。 在此处输入图片说明

Adding SHA-256 worked for me.添加 SHA-256 对我有用。 Now its working fine.现在它工作正常。 Thanks anyways guys.无论如何,谢谢你们。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM