You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Flutter_video_cast library seems to function correctly on Android devices with an operating system version of 30 or earlier. However, it crashes on devices with version 31 and higher. Below is the crash log for reference.
Targeting S+ (version 31 and above) requires that one of FLAG_IMMUTABLE or FLAG_MUTABLE be specified when creating a PendingIntent.
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.
at android.app.PendingIntent.checkFlags(PendingIntent.java:408)
at android.app.PendingIntent.getBroadcastAsUser(PendingIntent.java:688)
at android.app.PendingIntent.getBroadcast(PendingIntent.java:675)
at com.google.android.gms.cast.framework.media.internal.zzm.zza(zzm.java:46)
at com.google.android.gms.cast.framework.CastSession$zza.onResult(CastSession.java:11)
at com.google.android.gms.common.api.internal.BasePendingResult$CallbackHandler.handleMessage(BasePendingResult.java:11)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loopOnce(Looper.java:226)
at android.os.Looper.loop(Looper.java:313)
at android.app.ActivityThread.main(ActivityThread.java:8757)
at java.lang.reflect.Method.invoke(Method.java)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:571)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1067)
The text was updated successfully, but these errors were encountered:
The Flutter_video_cast library seems to function correctly on Android devices with an operating system version of 30 or earlier. However, it crashes on devices with version 31 and higher. Below is the crash log for reference.
The text was updated successfully, but these errors were encountered: