[Plugins] Construct2&3 Cordova Plugins

2 favourites
From the Asset Store
Cordova device Info mobile and browser modules detect-gpu
  • russpuppy

    If you called "Request store listing" at once, you need to call "restore purchases" not any more.

    so, for example)

    Add product IDs "IDgoeshere"

    Request store listing

    ...

    if you want to know you have purchased specific product, you can use condition Has product "IDgoeshere".

    TwinTails

    I tested PhoneGapLocalNotification 1.0.11

    PhoneGapLocalNotification silences in Construct 2 preview in browser.

    Let me see your error message screen capture.

  • thanks for your quick reply cranberrygame

    I am running into an issue where "has product" is triggered as true even after I have cancelled the test order in my developer wallet merchant center. Do you know how the google servers work, if it takes a while for cancellations to go through or something? Or is this how it is intended to function?

    edit: See "purchaseState" on this page: https://developers.google.com/android-p ... s/products - is it possible to get the purchase state to discern purchased orders from cancelled orders?

  • cranberrygame My mistake, I don't think I restarted Construct 2 when I installed the update... Thanks!

  • russpuppy

    If you want detect server cancelled product, you can call action "restore purchases" before check condition "has product"

    If consider purchaseState cancel, the plugin will be more complicated and it won't be so desiriable.

    TwinTails

    Good!

  • For example is tested Phonegap File plugin, but it not work on preview.

    Is it working only in test mode in intel XDK and export or it should work in preview ?

    I'm a little bit confuse ^^

  • For example is tested Phonegap File plugin, but it not work on preview.

    Is it working only in test mode in intel XDK and export or it should work in preview ?

    I'm a little bit confuse ^^

    Phonegap File plugin (like all other Phonegap plugins) runs normally in the device or simulator not preview.

    So build and run it on the device (recommended) or simulator.

    Thanks

  • thanks for your quick reply cranberrygame

    I am running into an issue where "has product" is triggered as true even after I have cancelled the test order in my developer wallet merchant center. Do you know how the google servers work, if it takes a while for cancellations to go through or something? Or is this how it is intended to function?

    edit: See "purchaseState" on this page: https://developers.google.com/android-p ... s/products - is it possible to get the purchase state to discern purchased orders from cancelled orders?

    Russpuppy, even if you cancel an order in the Wallet, the order is still through for the user, you just don't get paid for it. That is how it works, you can't take it back from their device. <img src="{SMILIES_PATH}/icon_e_smile.gif" alt=":)" title="Smile">

    I suggest you keep it simple if you want to restore purchase.

    If its not consumed, you can just check Has Product (which check on Google server if its there, if so, returns true) after store listing, then do whatever like set a global variable or something.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Thanks, that's the route I've decided to go. Simple is best

  • > For example is tested Phonegap File plugin, but it not work on preview.

    > Is it working only in test mode in intel XDK and export or it should work in preview ?

    > I'm a little bit confuse ^^

    >

    Phonegap File plugin (like all other Phonegap plugins) runs normally in the device or simulator not preview.

    So build and run it on the device (recommended) or simulator.

    Thanks

    So it take a little more time to developp ^^'

    Anyway, thanks for your answer and ALL your work

  • cranberrygame

    any news on google play leaderboards and achievements?

  • DARTH Crusher

    Working on 50% progress

    Wait with patience

    Thanks!

  • cranberrygame

    Cheers your a star

  • Intel XDK should hire Cranberrygame.

    He's pretty damn good.

  • DARTH

    Thank you very much for cheering me!

  • Is there anyway to display banner ads by LeadBolt using sdk rather than going the html route and using iframe?

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