jgilfelt / chuck

An in-app HTTP inspector for Android OkHttp clients
Apache License 2.0
4.68k stars 452 forks source link

Crashes with targetSdkVersion 31 #103

Open Zhuinden opened 2 years ago

Zhuinden commented 2 years ago

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.

Error coming from com.readystatesoftware.chuck.internal.support.NotificationHelper.show(NotificationHelper.java:81)

Zhuinden commented 2 years ago

I guess this is already known and there is a replacement https://github.com/jgilfelt/chuck/issues/101#issuecomment-869119599