Restore issue IOS

I am using Corona Sdk version 2014.2393(2014.8.5)

IOS version 8

Environment: sandbox testing with test id

I am facing Iap related issues for store

1.Even after Logged in, every time it is asking for login password pop, in between the application, and also whenever i minimize and maximize the app.

  1. Restore issue: when i select restore, the native popup displays for password, even after selecting cancelling the restore is successfull.

Please help me out in this issue

Do you by any chance call store.restore() in your resume/suspend code?

Rob

No Rob,

We are calling restore only once.

But why it is asking for password pop up.

If i cancel from this pop up the restore works.

Are you calling restore when the app starts up or do you have it on a button?  Restore is going to ask to login.  Apple specifically wants a restore button that the user presses and at that point, it’s expected that you will be prompted.  Its the way Apple’s restores work.

As for why you can cancel it and it still calls restore?  I have no idea on that one.

Rob

Hi Rob,

I am using corona sdk 2014.2511.

I got the same issue :

my app is in sandbox mode.

If i purchase an item using test id it asks for id and password if i give id and password purchase happens successfully.

after that if i restore the item using restore button sometimes it doesn’t asks for password and some times asks for password.

if it asks for password and if i cancel that than also restore works.

I got stuck with this issue

please help  me out in this issue.

I’m not sure what’s going on with the cancel thing, but Apple does remember your login and password for a few minutes.  Perhaps the times you are not getting a login you are clicking on the restore before Apple times out the login and the other times you are not.

Rob

Do you by any chance call store.restore() in your resume/suspend code?

Rob

No Rob,

We are calling restore only once.

But why it is asking for password pop up.

If i cancel from this pop up the restore works.

Are you calling restore when the app starts up or do you have it on a button?  Restore is going to ask to login.  Apple specifically wants a restore button that the user presses and at that point, it’s expected that you will be prompted.  Its the way Apple’s restores work.

As for why you can cancel it and it still calls restore?  I have no idea on that one.

Rob

Hi Rob,

I am using corona sdk 2014.2511.

I got the same issue :

my app is in sandbox mode.

If i purchase an item using test id it asks for id and password if i give id and password purchase happens successfully.

after that if i restore the item using restore button sometimes it doesn’t asks for password and some times asks for password.

if it asks for password and if i cancel that than also restore works.

I got stuck with this issue

please help  me out in this issue.

I’m not sure what’s going on with the cancel thing, but Apple does remember your login and password for a few minutes.  Perhaps the times you are not getting a login you are clicking on the restore before Apple times out the login and the other times you are not.

Rob