Cordova In-App Purchase Plugin
GitHubFoveaAPI
v11.0
v11.0
  • Home
  • Introduction
  • Discover
    • Micro Example
    • About IAP Technology
    • About the Plugin
  • Use Cases
    • Non Consumable on Android
    • Non Consumable on iOS
    • Consumable on Android
    • Consumable on iOS
    • Auto-Renewing Subscription on Android
    • Auto-Renewing Subscription on iOS
  • Documentation
    • API
    • Troubleshooting
Powered by GitBook
On this page
  1. Discover

Micro Example

PreviousIntroductionNextAbout IAP Technology

Last updated 2 years ago

In-App Purchase involves a fair amount of configuration. In order to get a glimpse at a complete integration, you'll find here a minimal example and the expected result when run on a device.

This example is a Cordova application. The index.html does nothing but load js/index.js.

Launching this on a device...

Note that it's a simple example that doesn't handle error cases, but it's fully functional. In-App Purchases don't have to be super hard!

The project is on GitHub:

https://github.com/j3k0/cordova-purchase-micro-example