Open vladimirpetrovski opened 7 years ago
+1 Geofence background service not working
If you want to capture the Geofence transitions without the app running, you can hook up a BroadcastReceiver to the intent action stored in the GeofencingGooglePlayServicesProvider.BROADCAST_INTENT_ACTION constant. The intent will come with the geofence, the location and the type of transition within the bundle.
Same issue in Android 8.0
Fatal Exception: java.lang.IllegalStateException: Not allowed to start service Intent { cmp=com.sterlingaccuris.android/io.nlopez.smartlocation.geocoding.providers.AndroidGeocodingProvider$AndroidGeocodingService (has extras) }: app is in background uid UidRecord{a04b76f u0a392 CAC bg:+5m5s890ms idle change:idle procs:1 seq(177,177,177)}
I faced same issue, any update for this ?
Still facing the same issue and PR is still open. Can someone help me with alternative library to this one.
@Siddharthyadav123 Hi mate, you can try this one - https://github.com/BirjuVachhani/locus-android It supports background location updates.
thanks @BurgerZ
Check https://developer.android.com/about/versions/oreo/android-8.0-changes.html#back-all