react-native-account-kit
React Native Account Kit for Android and iOS (soon)
Installation
npm install react-native-account-kit subscribable --save
Configure native projects
Android
iOS
How to use it
... ; ;var Subscribable = ; var AK = ;... ... { superprops context; AK ; AK ; } mixins = SubscribableMixin; ...
- To call the Login/Register View
AK; // Expects as Response Type a TOKEN by Default //AK.loginWithPhone(AK.RESPONSE_TYPE_CODE); // Set the response type as TOKEN if you need it //Now we need to set the listener for the successful login { DeviceEventEmitter; } }