jgilfelt / chuck

An in-app HTTP inspector for Android OkHttp clients

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Crashes with targetSdkVersion 31

Zhuinden opened this issue · comments

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)

I guess this is already known and there is a replacement #101 (comment)