An OTP verification component in react native to auto detect OTP from message along with auto filling and auto clearing of OTP text boxes.
- Auto focusing of TextInput boxes (auto focus to next TextInput box on entering an OTP digit)
- Timer for Resend OTP link (a resend OTP link which would be visible after 30 secs so we had to show a 30 secs timer)
- Clearing TextInput boxes in reverse order on pressing Backspace (auto clearing of previous TextInput boxes on pressing of Backspace key)
- Auto read OTP from SMS (built using react-native-otp-verify which internally use Google SMS retriever API)
- Auto submission of OTP (within 3 secs of OTP detection from SMS)