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
Disable Geolocation Service under Windows Services.
Call Geolocator.checkPermission()
Native error is not handled and Flutter will crash
Expected results
Error reported to Flutter App
Actual results
Flutter App crashes
Code sample
Code sample
Geolocator.checkPermission();
Screenshots or video
Screenshots or video demonstration
Version
0.2.2
Flutter Doctor output
Doctor output
[√] Flutter (Channel stable, 3.16.5, on Microsoft Windows [Version 10.0.22621.3155], locale en-NZ) • Flutter version 3.16.5 on channel stable at C:\Dev\Tools\flutter • Upstream repository https://github.com/flutter/flutter.git • Framework revision 78666c8dc5 (3 months ago), 2023-12-19 16:14:14 -0800 • Engine revision 3f3e560236 • Dart version 3.2.3 • DevTools version 2.28.4[√] Windows Version (Installed version of Windows is version 10 or higher)[!] Android toolchain - develop for Android devices (Android SDK version 33.0.0) • Android SDK at C:\Users\dan.kane\AppData\Local\Android\sdk X cmdline-tools component is missing Run `path/to/sdkmanager --install "cmdline-tools;latest"` See https://developer.android.com/studio/command-line for more details. X Android license status unknown. Run `flutter doctor --android-licenses` to accept the SDK licenses. See https://flutter.dev/docs/get-started/install/windows#android-setup for more details.[√] Chrome - develop for the web • Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe[√] Visual Studio - develop Windows apps (Visual Studio Enterprise 2022 17.9.2) • Visual Studio at C:\Program Files\Microsoft Visual Studio\2022\Enterprise • Visual Studio Enterprise 2022 version 17.9.34622.214 • Windows 10 SDK version 10.0.22621.0[√] Android Studio (version 2021.2) • Android Studio at C:\Program Files\Android\Android Studio • Flutter plugin can be installed from: https://plugins.jetbrains.com/plugin/9212-flutter • Dart plugin can be installed from: https://plugins.jetbrains.com/plugin/6351-dart • Java version OpenJDK Runtime Environment (build 11.0.12+7-b1504.28-7817840)[√] VS Code (version 1.87.0) • VS Code at C:\Users\dan.kane\AppData\Local\Programs\Microsoft VS Code • Flutter extension version 3.84.0[√] Connected device (3 available) • Windows (desktop) • windows • windows-x64 • Microsoft Windows [Version 10.0.22621.3155] • Chrome (web) • chrome • web-javascript • Google Chrome 122.0.6261.95 • Edge (web) • edge • web-javascript • Microsoft Edge 122.0.2365.80[√] Network resources • All expected network resources are available.
The text was updated successfully, but these errors were encountered:
I'll label this as a bug. We are currently not able to reproduce this issue because we lack the required knowledge. But can you elaborate a bit on the subject? Do you know what the native error is and do you feel comfortable to file a PR with a solution?
Please check the following before submitting a new issue.
Please select affected platform(s)
Steps to reproduce
Expected results
Error reported to Flutter App
Actual results
Flutter App crashes
Code sample
Code sample
Screenshots or video
Screenshots or video demonstration
Version
0.2.2
Flutter Doctor output
Doctor output
The text was updated successfully, but these errors were encountered: