【发布时间】:2016-11-24 07:24:23
【问题描述】:
我已经使用这个 npm 包在 react-native 应用程序中实现了数字 JeanLebrument/react-native-fabric-digits
这是一个链接: https://github.com/JeanLebrument/react-native-fabric-digits
它工作正常,但我不知道如何在我的 react-native 应用程序中自动读取 twitter 发送的 OTP。
任何人有想法或实现自动读取数字OTP?
更新: 我找到了android的解决方案: 通过添加
<uses-permission android:name="android.permission.RECEIVE_SMS"/>
到 AndroidManifest.xml,它现在正在自动读取 OTP。
但我在ios中还没有找到解决方案,在ios中是否可以?
【问题讨论】:
标签: android ios twitter react-native twitter-fabric