React Native Phone Verification
The best React Native example for phone verification (an alternative to Twitter Digits). This package was built for CrocodileJS.
Features
💥 Works with iOS and Android!💯 100% Cross-platform baby👶 !🎏 Built-in country picker (uses react-native-country-picker-modal)!🔧 Completely customizable form (uses react-native-form, but you could also use tcomb-form-native)!🔮 Spinner overlay (uses react-native-loading-spinner-overlay)!
Wishlist
✨ Optional Android support for reading verification codes automatically (uses react-native-android-sms-listener)!
Usage
- Install React Native:
npm install -g react-native-cli
- Initialize a new project:
react-native init myproject
- Install dependencies:
If you're using
npm
to install packages:
npm install --save frisbee react-native-country-picker-modal react-native-form react-native-loading-spinner-overlay
Or, if you're using
yarn
to install packages:
yarn add frisbee react-native-country-picker-modal react-native-form react-native-loading-spinner-overlay
- See example directory for how to integrate into your codebase (you can also just clone this repo and run the example to test it out).
License
All code is licensed under MIT