Get location periodically even if app is killed

I can’t seem to find any supporting documentation in the Expo docs or React Native docs that say whether or not this is possible, so I figured I’d ask here.

I’m creating an app that needs to periodically fetch the device’s location, whether the app is in the foreground, background, but most important even if it’s killed. Even a few times an hour is fine.

Do both Android and iOS even support this behaviour? And if so, can someone point me in the right direction or provide the class/API that I would need to make use of in Expo/React Native (ideally in Expo) that would allow me to fetch the device’s location periodically even if the app is killed?


Anyone know?

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.