react-native-beacons-manager icon indicating copy to clipboard operation
react-native-beacons-manager copied to clipboard

Monitoring after device reboot?

Open eurobob opened this issue 6 years ago • 2 comments

Version

Any

Platform

iOS

OS version

iOS 10

Steps to reproduce

  1. Open app and run beacon logic
  2. Close app or leave in background
  3. Reboot device
  4. Beacon monitoring / ranging doesn't wake app

Expected behavior

Beacons should monitor/range

Actual behavior

Beacons don't monitor/range. From what i've seen online this should work fine, although maybe there's something in the RN bridging that is losing this functionality for us?

eurobob avatar Oct 19 '17 12:10 eurobob

Just had some advice regarding this that we maybe need to hook into the appDelegate with a method like applicationwillbecomeactive

Does this sound plausible @MacKentoch ?

eurobob avatar Oct 24 '17 10:10 eurobob

new function allowsBackgroundLocationUpdates should help: #57

MacKentoch avatar Oct 27 '17 04:10 MacKentoch