SMS检索器api在发行版中不会自动从SMS读取OTP [英] SMS retriever api wont read OTP from SMS automatically in release build

查看:151
本文介绍了SMS检索器api在发行版中不会自动从SMS读取OTP的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我从AppSignatureHelper类生成了哈希,该哈希可用于调试版本,而对于发行版本则无效,因此我使用密钥库和别名使用命令

I generated Hash from AppSignatureHelper class which works for debug build, same didn't work for release build, so I generated a hash using keystore and alias using command https://developers.google.com/identity/sms-retriever/verify#computing_your_apps_hash_string and updated to SMS text, this too didn't work.

推荐答案

最后,这解决了我的问题

Finally this solved my problem How to generate 11 char hash key for Sms Retriever with Google App signing

@farhan 在他的问题中提到的解决方案有所帮助

The solution mentioned by @farhan in his question helped

这篇关于SMS检索器api在发行版中不会自动从SMS读取OTP的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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