mrmans0n / smart-location-lib

Android library project that lets you manage the location updates to be as painless as possible
1.65k stars 353 forks source link

Cannot get it to work in Android Oreo in background #232

Open NikEyX opened 6 years ago

NikEyX commented 6 years ago

You write that I should just hook it up with a BroadcastReceiver to the intent action stored in the GeofencingGooglePlayServicesProvider.BROADCAST_INTENT_ACTION constant. Could you elaborate on that, or better yet, provide an example?

pawarprasad37 commented 5 years ago

It won't work when app goes in background because of Oreos restrictions. I think it will work if you trigger a foreground service and start the location updates from this library.