Quick Links: Download Gideros Studio | Gideros Documentation | Gideros community chat | DONATE
What's up with StoreKit? — Gideros Forum

What's up with StoreKit?

edited October 2015 in General questions
Has anyone managed to get StoreKit working recently? I'm calling requestProducts() but getting no response whatsoever, not even an error. The function that I specified in addEventListener() for Event.REQUEST_PRODUCTS_COMPLETE never gets called.

Comments

  • Has anyone managed to get StoreKit working recently? I'm calling requestProducts() but getting no response whatsoever, not even an error. The function that I specified in addEventListener() for Event.REQUEST_PRODUCTS_COMPLETE never gets called.
    You have to define products in iTunnesConnect. You have to define products id (without appid prefix now, Apple has changed that). Anyway I am not sure if you can see products running simulator.
  • Yep; I've done all of that. I'm adding a few in-app purchases to an app I already have out there. I've created a new version to test things out but not having any luck so far. It's one of those things where I'm just not sure if I'm missing something or if it's just not working at all. I'm presently stepping through storekit.mm in the binary that I'm looking at and noticed that it put the product IDs that I entered in to invalidProductIdentifiers. I've double-checked the IDs and they're exactly the same.

    The only thing I haven't done is submit screen shots for the in-app purchases "for review", since Apple is now apparently absolutely OBSESSED with reviewing every single thing you do, even before you submit the app. Guess I'll have to try that next and play the waiting game with Apple for the umpteenth time.
  • Well, screenshots uploaded, purchases added to the new version of my app in iTunes and still nothing. I'm stepping through storekit.mm and noticing that the items that I'm requesting are considered invalid (though the IDs match what I have in iTunes Connect exactly), but from I read in the Gideros docs, it SHOULD at least be triggering the event and filling the event.invalidProductIdentifiers table.
  • Figured it out. Dumb move on my part regarding the event setup. One of those days.
  • jdbcjdbc Member
    edited October 2015
    I guess you need a real mobile device to use in-app purchase.

    Anyway Apple only show products if the app and products is already submitted to iTunnes Connect (previous step to submit to review). I have always problems with StoreKit and iTunnes.
  • By the way, the iOS Gideros Player *does* work for store testing, as well as Game Center. You just need to recompile the Player app with a bundle ID that matches your app. I also set the version and build numbers to match.
Sign In or Register to comment.