The Kinde SDK for React Native SDK 0.7x.
You can also use the React Native 0.7x starter kit here.
| Platform | Minimum Version |
|---|---|
| iOS | 12.0+ |
| Android | API 23+ |
Note
- iOS: 12.0+ is required due to the dependency on
react-native-app-auth, which uses AppAuth-iOS 2.0.0. If your app targets iOS versions below 12.0, you will need to update your deployment target. - Android: API 23+ is required due to the dependency on
react-native-keychain, which has a minimum SDK version of 23.
To run the included example app (CocoaPods/Bundler/Ruby setup and run steps), see: example/README.md
-
Clone the repository to your machine:
git clone https://github.com/kinde-oss/kinde-react-native-sdk-0-7x
-
Go into the project:
cd kinde-react-native-sdk-0-7x -
Install the dependencies:
npm install
Implement your modifications and then execute the below command to compile the SDK:
npm run build- Go to the project's root directory, then execute the below command:
npm pack <path-to-sdk-folder> // e.g npm pack ~/Documents/Projects/kinde-react-native-sdk-0-7x
- Update the
package.jsonfile
{
...
"dependencies": {
"@kinde-oss/react-native-sdk-0-7x": "file:kinde-oss-react-native-sdk-0-7x-<version>.tgz",
...
}
...
}To test the SDK, you just need to run the command:
npm run test;For details on integrating this SDK into your project, head over to the Kinde docs and see the React Native SDK 0.7x doc 👍🏼.
The core team handles publishing.
Please refer to Kinde’s contributing guidelines.
By contributing to Kinde, you agree that your contributions will be licensed under its MIT License.