I have triggered a Local Notification whenever the application comes into the region of iBeacon. I used CLLocationManager
to continuously Monitor the Location changes.
The app is working fine both in Foreground and Background Modes, which triggers the Local Notification whenever the device enters the iBeacon Region.
I want to trigger a Local Notification, when the device enters the iBeacon Region, even If the App is not launched once (or) If the App is Quitted/Terminated/Killed
No special programming is needed to make this work. If you can make your app do this in the background, it should also work after the app is killed or on reboot (if enough time is allowed to pass for CoreLocation to initialize.)
If you are not seeing this work, you may be experiencing a test setup issue:
Make sure you have exited the beacon region before killing the app or rebooting.
Make sure you wait long enough. In some cases detections can take up to 15 minutes.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With