- Home /
Run game on Background on Android and/or iOS
I'm making a game that get the GPS position every 5 minutes and saves it in MySQL database.
And I want to do this on background too, but the "Run in background" option exists only for PC and Web Player.
How can I do this?
I know about battery life, but it really doesn't matter.
Thank you. And sorry for my english. ;)
Answer by Kiloblargh · Feb 11, 2014 at 06:19 PM
Here is a link about how to do it in iOS. I used Google, you could have too...
It looks like it's not going to be something you can do 100% in Unity, but will have to hack around in the generated xCode project to achieve.
I don't know as much about Android post-processing and don't care enough to further GTFY, ; but suggest you look for a plugin that handles "services".
Bit of a necropost I know, but I just always find it funny when the top result for a question on google is someone saying to google it.
I did, that's why I'm here. lol