Open gxolin opened 2 weeks ago
Then just use it properly! https://github.com/j3k0/cordova-plugin-purchase/blob/master/www/store.js#L100-L110
maybe you need to install cordova?
Thanks for the advice, but my setup is based on a workaround due to #1610, and I don't use Iaptic as a backend, I have my own. I should have put the context in my issue, sorry:
did you setup the capacitor config? and sync?
yes, using the cordova-plugin-purchase
through the @awesome-cordova-plugins/in-app-purchase-3
is working fine beside the validator function, I've tested the whole subscription purchase with both Android and iOS stores, and live subscription until payment, so I think everything is well configured
Observed behavior
The CdvPurchase.store.validator exposes a
store.validator
property, but this property is not defined in the store final build (same for validator_privacy_policy)Trying to call it will throw errors :
store.validator = (r,c) => {}
tried calling InAppPurchase3.validator, but the InAppPurchase3 plugin is not installed.
(error catching by awesome-cordova-plugins when something is not defined)Expected behavior
No inaccessible properties defined in store.ts src but not accessible in store.js build
System Info
package.json :
Output of
cordova info
.cordova: command not found