Cordova InApp

Android Demo

You find a demo android application here.

Icon

Cordova - InApp 5.62 MB 502 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.

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

 

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).

Updated on May 6, 2018

Was this article helpful?

Related Articles

Leave a Comment

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

Privacy Preferences

Strictly Necessary

Cookies that are necessary for the site to function properly.

gdpr,PYPF, woocommerce_cart_hash, woocommerce_items_in_cart, _wp_wocommerce_session,gaoop_hide_info,cookieconsent_dismissed, wordpress_,'g-recaptcha-response

Google Adsense (Google Inc.)

We are using Google AdSense to show personalized ads on our webpage and our forum. For more information see the privacy policy by Google.
https://www.google.com/policies/technologies/ads/

Doubleclick, __gads, __gac