之前用的targetsdk是33,调用支付接口没有问题,但最近因为升级开发工具,将targetsdk改成了35. 调用支付接口报错:sendUsingPendingIntent fail, ex = com.one.aivoice: 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.
你好请问解决了吗?没有解决的话辛苦上传下客户端日志和异常操作录屏(可以上传腾讯视频或者腾讯云)并补充相关接口调用参数信息和时间:
您好,请提供下列资料供这边帮您定位问题。
1、调用的接口对应的接口文档
2、调用接口时传入的完整请求参数以及接口的响应报文
请以文字形式提供上述信息,不要发截图。