You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have carefully read the documentation and verified I have added the required platform specific configuration.
Please select affected platform(s)
Android
iOS
Linux
macOS
Web
Windows
Steps to reproduce
When trying to get the current location on Android 15, it retrieves incorrect coordinates However, it worked fine in previous versions.
Position position = await Geolocator.getCurrentPosition(
locationSettings: AndroidSettings(
accuracy: LocationAccuracy.best,
distanceFilter: 100,
forceLocationManager: true,
foregroundNotificationConfig: ForegroundNotificationConfig(
notificationText:S.current.sending_your_location,
notificationTitle: "Running in Background",
enableWakeLock: true,
)
);
);
Expected results
3.400058, -76.548195
Actual results
3.3873873873873874 -76.5662043915291
Code sample
Code sample
Position position =awaitGeolocator.getCurrentPosition(
locationSettings:AndroidSettings(
accuracy:LocationAccuracy.best,
distanceFilter:100,
forceLocationManager:true,
//(Optional) Set foreground notification config to keep the app alive //when going to the background
foregroundNotificationConfig:ForegroundNotificationConfig(
notificationText:S.current.sending_your_location,
notificationTitle:"Running in Background",
enableWakeLock:true,
)
);
);
Screenshots or video
Screenshots or video demonstration
[Upload media here]
Version
geolocator: ^13.0.2
Flutter Doctor output
Doctor output
Doctor summary (to see all details, run flutter doctor -v):[✓] Flutter (Channel stable, 3.24.5, on macOS 15.1.1 24B91 darwin-arm64, locale es-419)[✓] Android toolchain - develop for Android devices (Android SDK version 35.0.0)[✓] Xcode - develop for iOS and macOS (Xcode 16.1)[✓] Chrome - develop for the web[✓] Android Studio (version 2024.1)[✓] VS Code (version 1.96.2)[✓] Connected device (5 available)[✓] Network resources• No issues found!
The text was updated successfully, but these errors were encountered:
Uh oh!
There was an error while loading. Please reload this page.
Please check the following before submitting a new issue.
Please select affected platform(s)
Steps to reproduce
When trying to get the current location on Android 15, it retrieves incorrect coordinates However, it worked fine in previous versions.
Position position = await Geolocator.getCurrentPosition(
locationSettings: AndroidSettings(
accuracy: LocationAccuracy.best,
distanceFilter: 100,
forceLocationManager: true,
foregroundNotificationConfig: ForegroundNotificationConfig(
notificationText:S.current.sending_your_location,
notificationTitle: "Running in Background",
enableWakeLock: true,
)
);
);
Expected results
3.400058, -76.548195
Actual results
3.3873873873873874 -76.5662043915291
Code sample
Code sample
Screenshots or video
Screenshots or video demonstration
[Upload media here]
Version
geolocator: ^13.0.2
Flutter Doctor output
Doctor output
The text was updated successfully, but these errors were encountered: