在实施基于Firebase的OTP解决方案时,我遇到了一个问题。
问题
电话重启后仅接收一次OTP。 90%的时间第二次后不恢复OTP,而10%的时间连续接收OTP。
已尝试解决方案
1)Checked with Firebase support team and they confirmed that code looks fine.
2)Checked with different phone and different service, everyone is facing the same issue.
3)Deleted and added three SHA1 Key. One from App signing, second from upload certificate and third from Android studio but still facing the issue.
示例代码
https://github.com/probelalkhan/firebase-phone-authentication
怀疑问题
Is this issue related to key? Do I need to add SHA-256 Key?
任何信息都将有助于解决此问题。