Cordova InApp

Android Demo

You find a demo android application here.

Icon

Cordova - InApp 5.62 MB 377 downloads

Download our demo application for InApp features. ...

Note, the issue about “You need to sign into your Google account comes from, that the apk file was not downloaded from the Play Store!”.

Just to be sure...

Please note! In order to get InApp working you must download the App via the Store. Otherwise you get this error message.

cio_iap_error_signin

 

Plugins

CocoonIO – Install the plugin

Go to your Project on cocoon.io and add following plugin in the custom section.

https://github.com/cranberrygame/cordova-plugin-payment-iap.git

 

Construct 2 – Install the plugin

Just drag’n’drop the .c2addon file into construct 2.

Google Play

APK Secret

The Cordova IAP plugin needs a Secret. You get that from your Google Play Developer Console. So login into your Dev Account and select your application. Then go to “Services & API’s and copy the code into your Cordova IAP Plugin.

cio_iap_secret

Copy the code above, and paste it in the corresponding field.

cio_iap_secret_c2

Code Example

If the plugin installation was successfully you can download and open our code example for Construct 2 (for personal use only).

Icon

Cordova - InApp (capx)

Download our free Construct 2 template Cordova - InApp. This template shows you how...

0.3 MB 406 downloads
Updated on May 6, 2018

Was this article helpful?

Related Articles

Need Support?
Can’t find the answer you’re looking for? Don’t worry we’re here to help!
Contact Support

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.