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
{{ message }}
Repository navigation
App Crash above android version 12 when i use flutter_foreground_task plugin for notification & location permission #348
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.32.5, on macOS 15.4 24E248 darwin-x64, locale ko-KR)
[✓] Android toolchain - develop for Android devices (Android SDK version 35.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 16.2)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2024.2)
[✓] VS Code (version 1.99.2)
Please make sure that location permission is granted before starting the foreground service. In my tests on the target platform environment(samsung device, android studio simulator), the service ran without any issues. There is also a possibility of a conflict with the location library, so if you are using one, please let me know which library you are using.
Activity
cristianlima-bit commentedon Jun 13, 2025
same error here, using flutter 3.32.1, any solution @mobilem3 ?
Dev-hwang commentedon Jul 6, 2025
Please make sure that location permission is granted before starting the foreground service. In my tests on the target platform environment(samsung device, android studio simulator), the service ran without any issues. There is also a possibility of a conflict with the location library, so if you are using one, please let me know which library you are using.