Application.runInBackground for android?

I need to create an application that sends the location when it is minimized on a android device.
What I need is a “Application.runInBackground” on android devices as this only works in Web and PC.

If anyone can help me I would greatly appreciate.
Similarly if I find the answer before I publish.

Thanks for reading this post.

export from unity to android project.
find the activity java file in the project.
comment out the unityplayer pause calling in onPause();

compile. boom. it works.