ibeacon - iPhone background bacon ranging stopping as of screen PW lock issue -
we have ios bacon ranging app works fine in background on ipad air , mini when screen pw locks.
we have blocker bug iphones 5s/6 of password screen lock, beacon ranging stops. (we have set nsdefaults plist attributes nsfileprotectionnone, not issue.)
the beginbackgroundtaskwithexpirationhandler keep alive forever hack not work more couple minutes.
questions: how can app on iphone ranging beacons in background after screen password locks (which think makes app state inactive)?
when lock screen displayed, ios app not in foreground, , limits on how long allowed run in background kick in.
using beginbackgroundtaskwithexpirationhandler
"hack", an app can range beacons in background 180 seconds after lock screen comes up, or beacon entry/exit event occurs. what seeing on iphone expected behavior. limit imposed os , not bug.
you can read more how works, along other alternatives here:
http://developer.radiusnetworks.com/2014/11/13/extending-background-ranging-on-ios.html
Comments
Post a Comment