stream-video-flutter
stream-video-flutter copied to clipboard
Missing foreground service type caused a crash in Android
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.
Expected Solution Include the foreground service type in the file to prevent crash in Android