颤振:生成发布SHA1指纹 [英] Flutter: generate release SHA1 fingerprint

查看:82
本文介绍了颤振:生成发布SHA1指纹的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我用flutter完成了我的应用程序,但是在发布模式下,firebase auth无法正常工作.有人告诉我必须为发布模式生成SHA1,但我不知道如何.它可以在调试模式下工作,但不能在发布模式下工作.我如何生成它,或者我们还有其他解决方案?

I have finished my application with flutter, but in release mode, firebase auth is not working. I've been told that I must generate a SHA1 for the release mode, but I don't know how. It works in debug mode, but not in release mode. How can I generate it, or do we have another solution?

推荐答案

您需要访问Play商店中的应用程序.在发布管理>应用签名部分中,您可以获得SHA1.复制并放入Firebase配置中,下载 google-services.json 并放入您的应用文件夹中.

You need to access the application in Play Store. In the section Release Management > App signing you can get the SHA1. Copy, put in the Firebase configuration, download the google-services.json and put in your app folder.

这篇关于颤振:生成发布SHA1指纹的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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