https://github.com/varunon9/react-native-otp-verification
An OTP verification component in react native to auto detect OTP from message along with auto filling and auto clearing of OTP text boxes.
https://github.com/varunon9/react-native-otp-verification
auto-detection-otp react-native react-native-otp
Last synced: 11 months ago
JSON representation
An OTP verification component in react native to auto detect OTP from message along with auto filling and auto clearing of OTP text boxes.
- Host: GitHub
- URL: https://github.com/varunon9/react-native-otp-verification
- Owner: varunon9
- License: mit
- Created: 2020-01-27T16:40:37.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2023-01-05T12:29:26.000Z (over 3 years ago)
- Last Synced: 2025-04-02T12:52:13.519Z (about 1 year ago)
- Topics: auto-detection-otp, react-native, react-native-otp
- Language: JavaScript
- Homepage:
- Size: 3.34 MB
- Stars: 4
- Watchers: 2
- Forks: 0
- Open Issues: 17
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# react-native-otp-verification
An OTP verification component in react native to auto detect OTP from message along with auto filling and auto clearing of OTP text boxes.
### Demo GIF

### Features-
1. Auto focus to next TextInput box on entering an OTP digit
2. Auto clearing of previous TextInput boxes on continuous pressing of Backspace
3. A 30 secs timer to resend OTP
4. Auto detection of OTP from SMS (built using [react-native-otp-verify](https://github.com/faizalshap/react-native-otp-verify) which internally use [Google SMS retriever API](https://developers.google.com/identity/sms-retriever/verify))
5. Auto submission of OTP within 3 secs on its successful detection from SMS