Castle adds real-time monitoring to your authentication stack, instantly notifying you and your users of potential account hijacks.
- React Native 0.61+
- iOS 9.0+
- Xcode 8.2+
- Android 5.0
Add the @castleio/react-native-castle
package to your package.json
.
yarn add @castleio/react-native-castle
npm install --save @castleio/react-native-castle
Run pod install
in the ios
directory in order to link to the native iOS project. A shortcut for doing this without switching directories is to run
npx pod-install
Once completed, re-build the app binary and start using the library
npx react-native run-ios
In order to start using the library you'll need to re-build the app binary
npx react-native run-android
Please see the Mobile Integration Guide.
See the contributing guide to learn how to contribute to the repository and the development workflow.
MIT