JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 45
  • Score
    100M100P100Q68478F
  • License Apache-2.0

Kinvey JavaScript SDK for React Native applications.

Package Exports

  • kinvey-react-native-sdk
  • kinvey-react-native-sdk/lib/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (kinvey-react-native-sdk) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Kinvey React Native SDK

The Kinvey React Native SDK is used to develop an React Native application that connects to Kinvey.

Install

Using npm install the sdk:

npm i --save kinvey-react-native-sdk

Install Peer Dependencies

You will need to install the peer dependencies @react-native-async-storage/async-storage, react-native-keychain and react-native-inappbrowser-reborn

npm i --save @react-native-async-storage/async-storage
npm i --save react-native-keychain
npm i --save react-native-inappbrowser-reborn

After installing them, make sure you install the cocoapods for iOS.

cd ios && pod install && cd ..

Optional Install Push Notification

If you would like your application to receive push notifications you will need to install the peer dependency react-native-push-notification.

npm i --save react-native-push-notification
For iOS

To receive push notifications on iOS you will need to install @react-native-community/push-notification-ios.

npm i --save @react-native-community/push-notification-ios

After installing @react-native-community/push-notification-ios make sure you install the cocoapods for iOS.

cd ios && pod install && cd ..

Follow this guide to add the needed Push Notification capabilities in Xcode and also to update your AppDelegate.m and AppDelegate.h.

For Android

Setup a Firebase project and download the google-services.json file in your android/app folder as explained here. Then follow this guide to complete the setup for Android.