livekit / client-sdk-flutter

Flutter Client SDK for LiveKit

Home Page:https://docs.livekit.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

#469 is still occurring on Pixel 7 series

acgacgacgacg opened this issue · comments

The original issue #469 solved most android devices except Pixel 7 series.

As I mentioned here,
we still detected the following crash through crash report.

Google Pixel7, Pixel7a, Pixel7 Pro had this issue.
The crash log is the same as the one I reported here.

Fatal Exception: java.lang.RuntimeException
Unable to start service de.julianassmann.flutter_background.IsolateHolderService@8212701 with Intent { act=START cmp=com.example.app/de.julianassmann.flutter_background.IsolateHolderService }: java.lang.SecurityException: Starting FGS with type mediaProjection callerApp=ProcessRecord{28e5a1d 21645:com.example.app/u0a129} 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]

We do not have a Pixel7 device to reproduce this problem. Can you help us identify the problem?

I wasn't able to repro this. Worked fine on Pixel 7.

We still don't understand why this happened. Other devices like Xperia V encountered the same issue.
All these devices are Android 14 and our app is compiled with sdk 34.
Temporarily we downgrade the compile sdk to 33.

Just tested it, Not reproduced on Pixel 7, close the issue now If it happens again, please feel free to open it.