cordova plugin add cordova-plugin-purchases --save
Include BILLING permission for Android projects
Don't forget to include the
BILLING permission in your AndroidManifest.xml file
<uses-permission android:name="com.android.vending.BILLING" />
The App Store, in its infinite wisdom, still rejects fat frameworks, so we need to strip our framework before it is deployed. To do this, add the following script phase to your build.
- In Xcode, in project manager, select your app target.
- Open the
- Add a new
Run Script, name it
- Add the following command
- Now that you've installed the Purchases SDK in your Cordova app, get started by initializing an instance of Purchases