-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Geofence not working while the app is closed on different Android OS' #15
Comments
Update: Think everything works besides the CrossGeofenceListener which cannot be executing code while the app is closed. Tried making it a service in different ways, but still haven't got anywhere with it. Will be trying some more and update this if I get somewhere. |
I have the same problem with you, Is it work when minimzize? |
@nguyenthanhliemfc Yes, it does. |
@coosmiyn @nguyenthanhliemfc Hey guys I was having the same issue and doublechecking I was missing some of this permission on manifest: |
I only see Write Gserveice not have Read Gservice??? |
Could it be related to GeofencePlugin is using an IntentService (which on Android O API level 28 and later) will apply background execution limits. Seems that the GeofencePlugin should be using a JobIntentService instead. |
I am using this NuGet on Android 7, 8 and 9 and if I close the app the geofence doesn't work anymore. It works while the app is open or while in foreground but if I close it, nothing works anymore. I implemented everything needed (at least that's what I think), especially the GeofenceService and AppStarter in my Android project (I am using Forms) but still it doesn't work.
The text was updated successfully, but these errors were encountered: