[Solved-ish] IAP Restore and the listener callback

Still in the testing phase, but I have IAP working for iTunes, when I have a wifi connection.

So, I wanted to see what happens when I don’t have a wifi connection. So I put my iPad2 into airplane mode and go back into the app.

I try to purchase an item. In the xcode console, I can see that the the callback listener function is called and that the transaction.state is “failed”. Awesome, that is exactly what I was looking for.

I also have a “restore” button on the purchase page. When I tap that, it immediately asks for my iTunes store login/password. I type those in and then nothing. I do not get any response in my callback listener function.

I feel that I should be getting a similar “failed” response from the callback listener for when I do a restore.

Is this the way it is supposed to work? Or would this be considered a bug? Has anyone else encountered this? [import]uid: 94868 topic_id: 23502 reply_id: 323502[/import]

Well it looks like this is an issue on Apple’s side of things.

So since right now the “restore” functionality is only for iTunes, I’m going to use the network status API to determine the internet connection.

http://developer.anscamobile.com/reference/index/network/detect-network-status [import]uid: 94868 topic_id: 23502 reply_id: 95765[/import]