"Login to iTunes" popup

Hi,


I'm building an application with in-app purchases using Cordoova platform. When I get the status of active subscriptions there's a dialog saying "Login to iTunes" with Username & Password. In some other applications I've never seen this dialog. Is there any way to remove this dialog or eventually display a dialog that will allow to use touch instead of credentials?

Replies

>When I get the status of active subscriptions


Whenever an app tries to get information from the App Store (using restoreCompletedTransactions or refersh receipt) the App Store requires that the user log into their account. A user can chose to let their 'log-in' last for about 15 minutes or they can chose to require a log-in each time. Thgis is why you see the username/password alert.


One alternative is possible for autorenewable subscription IAPs. You can retain an old receipt and send that old receipt to the Apple servers. The Apple servers will respond with 'latest_receipt_info'.