hazneliel's Recent Forum Activity

  • Just figured out a better solution, you can create a recursive Function this way:

    RecursiveLoop.capx

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • The timer approach looks horrible to me, keep storing the dt on the timer variable just to run a few loops. There must be another solution.

  • I was able to export using the intel XDK and Cranberry IAP pluggin, IAPs are working fine, my app just got rejected because I need to provide a way to restore purchases. Consider that when submiting your game.

  • Yeah even in testflight they run in the sandbox.

  • Really? ohh awesome Im going to try that, I didnt removed it from the project, I just disabled the events. Great finding!

    Yes, as long as they are not in the store or adhoc they run in the sandbox.

    By the way, I need some testflight testers for my app, if you have and iPhone 6, even 5, would you be interested?

  • You cant disable sandbox mode, everytime you launche the app from xcode, with the developer profile, beta, or generate an ipa. The app will run on sanbox mode. The only way to have the app running outside sandbox is publishing it.

    The sdk tool generates ipas, those will run in sanbox mode unless you upload them to itunes connect and they get published.

  • Thats exactly the problem I described before, when I open the app and it loads my main layout, one which doesnt have any iap, it still prompts me to login to iTunes and then there is a prompt with Buy and Cancel options.

    I still dont know if this is related to the sandbox only or if this will be when its published.

    I will go and try to publish just for testing. I will post any updates, please you too if you find something.

  • Yes, you have to use the distribution profile, thats a drag because I cannot deploy beta distribution for test flight with the distribution profile.

  • I already store the purchase, the problem is tha when I open my app I get this prompt from somewhere, there is no event triggerent that prompt from the main screen on my app. Its like it gets triggered from the native end, like if it couldnt correctly complete the purchase so its trying to buy it again as soon as I open the app.

  • Does anybody is having issues testing the Cranberry IAP on the sandbox? also testing Game center? I have the following issues:

    • When I make a successful purchase, then quit, kill the app and reopen it. It prompts me again to buy something.
    • When I upload a score to the leaderboard, I get the "score submit success" event triggered, but when I open the Game Center I dont see any score there.
  • The webstorage is permanent as long as they dont delete the app, you dont need to have network connection to access the webstorage. If they delete the app you can retrieve your purchases with the restore function, which I will investigate this weekend.

  • For your 1st question

    First on your store layout, in the

      1-On start of layout, use the Add product ID action to add the product IDs you will be using, e.g. "product1,product2,product3". 2-After that (still in the 'Start of layout' event), use the Request store listing action. This starts downloading the names and prices of the given products. Some platforms require this information to be available for the IAP features to work. 3-When On store listing success triggers, the product names and prices are available, and purchases can start being made or checked with the Has product condition.

    For your 2nd question

    So after this point you can do a purchase, on purchase successful you can store a variable on web storage or wherever you want but make that variable is persistent.

    Then have your extra content to check every time for that variable, if its set then show your extra content, if its not set then you should not show it.

    I still havent experimented with restoring, I will tell you when I get it

hazneliel's avatar

hazneliel

Member since 1 Feb, 2013

Twitter
hazneliel has 1 followers

Trophy Case

  • 11-Year Club
  • Coach One of your tutorials has over 1,000 readers
  • Email Verified

Progress

13/44
How to earn trophies