Unity_Android_Screen_Recorder icon indicating copy to clipboard operation
Unity_Android_Screen_Recorder copied to clipboard

App Crashes

Open lvanshaw opened this issue 1 year ago • 4 comments

First of all thanks for this plugin , i downloaded the Project and get a build for POCO M3 it works fine but for other mobile it crashes

2024-02-28 18:11:35.773 15662 15662 Error AndroidRuntime java.lang.RuntimeException: Unable to start service com.hbisoft.hbrecorder.ScreenRecordService@88e88a3 with Intent { cmp=com.setik.androidutils/com.hbisoft.hbrecorder.ScreenRecordService (has extras) }: java.lang.IllegalArgumentException: com.setik.androidutils**: Targeting S+ (version 31 and above) requires that one of FLAG_IMMUTABLE or FLAG_MUTABLE be specified when creating a PendingIntent.**

2024-02-28 18:11:35.773 15662 15662 Error AndroidRuntime Strongly consider using FLAG_IMMUTABLE, only use FLAG_MUTABLE if some functionality depends on the PendingIntent being mutable, e.g. if it needs to be used with inline replies or bubbles. Capture

lvanshaw avatar Feb 28 '24 12:02 lvanshaw

Hi. This bug will occur in android 12 and above due to a change in the android intent system. I will rollout new version in this weekend which fix this issue.

thanh-nguyen-kim avatar Feb 29 '24 09:02 thanh-nguyen-kim

Thanks for the reply, im waiting

lvanshaw avatar Mar 01 '24 12:03 lvanshaw

Have you resolved this issue?

loki9mm avatar Sep 02 '24 10:09 loki9mm