我在哪里可以在 nativescript android 应用程序中找到 sha1 指纹? [英] Where could I find sha1 fingerprint in nativescript android app?
问题描述
我在使用 firesbase 登录谷歌时出错
I getting error while using firesbase login with google
JS: Make sure you've uploaded your SHA1 fingerprint(s) to the Firebase console
JS: Has the SHA1 fingerprint been uploaded? Sign-in status: Status{statusCode=NETWORK_ERROR, resolution=null}
如何解决这个问题?
推荐答案
您可以使用此页面生成所需的 SHA1 代码.https://developers.google.com/android/guides/client-auth
You can use this page to generate the SHA1 codes you need. https://developers.google.com/android/guides/client-auth
然后在 Firebase 控制台的设置常规选项卡上有一个标记为SHA 证书指纹"的位置,您可以在其中粘贴指纹并保存.
Then in the Firebase console on the settings general tab there is a spot labeled: "SHA certificate fingerprints" where you can paste the fingerprints and save them.
请记住,执行此操作后,您需要下载 google-services.json 文件并将其放在 app/App_Resources/Android 文件夹中.
Remember once you do this you need to download the google-services.json file and put it in app/App_Resources/Android folder.
这篇关于我在哪里可以在 nativescript android 应用程序中找到 sha1 指纹?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!