iBeacon Region Monitoring does not work after reboot on iPhone 5s
| Originator: | kegan | ||
| Number: | rdar://21374356 | Date Originated: | 2015-06-14 |
| Status: | Open | Resolved: | |
| Product: | iOS 8.3 | Product Version: | 12F70 |
| Classification: | Other | Reproducible: | Always |
Summary: I created an app that monitor an iBeacon region. It works perfectly until after the iPhone 5c is rebooted. Then it does not work anymore. If I unregister the iBeacon region and then re-register it, then it works normally again. Steps to Reproduce: The following requires an iPhone 5s and an iPad: 1. Write a custom app that monitor a CLBeaconRegion with specific proximity UUID from iPad AirLocate app. - custom app requires permissions for location access (always), background access, and local notification. - custom app monitor the specified CLBeaconRegion using CLLocationManager startMonitoringForRegion. - custom app will present a local notification on CLLOcationManager didEnterRegion and didExitRegion. 2. Install custom app on iPhone 5s. 3. Run custom app, and start monitored the beacon region. 4. Terminate the custom app by pressing the home button twice, and swiping up on the custom app. 5. Lock the iPhone 5s by pressing the power button. 6. Install AirLocate sample app on iPad. 6. Start AirLocate on iPad to become an iBeacon using the spefiic UUID on the custom iPhone app. 7. Custom app on iPhone 5s presents a local notification on the didEnterRegion. - this happen almost immediately after the iBeacon is activated on iPad. 8. Stop AirLocate on iPad as an iBeacon. 9. Custom app on iPhone 5s presents a local notification on the didExitRegion. - this happen about 35s after the iBeacon is deactivated on iPad. 10. Power off iPhone 5s. - hold the power button until the power off slider appear. - slide the slider to power off the phone. 11. Power on iPhone 5s. 12. Unlock iPhone 5s using (require passcode if set) 13. Lock the iPhone 5s by pressing the power button once. 14. Start AirLocate on iPad to become an iBeacon using the spefiic UUID on the custom iPhone app. Expected Results: Custom app on iPhone 5s should present a local notification on the didEnterRegion. Actual Results: No notification is presented. Version: iOS 8.3 (12F70) Notes: I have also tested this on iPhone 5c (16GB), iOS 8.3 (12F70). The issue does NOT present itself on iPhone 5c. Configuration: iPhone 5s, 32GB
Comments
Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!