Rable's Recent Forum Activity

  • Hi everyone,

    I would like to anchor the bottom of a sprite to the top of the window, but in "bottom edge" (anchor behavior) there is only "Window bottom" and "none" which are selectionnable. This is weird, as in the "top edge" there is "window top", "window bottom" and "none"

    Is there a way to anchor the bottom of a sprite to the top of the window in another way?

    This is for vertical gauge which origin should be at the bottom.

  • Hi everyone,

    I still had a problem with IAP on Android. One of my beta testers purchased one item from the shop, but didn't receive it. It is a Google-managed product, so he can purchase it only once. If he tries to re-purchase it, it fails.

    To access the shop, the game performs a store listing request and only lauches the shop if it is successful.

    Then as soon as the shop is accessed, the code checks all the purchased items (PhonegapIAP : has product "xxxx") and set values of the global variables accordingly.

    However, it seems like even when accessing the shop, the global variable related to the purchase he made is not set correctly, so I guess Google considers he didn't purchase the product.

    Please note that at least 9 times out of 10, the purchases are performing as they should. It seem to be an exceptionnal bug, but still very ennoying.

    After this, the same user was unable to purchase an other NON-managed by Google product (consumable), which he successfully purchased earlier on.

    I double checked my code and the IAPs IDs and types and everything seems correct.

    Any idea of what the problem could be?

  • Completely agree on platform deployment being the hardest part of game development in Construct 2.

  • ondraayyy

    It should work. Is everything ok with your events? Do you authenticate on the start of layout?

    Maybe re-read the manual refrence entry to see if everything is correct on this side:

    https://www.scirra.com/manual/186/game-center

    Did you try to create events that trigger on auth fails or on auth success, to see whether authentification fails or gets no response at all?

  • From the moment I posted the message, I still don't have Apple's approval yet (it's pending), but I'm confident GC wil work on the build I submitted. At the very least the Leaderboards and achievements are working fine in Sandbox environment (I even can see the scores of the reviewers) so I guess it should be okay.

    Did you try your app in sandbox environment? Does it gives you a message "Welcome back, (...)" when you ask for authetification?

  • Still another question : I've just build my game with only one change : I selected the provisioning profile "production" instead of "adhoc" inside XDK build settings tab.

    However, I didn't change the provisioning file I used. And the build succeeded!

    So in other words, I've been able to build both adhoc and production provisionning profiles with the same file, which is an adhoc file (see image below)

    Could this build be considered a production build, as Intel XDK succeeded to make it, or is it mandatory to use a production provisioning file?

  • On this thread someone said that an adhoc build would be rejected :

    https://devforums.apple.com/message/1105268#1105268

    But I'm quite sure my previous exported game was approved with "adhoc" checked in Intel XDK. Maybe there is something going on in Intel XDK which allow adhoc builds to pass the approval phase? Or my game was reviewed by a n00b reviewer, and he didn't notice it... ^^'

  • Actually I withdrawed the game from the store immediately because IAP weren't working, so I'm not sure about this.

    I think I'll ask Apple about this.

  • Glad it it worked for you too.

    I don't have any errors at the moment. Are you sure you are correctly logged with the sandbox account?

  • Thanks, I'll try that.

    But I can say I already had my app validated by Apple and live on the store with an Adhoc profile. So it is probably at least doable, but maybe there are problems with that. I'd look at what Application Loader tells me.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hi everyone,

    Quick question : can I publish an app to the Apple App Store using an Adhoc provisionning profile?

    What are the risks of doing this? Would the IAP still work?

  • matrixreal could you please help me here .....

    as I am facing the same situation like rable did ?

    if you can share some light on this topic publicly then it would really help me & others out !!!

    I can't believe it! matrixreal solved my problem!

    The "add product IDs" action need to be written like this : "product1,product2,product3,..." NOT like this : "product1, product2, product3, ..."

    In other words, DON'T add spaces between the comma and the product while using PhonegapIAP for an iOS export, or the store listing won't work.

    Can't believe I lost 2 months on this... Thanks a lot to matrixreal and everyone who helped!

Rable's avatar

Rable

Member since 6 Aug, 2014

None one is following Rable yet!

Connect with Rable

Trophy Case

  • 10-Year Club
  • Forum Contributor Made 100 posts in the forums
  • Forum Patron Made 500 posts in the forums
  • Regular Visitor Visited Construct.net 7 days in a row
  • RTFM Read the fabulous manual
  • Email Verified

Progress

15/44
How to earn trophies