Receive location event while in background on Android

Hi,

I have released an app on IOS that is using the location service, that means I can receive GPS location events while the application is in the background.

Now I would like to release this app on Android but as far as I have found out, there seems to be no way to receive location events when the app is in the background. Can this be right? Do I have to run my own service just to get location updates? If yes can I do this with Corona?

 

Thanks for the help

 

Olaf

You cannot do this in Corona on Android.  We disable the GPS when you leave/suspend the app or when powering off the screen.

In fact, I don’t think you can do this on iOS either.  If you have somehow found a way to do this with Corona on iOS, then you’re in untested territory.

You cannot do this in Corona on Android.  We disable the GPS when you leave/suspend the app or when powering off the screen.

In fact, I don’t think you can do this on iOS either.  If you have somehow found a way to do this with Corona on iOS, then you’re in untested territory.