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

Popular posts from this blog

javascript - oscilloscope of speaker input stops rendering after a few seconds -

javascript - gulp-nodemon - nodejs restart after file change - Error: listen EADDRINUSE events.js:85 -

Fatal Python error: Py_Initialize: unable to load the file system codec. ImportError: No module named 'encodings' -