@castleio/react-native-castle
TypeScript icon, indicating that this package has built-in type declarations

2.0.13 • Public • Published

Castle for React Native

Castle adds real-time monitoring to your authentication stack, instantly notifying you and your users of potential account hijacks.

npm License CircleCI codecov

Requirements

React Native

  • React Native 0.61+

iOS

  • iOS 9.0+
  • Xcode 8.2+

Android

  • Android 5.0

Installation

Add the @castleio/react-native-castle package to your package.json.

yarn

yarn add @castleio/react-native-castle

npm

npm install --save @castleio/react-native-castle

Linking Native Code on iOS

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

Liking Native Code on Android

In order to start using the library you'll need to re-build the app binary

npx react-native run-android

Usage

Please see the Mobile Integration Guide.

Contributing

See the contributing guide to learn how to contribute to the repository and the development workflow.

License

MIT

Package Sidebar

Install

npm i @castleio/react-native-castle

Weekly Downloads

1,416

Version

2.0.13

License

MIT

Unpacked Size

667 kB

Total Files

59

Last publish

Collaborators

  • malinowski
  • granacha
  • igrpst
  • wallin
  • bartes
  • alexsimson
  • sebastiansimson