Closed AEiosApp closed 1 month ago
@j3k0 check please, and let me know if any debug tests or log can help you to investigate this issue 🙏
Not sure if revelant to Your issue, but i had to specify the group
explicitly to get v13 working on android (ie. contrary to what the documentation states of "group" having a default value if not set, see commit )
store.register({
id: "PRODUCT_SKU",
type: CdvPurchase.ProductType.CONSUMABLE,
platform: CdvPurchase.Platform.GOOGLE_PLAY,
group: 'default'
})
EDIT:
Not sure if it's the same behaviour for NON_CONSUMABLE
type products as well, but You could give it a try.
@dferenc-netwizzy thanks for the comment, but I've started getting more bug reports from users, seems like v13 is not yet ready, I'll roll back to the stable v11.
Issue has gone on v13.10.1
Observed behavior
CdvPurchase.store.initialize() never finished on Android with Capacitor, but same code works perfect on:
On the Logcat I've:
Here's my code:
So
console.log('#iaptest iaps initialised!')
never fired on Android.IAPs configured in Google Play correctly - all of them works fine with production version in Play Store. IAPs array to register looks correct:
Expected behavior
In my another, cordova app with the same plugin version v13.6.0 queryAllProductDetails() works fine and return product details:
System Info
cordova-plugin-purchase v13.6.0 capacitor v3.4.3
Output of
cordova info
.