从GCM / FCM的生产证书中添加SHA-1 [英] Add SHA-1 from production certificate for GCM/FCM
问题描述
现在我准备发布,我想知道是否需要将此SHA-1更改为发布证书的值?或者它不是必需的,并且对于发行版本,我应该保持原样?
是的,您必须添加发行版的SHA-1证书。您可以添加SHA-from设置按钮
然后添加指纹:
您可以同时拥有调试和释放证书的SHA-1。所以该应用程序将在调试和发布模式下工作。
So I have an app that using FCM. I've added it package and as it said "Debug signing certificate SHA-1 (optional)". Everythings works as expected.
Now I'm preparing for release and my I was wondering do I need to change this SHA-1 to value from release certificate? Or it's not required and for release I should leave everything as it is?
Yes, you must add SHA-1 of release certificate. you can add SHA-from settings button
and then add fingerprint:
you can have both SHA-1 of debug and release certificate. so the app will work both in debug and release mode.
这篇关于从GCM / FCM的生产证书中添加SHA-1的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!