Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

iOS sandbox/test account keeps asking to sign in after app exit

We are trying to implement simple In-App Purchases with StoreKit (not sure if it has anything to do with it) and everything went smooth so far, however there is one specific issue we are facing: When we exit the app, iOS permanently asks us to sign in:


enter image description here


This only happens when signed in with the sandbox or TestFlight accounts, but it is incredibly annoying. Is there any reason behind this or should we not worry about it ? I have read that many face a similar issue and that it would resolve once the app is in production, but it seems like a hacky/unpredictable way of dealing with it.

I'd be ready to provide more information if you require. At this point I just don't have a clue as to why this would happen (I have linked it with many things, but none of them really turned out correct... e.g. Receipt verification request, unfinished transaction in Payment Queue, etc.).

like image 705
the_critic Avatar asked Jan 22 '16 00:01

the_critic


People also ask

How do I enable sandbox on my iPhone?

Open App Store > Preferences and click the Sign In button to sign in using a Sandbox Apple ID.

How do I remove sandbox ID from iPhone?

Try to go Settings -> iTunes & App Store scroll down to bottom and find SANDBOX ACCOUNT and clear data here.

Does sandbox work on iPhone?

The Sandbox is a unique powder game that provides you with your very own “physics sandbox” and gives you god-like powers, right on your iPhone, iPod Touch, or iPad!


1 Answers

Normal behavior: it is the consequence to your device being logged out.
The short answer is: log-in again.

sandbox accounts

These accounts have a somewhat special behavior and will replace your Apple ID, possibly causing synchronization issues. For starters, you cannot login in from Settings > iTunes & App Stores and complete that login without entering a credit card number, which one generally declines for that very reason, while you can successfully log-in to a sandbox account from the In App Purchase section of an app.

Your personal account

Once you log-in with sandbox credentials, you effectively will be logged out from your personal one. A large combination of actions require your device to be logged in from a real account (as opposed to a sandbox one).

This includes, but is not limited to:

  1. App Store
  2. iTunes Store
  3. App updates
  4. OS updates

All these will trigger the Sign In to iTunes Store alert.

like image 116
SwiftArchitect Avatar answered Oct 06 '22 23:10

SwiftArchitect