I want to wake my application every one hour and do some simple task using javascript in the background. Is it possible in React Native?
As far as I know, Native modules can signal events to javascript only using DeviceEventEmitter or ActivityEventEmitter or LifecycleEventEmitter in React Native. Using these emitters, Javascript can just listen to an event from Native module. But, I couldn't find a way to trigger a javascript function from the Native module when the application is closed.
Quiz Chu
Software Writer
I think web worker is not working in RN, but you can write a native bridge to achieve the task.