AutoUpdateProject icon indicating copy to clipboard operation
AutoUpdateProject copied to clipboard

sdk 31 PendingIntent IllegalArgumentException

Open Luke-Tang opened this issue 3 years ago • 1 comments

SDK31以上, 创建PendingIntent时, flag必须设置,请参考最新的api文档

Caused by: java.lang.IllegalArgumentException: com.luke.endoscope: 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.

Luke-Tang avatar Oct 05 '22 13:10 Luke-Tang

我这边有这个错误,希望作者更新一下

l12ab avatar Jun 28 '23 03:06 l12ab