Page 1 of 1

How do I prevent asking iTunes password at startup (iOS) ?

PostPosted: Sat Apr 26, 2014 7:24 pm
by sylva1n
Hi all,

My app has just been validated by Apple, but something is very annoying: my app is asking iTunes password every time it starts...

I use IAP plugin. Add product ID and Request Store Listing actions are done at start of a layout that is not the first one. My app is packaged with Ejecta 1.4.

Any idea?

Thanks!

Re: How do I prevent asking iTunes password at startup (iOS)

PostPosted: Sun Apr 27, 2014 1:09 pm
by sylva1n
Ok, I found the issue: in "function EjectaStore()", "this.restorePurchases()" is called. This is why iTunes password is asked at startup.
I commented this line of code, my app and purchase still work.
Can someone say if this line was really necessary? (in my case, all purchases are consumable and thus not restorable)
Thanks!

Re: How do I prevent asking iTunes password at startup (iOS)

PostPosted: Tue May 20, 2014 10:35 pm
by GoGugutiGames
Thanks Sylva1. You answered a question that I would post to the forum. :)

Re: How do I prevent asking iTunes password at startup (iOS)

PostPosted: Wed May 21, 2014 6:38 pm
by sylva1n
@GoGugutiGames: you're welcome :-)