阅读来自SMS REACT NATIVE的消息 [英] Read Message from SMS REACT NATIVE
问题描述
我正在为使用react-native内置的移动应用程序登录过程... https://files.slack.com/files-pri/T039NS2ED-FHARU61LH/image_from_ios.jpg
I am working on a log in process for a mobile app built in react-native... https://files.slack.com/files-pri/T039NS2ED-FHARU61LH/image_from_ios.jpg
我想使用某种发件人选项卡"来自动填写我的密码.我想知道是否有人知道什么可以引导我朝正确的方向前进.
I want to have some sort of "From messages tab" that auto fills my passcode. I was wondering if anyone knew something that could lead me in the right direction about this.
推荐答案
对于android,您可以尝试使用此npm
For android you can try this npm
https://github.com/CentaurWarchief/react-native-android-短信监听器
https://github.com/Bruno-Furtado/react-native-短信检索器
https://www.npmjs.com/package/react- native-get-sms-android
无法读取iOS短信,但我已经阅读了这个stackoverflow答案 但是我不知道如何实现! iOS中的自动OTP验证?.
IOS sms reading is not possible but i have read this stackoverflow answer But I have no idea how to implement that! Automatic OTP verification in iOS?.
这篇关于阅读来自SMS REACT NATIVE的消息的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!