android13适配问题
将 build.gradle的targetSdkVersion设置如下:
targetSdkVersion 33
opensdk会报错: [2023-01-10 13:32:18.244] [5173] [5173] [4] [MicroMsg.SDK.MMessageAct] : sendUsingPendingIntent [2023-01-10 13:32:18.244] [5173] [5173] [4] [SA.PushAutoTrackHelper] : SDK or push disabled. [2023-01-10 13:32:18.245] [5173] [5173] [6] [MicroMsg.SDK.MMessageAct] : sendUsingPendingIntent fail, ex = com.iceasy.chip: 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. 将 targetSdkVersion 设置到 30就正常了.