【问题标题】:How to read OTP automatically sent by twitter digits in react-native如何在 react-native 中读取 Twitter 数字自动发送的 OTP
【发布时间】: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


    【解决方案1】:
    I had work on this. I use these technique to implement it.
    

    https://stackoverflow.com/a/20901982/5349267

    【讨论】:

    • 问题在 react native~
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2021-12-03
    • 1970-01-01
    • 1970-01-01
    • 2021-11-08
    • 2021-01-23
    • 2018-09-30
    • 1970-01-01
    相关资源
    最近更新 更多