How do I add IAP to XDK?

0 favourites
  • 7 posts
From the Asset Store
Customize the animation of character when item changed
  • Hey Devs,

    I have read the Intel article about "IAP in the Intel® XDK"

    https://software.intel.com/en-us/html5/articles/iap-in-intel-xdk

    It have 5 steps:

    1.Add the payment plugin to your XDK project and build an APK

    2.Publish the APK in Google Play as an alpha release

    3.Add products you want to sell in google play

    4.Add the billing key to your init call

    5.Rebuild the APK and publish it

    And I just don't know what to do with the step 4, it says:

    "In google play console click "Services & API's" and locate your YOUR LICENSE KEY FOR THIS APPLICATION . You will need to modify your init call in your javascript file to include the Base64 encoded key.

    inappbilling.init(successInit,errorCallback, {showLog:true, key: 'myOwnKeyRSABase64App'})"

    I just don't know where should I modify my JavaScript file.

    Can someone give me an advice?

    Thanks!

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Hello I saw your game on Google Play and read that you have been using IAP and XDK in your game.

    Could you help me?

    Thanks!

  • Maybe you should search for this string on (/www) XDK files and THEN modify it.

  • I tried that

    But it says, No results found.

  • Hello I saw your game on Google Play and read that you have been using IAP and XDK in your game.

    Could you help me?

    Thanks!

    I believe in the next update, C2 will have a XDK compatible IAP plugin so wait a bit.

    Currently I am using cranberrygame's IAP plugin, you can find it in the completed addons forum. Included is a .doc file explaining how to implement it with XDK.

  • Just a quick question. Do you know if XDK supports Android 4.0+?

    Because I read in the "Introducing Crosswalk: the new way to publish to Android" article that [quote:21j5kefm]"Crosswalk only supports Android 4.0+"

    But when I use the Build option in the Intel XDK it says: "Android 4.2"

    Thanks for your time

  • Its 4.0+ minimum.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)