I am trying to debug some data protection issues I have been having and I am trying to test all sorts of recovery scenarios but one case that I cannot figure out how to run is that of the app launching in the background while the device is locked.
Whether it be a standard launching of the application or launching from Background Fetch mode, XCode requires the device to be unlocked. Is there anyway to test this scenario? I have done some research and found that I could setup a BTLE or iBeacon event to launch the app on some event, which would achieve the launching of the app while the device is locked, but that is a lot of work just to get that up and running.
So I ask you, developer community, anyone figure out an easier way to launch an app while the phone is locked? I dont care about attaching a debugger as much as I care about actually getting the app to launch without having to wait for random background fetches to execute.
Thanks!