react native - DeviceEventEmitter stops emitting events to application when screen locked -
i'm capturing location information native module , attempting send via deviceeventemitter application:
[self.bridge.eventdispatcher senddeviceeventwithname:@"locationupdated" body:locationevent];
this works great when screen on. however, when screen locked, react native stops pushing these events application. push them, after screen unlocked. suboptimal - there way have react native keep pushing them when screen locked such app can continually process them?
i wonder if related "[timer] react events not fired if device locked , screen turned off"? depend on how deviceeventemitter implemented internally seem starting point , jaygarcia gives few more hints in comment thread he's seeing same problem are. news last comment on issue indicates getting fixed pretty soon.
Comments
Post a Comment