[Bug]: foreground service seems to be missing FOREGROUND_SERVICE_LOCATION
permission
#1474
Open
3 of 8 tasks
Labels
good first issue
Good for newcomers who would like to start contributing to the project.
P2
Important issues not at the top of the work list.
platform: android
Issue is related to the Android platform.
type: documentation
Update to the documentation
Please check the following before submitting a new issue.
Please select affected platform(s)
Steps to reproduce
It seems the locationStream is not stable (i.e. having random pauses) with foreground service. It seems it is due to missing the
FOREGROUND_SERVICE_LOCATION
permission. I don't know android very well and don't have concrete proof. But it seems to be required per doc and does seem to fix the issue.If this is indeed require, then maybe we should mention it in the doc/installation guide?
(cc: @kuailezhiyuan)
Expected results
Having
<uses-permission android:name="android.permission.FOREGROUND_SERVICE_LOCATION" />
inAndroidManifest.xml
.Actual results
n/a
Code sample
n/a
Screenshots or video
No response
Version
4.5.4
Flutter Doctor output
n/a
The text was updated successfully, but these errors were encountered: