0.0.1 • Published 7 years ago
react-native-phone-verification v0.0.1
React Native Phone Verification
The best React Native example for phone verification (an alternative to Twitter Digits). This package was built for CrocodileJS.
Features
- :boom: Works with iOS and Android! :100: 100% Cross-platform baby :baby:!
- :flags: Built-in country picker (uses react-native-country-picker-modal)!
- :wrench: Completely customizable form (uses react-native-form, but you could also use tcomb-form-native)!
- :crystal_ball: Spinner overlay (uses react-native-loading-spinner-overlay)!
- :sparkles: Optional Android support for reading verification codes automatically (uses react-native-android-sms-listener)!
Usage
Install React Native:
npm install -g react-native
Initialize a new project:
react-native init myproject
Install dependencies:
If you're using
npm
to install packages:npm install --save frisbee react-native-android-sms-listener niftylettuce/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-android-sms-listener niftylettuce/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
0.0.1
7 years ago