cordova-plugin-purchasely

Purchasely is a solution to ease the integration and boost your In-App Purchases & Subscriptions on the App Store, Google Play Store, Amazon Appstore and Huawei App Gallery.

Usage no npm install needed!

<script type="module">
  import cordovaPluginPurchasely from 'https://cdn.skypack.dev/cordova-plugin-purchasely';
</script>

README

Purchasely-Cordova-Sources

Add plugin :

cd example/

cordova plugin add /home/kevin/Documents/Purchasely/Cordova/Purchasely --link

Add android platform :

cd example/

cordova platform add android

Add Google-Play dependencies

In folder example/platforms/android/app create a file called build-extras.gradle and add thoses lines :

dependencies {
    implementation "io.purchasely:google-play:2.5.4"
}

Troubleshot

cd example/

cordova platform remove android

cordova plugin remove cordova-plugin-purchasely