Phoenixbowman's Recent Forum Activity

  • I've come to the conclusion IAP is impossible in Construct 2. It's a pain in the ** and does not work reliably. I did On start of layout add and request. then i have a button that says on click buy ID and the button doesn't work.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I've tried multiple things and nothing is worked. Even with On Start of Layout > add product and request store listing with a button that all it does it Purchase ID.

    I've come to the conclusion that IAP is not possible in Construct 2. Both the IAP and Cordova Plugin are too buggy to work reliably.

  • The Cranberry IAP plugin doesn't work. If I have a button that does Request Store listing and purchase product, or a button that request listing and restore purchase, both crash the game with touched.

    I tried with on start of layout add product and request store listing. with a button that all it does it purchase product...and clicking it did nothing. I did on start of layout Add product request store listing. then the button that does purchase product, nothing else. clicking the button did nothing.

  • No one knows what's going on? The game just crashes. If the Cranberry IAP plugin is broken is there another IAP plugin that's compatible with Construct 2?

    I do Request Store Listing and add products and it crashes. Unless i have to take out Request Store Listing and just add products.

  • Here is the code. I modified it. Will this work?

    http://imgur.com/a/P29k8

  • Anyone? Bueller? No one knows why the IAP is crashing the game? I did Request Store Listing, add products, and on Click buy Product. IDK why it's crashing. I know you need to request store listing and add product IDs before anything can be bought, and I did that.

  • If it helps, here is the Crash Report from Google, When the game crashed I did a Report:

    "ava.lang.IllegalStateException: IAB helper is not set up. Can't perform operation: launchPurchaseFlow

    at com.smartmobilesoftware.util.IabHelper.checkSetupDone(IabHelper.java:784)

    at com.smartmobilesoftware.util.IabHelper.launchPurchaseFlow(IabHelper.java:374)

    at com.smartmobilesoftware.util.IabHelper.launchPurchaseFlow(IabHelper.java:340)

    at jp.wizcorp.phonegap.plugin.wizPurchase.IAP.buy(IAP.java:348)

    at jp.wizcorp.phonegap.plugin.wizPurchase.IAP.access$200(IAP.java:43)

    at jp.wizcorp.phonegap.plugin.wizPurchase.IAP$2.onIabSetupFinished(IAP.java:278)

    at com.smartmobilesoftware.util.IabHelper$1.onServiceConnected(IabHelper.java:260)

    at android.app.LoadedApk$ServiceDispatcher.doConnected(LoadedApk.java:1223)

    at android.app.LoadedApk$ServiceDispatcher$RunConnection.run(LoadedApk.java:1240)

    at android.os.Handler.handleCallback(Handler.java:746)

    at android.os.Handler.dispatchMessage(Handler.java:95)

    at android.os.Looper.loop(Looper.java:148)

    at android.app.ActivityThread.main(ActivityThread.java:5491)

    at java.lang.reflect.Method.invoke(Native Method)

    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:728)

    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:618)"

  • Bump for crash from IAP code. I did Request Store Listing, Add Products, and buy Product ID. I'm not sure why the game is crashing. and I do have it uploaded into Alpha in Google.

  • I set it so Click a button, Request Store listing and purchase product, but when I click the button it says "Unfortunately, my game has stopped."

    On start of layout I have Request Store listing and Add Product ID's. And I do have the Cordova IAP added into Intel XDX and I do have the products set up in the Google Developer Console.

    On start of Layout > Request Store Listing and Add products

    Click button > Request Store listing and Purchase Product "Product ID"

    I have Request store listing on click button in case the person isn't connected to the internet when they get to the layout. Like if they aren't connected to the internet at first, if they get connected to the internet they can click the button and the store listing can be requested then

  • You have to get a Cordova plugin I believe. One of them is an IAP plugin. This lets you integrate with the Google Play Store.

  • The code is identical to the 8-direction .capx. What I don't get is why the joystick I made is immovable and the one in the 8-direction .capx is, and both codes are identical.

  • I do have a second circle that's supposed to be the static one, what I don't get is the code is exactly the same but when I click and try to drag my joystick it won't move.

    Here is the 8-direction .capx I did the code exactly the same.

    http://dl.dropbox.com/u/36472942/constr ... _only.capx

Phoenixbowman's avatar

Phoenixbowman

Member since 18 Sep, 2015

None one is following Phoenixbowman yet!

Trophy Case

  • 9-Year Club
  • Email Verified

Progress

10/44
How to earn trophies