Recent searches
No recent searches

Rafal Wesolowski
Joined Dec 02, 2021
·
Last activity Dec 02, 2021
Following
0
Followers
0
Total activity
2
Votes
0
Subscription
1
ACTIVITY OVERVIEW
BADGES
ARTICLES
POSTS
COMMUNITY COMMENTS
ARTICLE COMMENTS
ACTIVITY OVERVIEW
Latest activity by Rafal Wesolowski
Rafal Wesolowski created a post,
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
Posted Dec 02, 2021 · Rafal Wesolowski
0
Followers
6
Votes
3
Comments