how to create a one time event (android build)

0 favourites
  • 14 posts
From the Asset Store
Background Story generation templates. See the Arcade demo.
  • Ok! I have the details for adding a splash event/pop up/rate my app for android,

    but I only wish this event to run once after set dt = 72hrs and save setting = true / false if user rated app and if not set to run again dt=72, If user clicked rate app save and never request action again the whole time the app is installed.

  • You are assuming that your user has the app open for 72+hrs. If not, then your timer gets reset.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • it would be better to compare against a specific time from the device clock.. of course they could change that on you but it overcomes the issue of needing the app open. if you are sensitive about preventing user manipulation of the clock, use ajax to ping an internet-based time server.

  • Use local storage + timestamp.

  • Thanks for all the replies. The event is a rate my app event Just done wish to keep demanding them to rate my app if they already did and set it to appear only are a set time of being installed on their device.

    I believe all would do the trick. Just have to play around with it. Thanks again. Jeremy C.

  • For now, you can use our time API call:

    http://www.stormforgedproductions.com/d ... ne?getTime

    This returns the current UNIX timestamp for UTC. It is also automatically synced with the nist.time.gov time servers daily.

    Then you just have to parse it back to a date format.

  • How about this <img src="{SMILIES_PATH}/icon_e_smile.gif" alt=":-)" title="Smile">

    https://www.scirra.com/store/construct2 ... d-app-2510

  • How about this <img src="{SMILIES_PATH}/icon_e_smile.gif" alt=":-)" title="Smile">

    https://www.scirra.com/store/construct2 ... d-app-2510

    that might do the trick, but i think i would have to modify it for my needs.

  • How about this <img src="{SMILIES_PATH}/icon_e_smile.gif" alt=":-)" title="Smile">

    https://www.scirra.com/store/construct2 ... d-app-2510

    The plugin needs fixing. Crashes my apps. I give 0 stars out of 5 and will post comments to keep other away from an outdated plugin that does not work.

  • > How about this <img src="{SMILIES_PATH}/icon_e_smile.gif" alt=":-)" title="Smile">

    >

    > https://www.scirra.com/store/construct2 ... d-app-2510

    >

    The plugin needs fixing. Crashes my apps. I give 0 stars out of 5 and will post comments to keep other away from an outdated plugin that does not work.

    Hi Carbincopy

    Sorry for the trouble, but did you not test the app before uploading it to the app store? Did it work when you tested it?

    Please try this app as it is using the plugin, https://play.google.com/store/apps/details?id=com.hedev.that.custom&hl=en. Once the app loads, try to hit the Rate button on the top right. Does it work for you?

    Please send me your capx, and build process. I also have no problems giving you a full refund.

    EDIT: Carbincopy, are you by any chances using the minify code options?

  • >

    > > How about this <img src="{SMILIES_PATH}/icon_e_smile.gif" alt=":-)" title="Smile">

    > >

    > > https://www.scirra.com/store/construct2 ... d-app-2510

    > >

    >

    > The plugin needs fixing. Crashes my apps. I give 0 stars out of 5 and will post comments to keep other away from an outdated plugin that does not work.

    >

    Hi Carbincopy

    Sorry for the trouble, but did you not test the app before uploading it to the app store? Did it work when you tested it?

    Please try this app as it is using the plugin, https://play.google.com/store/apps/details?id=com.hedev.that.custom&hl=en. Once the app loads, try to hit the Rate button on the top right. Does it work for you?

    Please send me your capx, and build process. I also have no problems giving you a full refund.

    EDIT: Carbincopy, are you by any chances using the minify code options?

    I tested it seamed to work, but never got the ratemy app part. then built it with intel xdk. Uploaded the new .apk and now google play is not happy with me and pulling my apps for instability. As they crash on load.

    As for the minify script question yes I compress my apps as they are huge files.

    I will try without compression, but already have suffered major traffic losses and tons of uninstalls.

    I would really like it to work as that was the point to get more ratings to get better placement on google play for high traffic apps like Solitaire, Poker, Flappy Bird clone and other known traffic apps.

  • Carbincopy

    Sorry for the issues. I tried your app on my phone, it did not crash but it did start with a black screen. This is usually due to minifying scripts (you can search the forums, it happens often throughout Intel XDK, and Cocoon for various plugins). I suspect it will work fine once minify is off, and if not you might have other issues (I see you did a few updates when you updated your app to the play store, so isolating it could be hard). I am willing to work with you, simply drop me an email with your CAPX (or PM me your email). I tried to email you, but your email seems to bounce (used the support email from your website)

    As for Google Play, are you aware of the different upload procedures? They have alpha and beta testing. Anytime you do an update, I highly recommend using those, to prevent issues going into production.

    Did you try the demo CAPX that was included with the plugin?

  • Carbincopy

    Sorry for the issues. I tried your app on my phone, it did not crash but it did start with a black screen. This is usually due to minifying scripts (you can search the forums, it happens often throughout Intel XDK, and Cocoon for various plugins). I suspect it will work fine once minify is off, and if not you might have other issues (I see you did a few updates when you updated your app to the play store, so isolating it could be hard). I am willing to work with you, simply drop me an email with your CAPX (or PM me your email). I tried to email you, but your email seems to bounce (used the support email from your website)

    As for Google Play, are you aware of the different upload procedures? They have alpha and beta testing. Anytime you do an update, I highly recommend using those, to prevent issues going into production.

    Did you try the demo CAPX that was included with the plugin?

    I rebuilt the .capx, I removed the minify and recompiled the .apk with all the plugins. The app did not crash, But now it will not open the ratemy app part and now Admob ads are not displaying. I will work on another update tonight. All the updates to my solitaire touch app where from trying to fix the app once I added the ratemy app plugin.

    At least it is working again, Should start picking up speed again as no one left a bad rating at least.

  • Carbincopy

    Please send me your capx so I may debug it. It is possible plugins are clashing. The plugin works by itself, but once you mix in other factors it is really hard to tell you what is wrong. It could be anything. PM Your capx so I may further investigate

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