-
Notifications
You must be signed in to change notification settings - Fork 231
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
GeofencesChangeEvent on property: returned geofences with null extras #110
Comments
Thanks, I’ll look into it. What are you using |
Install latest from Git branch dependencies:
flutter_background_geolocation:
git:
url: https://github.com/transistorsoft/flutter_background_geolocation.git
ref: GeofencesChangeEvent-extras |
Feedback please. |
using onGeofencesChange to keep track on geofences being currently monitored. From a bunch of geogences in the system, I wanted to know which ones are currently being monitored and which one are not. |
@joaolh That's fine. That's what it's designed for. Some get confused, thinking this is the event to listen to for actual geofence |
1.2.1 appears to be the latest version. Does the branch GeofencesChangeEvent-extras contain anything that might be related and/or fix to the issue? I will give it a try as soon as possible. |
Like I said above, install the branch |
I have the same issue in 1.2.2. Even after updating to latest release today. GeofencesChangeEvent is not giving the change event value it's null sometimes this happens in random fashion. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. You may also mark this issue as a "discussion" and I will leave this open. |
Closing this issue after a prolonged period of inactivity. Fell free to reopen this issue, if this still affecting you. |
Your Environment
flutter doctor
):PASTE_YOUR_CODE_HERE
Expected Behavior
returned geofence list from "on" property of GeofencesChangeEvent must have extras populated with extra information as the extras had being populated when geofences were created.
Actual Behavior
geofence has extras are null object instead of the original populated values
Steps to Reproduce
1.create geofence with extras
2.when GeofencesChangeEvent occurs observe that the extras is null object
4.note: the querying geofences using BackgroundGeolocation.geofences is however work fine, e.g. the extras are there.
Context
use the extras property of geofence to store additional data
Debug logs
Logs
The text was updated successfully, but these errors were encountered: