• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Isn't Geofencing DESIGNED to work in background?

marhab

Lurker
Dec 31, 2019
3
1
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!!
 

BEST TECH IN 2023

We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.

Smartphones