0 Replies
      Latest reply on Apr 22, 2019 3:06 AM by realforce
      realforce Level 1 Level 1 (0 points)

        Hi, I have a question about background beacon ranging. With the following steps:


        * Ask user for "LocationAlways" permission

        * UIBackgroundMode "location" enabled in Info.plist

        * locationManager.allowsBackgroundLocationUpdates = true


        and starting ranging beacons with locationManager.startUpdatingLocation() and locationManager.startRangingBeacons(), didRangeBeacon callback keeps being called even if I leave the app in the background. I left the app one night long, but it was not termianted even once.


        Is it guaranteed that the app is not terminated in such a condition, other than resource(lack of memory, etc.) reasons?