stream-video-flutter icon indicating copy to clipboard operation
stream-video-flutter copied to clipboard

Missing foreground service type caused a crash in Android

Open Aanu1995 opened this issue 9 months ago • 0 comments

Unable to create service io.getstream.video.flutter.stream_video_flutter.service.StreamCallService: android.app.MissingForegroundServiceTypeException: Starting FGS without a type callerApp=ProcessRecord.

In stream_video_flutter (screenshot below), the service specified is missing foreground service type.

This is the link to specify the type in Android https://developer.android.com/about/versions/14/changes/fgs-types-required.

Screenshot 2024-05-11 at 13 18 28

Expected Solution Include the foreground service type in the file to prevent crash in Android

Aanu1995 avatar May 11 '24 12:05 Aanu1995