最近搜索


没有最近搜索

Rafal Wesolowski's Avatar

Rafal Wesolowski

已加入2021年12月02日

·

最后活动2021年12月02日

关注

0

关注者

0

活动总数

2

投票

0

订阅

1

活动概览

的最新活动 Rafal Wesolowski

Rafal Wesolowski 创建了一个帖子,

帖子 Developer - Zendesk SDKs

Hello support team,

We have recently migrated to Android 12 and started getting crashes pointing to your library.
The exact dependency we are using is

zendesk.messaging:messaging-android:1.2.0

Crash stacktrace is as follows:

Fatal Exception: java.lang.IllegalArgumentException: com.fibermode.mode.android: 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.
at android.app.PendingIntent.checkFlags(PendingIntent.java:375)
at android.app.PendingIntent.buildServicePendingIntent(PendingIntent.java:724)
at android.app.PendingIntent.getService(PendingIntent.java:686)
at zendesk.messaging.android.push.internal.NotificationBuilder.setOpenNotificationIntent(NotificationBuilder.java:20)
at zendesk.messaging.android.push.internal.NotificationProcessor.display(NotificationProcessor.java:20)
at zendesk.messaging.android.push.internal.NotificationProcessor$display$1.invokeSuspend(NotificationProcessor.java:16)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(BaseContinuationImpl.java:2)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.java:86)
at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.java)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.java:5)

Looks like there is missing PendingIntent flag in NotificationBuilder class?
Have you migrated your library towards Android 12 yet ? 
If not when we can expect to get it fixed?
We are getting constant crashes at the moment.

Thanks in advance.

Rafal Wesolowski

已于 2021年12月02日 发布 · Rafal Wesolowski

0

关注者

6

投票

3

评论