cordova-plugin-purchase
cordova-plugin-purchase copied to clipboard
In-App Purchase for Cordova on iOS, Android and Windows
### Project Info * Plugin Version : ^13.9.0 * Ionic : @ionic/angular 5.9.4 * Cordova android: 12 ```javascript // Consumable product register CdvPurchase.store.register({ id: currentValue, type: CdvPurchase.ProductType.CONSUMABLE, platform:CdvPurchase.Platform.GOOGLE_PLAY, }); //...
Work Fine with ios Platform if (this.platform.is('ios')) { this.platform.ready().then(() => { this.store.verbosity = CdvPurchase.LogLevel.DEBUG; CdvPurchase.store.register( [{ type: CdvPurchase.ProductType.CONSUMABLE, id: "productId1", platform: CdvPurchase.Platform.APPLE_APPSTORE, }, { type: CdvPurchase.ProductType.CONSUMABLE, id: "productId2", platform: CdvPurchase.Platform.APPLE_APPSTORE,...
### Observed behavior When a user buy a non consumable product in iOS and Android all is ok, the `state` of the product change in `owned= true`. When I reopen...
We updated one of our apps to use this plugin (V13). It's now live for a while. ### Observed behavior We are seeing a crash in our logs that is...
Changes proposed in this pull request (specific to iOS): - Relates to #1170 - Enables on-device validation/parsing of app store receipts using components from the [RMStore](https://github.com/robotmedia/RMStore) library. - The decoded...
### Observed behavior iOS only. This works for us on Android just fine. When testing (using the sandbox) purchasing a consumable product set up in our AppStoreConnect account (product id...
For some reason, product.getOffer gives me nothing on iOS, while on Android it works perfectly. const offer = product.getOffer(product.id); ^ this worked only on Android After many hours of trying...
### Observed behavior On iOS, using a custom validator function that calls and endpoint that then calls the apple verify receipt endpoint. In the response from apple the `in_app` array...
The restorePurchases ios function completes quickly and only later on the actual process is being run in the background / server side. I'd love some pointers regarding two things: 1....
### Observed behavior Hello, I've identified an issue during the purchase process when there's a network switch. The issue arises when the Google Play message "Purchase has been completed successfully"...