android证书指纹sha1可以在firebase和Google Place API中使用吗? [英] Can android certificate fingerprint sha1 use in firebase and Google Place API?

查看:298
本文介绍了android证书指纹sha1可以在firebase和Google Place API中使用吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想知道我们是否可以在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:

尝试修改Android证书指纹时发生错误.请稍后再试.

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

然后我尝试在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:

您指定的指纹已被该项目或其他项目中的Android OAuth2客户端ID使用.

The fingerprint that you specified is already being used by an Android OAuth2 client ID in this project or another project.

当我尝试将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中使用吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆