'Run a function periodically in background mode in react native
I want to make an api call to backend when the app is in background (closed) mode in react native. Basically, the function should check for internet connection and then get some data from async storage , then make an api call to sync the data with the db. I'm not familiar with native code.
Can anyone help me with how this can be achieved ? Any suggestions is appreciated.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
