Can unity run in the background on mobile for tracking purposes?

Hi there

I need to send/store GPS location of a user for instance, every hour (This will be done on mobile and with the user’s consent of course).

The app will have an interface that can be opened by the user to change settings, view a log of locations etc etc but the tracking will need to happen whether the app is “open” or not.

Is it possible to do this with unity and if so, how?

I’ve seen a few applications on android ask the user if they may “run in the background” on the install screen.

I don’t have a device with iOS but I’m guessing it has something similar, so having an app report a location periodically should be quite possible. My question is:

is it possible with unity?

Here is an instruction: