This is my first time working with in app purchases. While testing, I see that my once very responsive application has a major delay from the point in time store.init() is called to the time a result is returned to the application. I’m struggling with this because the long duration of a non responsive UI is unacceptable. I’m connected to reasonably fast WiFi and I can’t imagine the cellular connection time. I’d love to create another thread and put this entire process into the “background” thread but Corona doesn’t allow for more than one thread.
One way that I can solve this is to provide feedback to the user while this delay occurs, such as presenting the user with a processing image and removing it when a response is returned or a timeout value is reached. This approach doesn’t deal with the problem, it just helps the user know what’s going on.
Apple mandates that the init method is called upon application start up, to finish a possible previous transaction. However, my app is a subscription based app and really only needs to handle this scenario a few times per year.
Any suggestions or ideas?
thanks [import]uid: 38348 topic_id: 35437 reply_id: 335437[/import]