Installing
Using react-native>0.60#
- Install the package into your React Native Project.
The package will be linked automatically using autolinking. Then follow the instructions below depending on the platform you're working with:
iOS Platform:
Install cocoa pods:
cd ios && pod installAndroid Platform with Android Support:
Modify your android/build.gradle configuration:
note: Using Jetifier tool for backward-compatibility.
Android Platform with AndroidX:
Modify your android/build.gradle configuration:
Using react-native<=0.60#
Follow the steps above and then link the package using:
Manual install#
Refer to Manual installation.
Upgrading from older versions#
Upgrading to 6.1.0#
On Android, follow step 3 of the Manual Installation instructions.
Upgrading to 3.4.0#
- Upgrade to the new purchase flow.
- There is no longer any need to call endConnection on Android as this is done automatically.