Guide for integrating Purchasely SDK inside your React Native app
Last updated 3 years ago
Was this helpful?
You can use to install Purchasely by adding it to your Podfile:
Podfile
npm install react-native-purchasely --save
Don't forget to change the minimum OS versions to match Purchasely requirements (iOS 11 / Android 21)
// Podfile ... platform :ios, '11.0' ...
// Edit file android/build.gradle buildscript { ext { minSdkVersion = 21 //min version must not be below 21 compileSdkVersion = 30 targetSdkVersion = 30 } } allprojects { repositories { mavenCentral() } } ------- //Edit file android/app/build.gradle dependencies { //Add this line to integrate Google Play Billing implementation 'io.purchasely:google-play:2.8.0' }
To integrate Huawei Mobile Services, please refer to our Android documentation :