ios - iBeacon Region monitoring: Not resumed when rebooting the phone EXCEPT if I set location background mode? -


all day tested monitoring of beacons app does. in general works ok:

  • notifications in foreground work
  • notifications in background work

but

after reboot doesn't work until launch app uses bluetoothle

after works fine app well!


but if set uibackgroundmode location in plist though, app gets region notifications fine after reboot.

so... it? or whats deal here? :d under ios 7.1.1 btw

the code minimal: https://github.com/radiusnetworks/ibeacon-background-demo/blob/master/backgrounddemo/bdappdelegate.m

i did 2 things:

first, reduced time took app launch >> doing stuff when app moves foreground. step 1 real app working on alone half solution

i found out application in question tried access keychain in background while device locked moved later point , bing worked!


Comments

Popular posts from this blog

how to proxy from https to http with lighttpd -

android - Automated my builds -

python - Flask migration error -