-
Notifications
You must be signed in to change notification settings - Fork 3
module InAppBilling.API
- Source:
-
Error codes base.
all the codes bellow should be kept synchronized between: InAppPurchase.m InAppBillingPlugin.java android_iab.js ios_iab.js
Be carefull assiging new codes, these are meant to express the REASON of the error as exact as possible!
- Source:
-
This will return the already boutgh items.
Name Type Description successgetPurchasesSuccess failerrorCallback - Source:
-
This initiates the plugin, you can optionally pass in one or multiple product IDs for their details to be loaded during initialization.
Name Type Description successinitSuccess the success callback
failerrorCallback the failure callback
optionsObject options for configuring the plugin
Name Type Argument Description showLogBoolean <optional>
[true] wether to show logs or not, this is strongly recommended to be set to false for production
productIdsArray.<String> an optional list of product IDs to load after initialization was successful
- Source:
-
This function accepts and outputs all the logs, both from native and from JS this is intended to make the debuging easier, you only need to have access to JS console output.
Name Type Description msgString - Source:
Generated with wicked.
- Installation
- [Stores setup](Stores setup)
- [Purchase verification](Purchase verification)
- [Testing plugin](Automatic tests)
- [API documentation](API documentation)
- Debugging
- Roadmap
- [Compatibility issues](Compatibility issues)