-
Notifications
You must be signed in to change notification settings - Fork 230
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
Geofencing Event Issues: Missing Logs and Configuration Inquiry #1302
Comments
What specific timestamps in these 3 logs files are your interested in me looking at?
You've not provided any geofence information. I have no idea what radius you're using.
I don't think you understand what this Config option is. This is NOT the geofence radius and the plugin forces a minimum value here of If you don't know what this Config option is, just delete it from your Config. |
Hi
|
|
background-geolocation (2).log (1).gz I have noticed missing logs between the following timestamps:
The application is operating in the EST time zone. Please investigate the cause of these missing logs. Thank you. |
The minimum reliable geofence radius for both iOS and Android is 200 meters. |
A user reported that they were out of their home on 2024-05-24 at 16:44:00 EST. Upon reviewing the logs, I found the following entry in the SDK:
This indicates that the exit event was executed successfully. The user also mentioned that they returned around 18:10:00 EST. However, when I checked the SDK logs for that time, I found that the logs are missing. Please investigate the cause of these missing logs and advise on the next steps. |
I aim to implement a feature that tracks the duration a user is away from or at home by starting a timer when the user exits or enters a geofencing radius. This helps us monitor how long a user is away from home or at home. Currently, the process is as follows:
However, we've encountered an issue where the SDK occasionally fails to log these geofencing events. This inconsistency results in incorrect timer tracking, causing situations where the away timer continues to run even when the user is back home. Please advise on how we can ensure reliable tracking of geofencing events to address this inconsistency. |
Geofences are completely managed by the OS. The only thing the plugin does is register those geofences. After that, it's completely up to the OS to fire geofence events. It does not matter of the app is terminated or device rebooted. Once a geofence is registered with the OS, it is registered forever until you tell the plugin to You should always ensure your geofence radius are |
I am currently testing the logs with a 200-meter radius for geofencing. I will review the results and provide further feedback if I notice any issues or missing entries. Thank you |
Your user is in Manhattan, a dense city full of obstacles. Both iOS and Android use Wifi signals to passively monitor geofences. The plugin is not at all involved in evaluating geofences. That's purely up to the OS. |
This issue is stale because it has been open for 30 days with no activity. |
Your Environment
flutter doctor
): Channel stable, 3.19.5, on macOS 14.5 23F79 darwin-x64, locale en-GBExpected Behavior
The application should consistently receive geofencing enter and exit events from the SDK.
Actual Behavior
Sometimes, the app works correctly and we receive the expected geofencing events. However, at other times, these events are missing. Additionally, there are periods where all logs are absent, and in some logs, the geofencing events do not appear.
Steps to Reproduce
Context
We are trying to ensure consistent geofencing functionality across both iOS and Android platforms, using a paid API key.
Debug logs
Logs
``` Please find the attached files for the logs. ```background-geolocation (2).log.gz
background-geolocation (3).log.gz
background-geolocation (4).log.gz
The text was updated successfully, but these errors were encountered: