Read Message from SMS REACT NATIVE

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.


For android you can try this npm

https://github.com/CentaurWarchief/react-native-android-sms-listener

https://github.com/Bruno-Furtado/react-native-sms-retriever

https://www.npmjs.com/package/react-native-get-sms-android

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?.