'How to make a web app that has been wrapped as an iPhone app refresh in the background
I have recently built a web app that uses the user's location to track trips the user has made.
I have encountered the issue of the location tracking not working while the iPhone is asleep or the app is in the background. Is there a way to make the app page auto-refresh in the background every minute or so?
I have come across this library called react-native-background-fetch (https://github.com/transistorsoft/react-native-background-fetch). Would this do the trick?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|