I have been struggling a lot to get geofencing working on Android.
In my mind, geofencing was created to be able to send notifications when an app runs in the background and the user crosses a fence. Doesn't it work like this on Android? It does on iOS...
But whatever I do (and I followed Google samples and advice) I can't get it to work in the background. It always stops at some point whatever I do...
And my onReceive is only called when the app is running.
HELP! Any advice as to what to do?
Thank you!!
In my mind, geofencing was created to be able to send notifications when an app runs in the background and the user crosses a fence. Doesn't it work like this on Android? It does on iOS...
But whatever I do (and I followed Google samples and advice) I can't get it to work in the background. It always stops at some point whatever I do...
And my onReceive is only called when the app is running.
HELP! Any advice as to what to do?
Thank you!!