{"repo":"faizalshap/react-native-otp-verify","free":true,"listed":false,"github":"https://github.com/faizalshap/react-native-otp-verify","clone":"git clone https://github.com/faizalshap/react-native-otp-verify.git","description":"React native sms verification without additional permissions","language":"Java","stars":293,"topics":["react-native","android","sms-verification"],"license":"MIT","category":"mobile-apps","readme_excerpt":"React Native Otp Verify ✉️ - Automatic SMS Verification with the SMS Retriever API (Android Only) - Phone Number Retrieving using the Phone Number Hint API (Android Only) Automatic SMS Verification with the SMS Retriever API, you can perform SMS-based user verification in your Android app automatically, without requiring the user to manually type verification codes, and without requiring any extra app permissions. Message Format/Structure In order to detect the message, SMS message must include a hash that identifies your app. This hash can be obtained by using the getHash() method below. Please read the official documentation for the message structure at this Google developer guide Quick start 🔥 Installation $ npm install react-native-otp-verify --save or $ yarn add react-native-otp-verify Usage Import the Library Using Hook Properties Property Type Description ------------- :-------------: :-------------: hash string[] The hash code for the application which should be added at the end of message. otp string OTP retreived from SMS when received. (Must pass numberOfDigits ) message string SMS message when received. timeoutError boolean Flag is set to true when after timeout (5 minutes) Check here startListener function Manually starts listener again in case of timeout or any other error stopListener function Stops listener for the sms Using Methods Example See the example app in example folder. Auto Linking for React Native = 0.60 Linking the package manually is not required","default_branch":null,"files":null,"tree":[],"storefront":"/r/faizalshap","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/faizalshap/react-native-otp-verify/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}