问题描述
我想知道我们是否可以在Firebase和Google Maps API中使用相同的证书指纹SHA1?
I would like to know if we can use the same certificate fingerprint SHA1 in Firebase and for Google Maps API?
在此之前,我将证书指纹SHA1用于Firebase登录授权.但是,对于Google Places API,我也必须使用证书指纹SHA1.首先,我在Firebase控制台上删除了指纹SHA1,并将其添加到Google Places API中.接下来,我在Firebase上添加了指纹SHA1,但是我收到一条消息,提示:
Before this, I'm using my certificate fingerprint SHA1 for Firebase Sign-In authorization. However, for Google Places API, I have to use a certificate fingerprint SHA1 too. First, I deleted fingerprint SHA1 at Firebase console and add it into Google Places API. Next, I add the fingerprint SHA1 at Firebase,but I'm getting a message saying:
然后我尝试在Google API Manager中删除SHA1,然后将其放回Firebase.现在我收到一条消息,说:
And then I tried to deleted the SHA1 in Google API Manager, and put it back into Firebase. And now I'm getting a message saying that:
当我尝试将SHA1放入Google Places API时.
when I tried to put SHA1 into Google Places API.
而且,这两个软件包的名称相同.
And, both have the same package name.
推荐答案
密钥
是的,您可以在firebase和Google Place API中使用sha1.因为sha1密钥只能在同一台PC上生成一次,所以如果第二次生成则无法生成.
Yes you can use sha1 in firebase and Google Place API. Because sha1 key generate only one time in same PC .If you want second time then it can not generate.
有关更多信息,请点击此链接.
for more information please follow this link.
https://developers.google.com/drive/android/auth
这篇关于android证书指纹sha1可以在firebase和Google Place API中使用吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!