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

Get help using Construct 2

Post » Sat Apr 26, 2014 7:24 pm

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!
B
6
S
1
Posts: 18
Reputation: 450

Post » Sun Apr 27, 2014 1:09 pm

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!
B
6
S
1
Posts: 18
Reputation: 450

Post » Tue May 20, 2014 10:35 pm

Thanks Sylva1. You answered a question that I would post to the forum. :)
GABAMOBI
B
15
S
7
G
3
Posts: 14
Reputation: 2,436

Post » Wed May 21, 2014 6:38 pm

@GoGugutiGames: you're welcome :-)
B
6
S
1
Posts: 18
Reputation: 450


Return to How do I....?

Who is online

Users browsing this forum: namaewayukidesu and 20 guests