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
Since Android 14 Google has new requirements as to how launch a ForegroundService, this package is not compatible with these requirments.
App is crashed on foreground service start, after these new permissions added locally in our AndroidManifest, crash is avoided but no service is actually launched
error log: E/ForegroundServicePlugin(19650): error while launching foreground service: Starting FGS with type mediaProjection callerApp=ProcessRecord{58cf318 19650:com.example.application/u0a199} targetSDK=34 requires permissions: all of the permissions allOf=true [android.permission.FOREGROUND_SERVICE_MEDIA_PROJECTION] any of the permissions allOf=false [android.permission.CAPTURE_VIDEO_OUTPUT, android:project_media]
The text was updated successfully, but these errors were encountered:
[flutter_foreground_service 0.4.1]
Device / Emulator and OS
Describe the bug
Since Android 14 Google has new requirements as to how launch a ForegroundService, this package is not compatible with these requirments.
App is crashed on foreground service start, after these new permissions added locally in our AndroidManifest, crash is avoided but no service is actually launched
error log:
E/ForegroundServicePlugin(19650): error while launching foreground service: Starting FGS with type mediaProjection callerApp=ProcessRecord{58cf318 19650:com.example.application/u0a199} targetSDK=34 requires permissions: all of the permissions allOf=true [android.permission.FOREGROUND_SERVICE_MEDIA_PROJECTION] any of the permissions allOf=false [android.permission.CAPTURE_VIDEO_OUTPUT, android:project_media]
The text was updated successfully, but these errors were encountered: