cordova plugin add cordova-plugin-purchases --save
The App Store, in it's 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