client-sdk-flutter icon indicating copy to clipboard operation
client-sdk-flutter copied to clipboard

#469 is still occurring on Pixel 7 series

Open acgacgacgacg opened this issue 11 months ago • 2 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?

acgacgacgacg avatar Mar 14 '24 00:03 acgacgacgacg

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

davidliu avatar Mar 14 '24 13:03 davidliu

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.

acgacgacgacg avatar Mar 19 '24 07:03 acgacgacgacg

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

cloudwebrtc avatar Apr 12 '24 12:04 cloudwebrtc