本文介绍了电话验证otp消息未在单独的apk中接收到,仅在调试apk中起作用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在Android应用中集成了Firebase移动验证,但仅在调试APK中有效;而不是发布apk(发布版本中未收到otp)

I integrated Firebase mobile verification in my Android app, but it's only working in the debug APK; and not in the release apk (otp not receiving in release version)

implementation 'com.google.firebase:firebase-auth:16.0.2'

此外,我生成了SHA1并粘贴到Firebase配置中,而我的google-service.json是最新版本.

Also, I generated SHA1 and pasted in Firebase config, and my google-service.json is the latest one.

推荐答案

来自答案.

  • 从开发者控制台获取SHA-1证书指纹并将其放入在Firebase中.
  • Get SHA-1 certificate fingerprint from Developer console and put itin Firebase.

这篇关于电话验证otp消息未在单独的apk中接收到,仅在调试apk中起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-29 20:49