Recherches récentes


Pas de recherche récente

Rafal Wesolowski's Avatar

Rafal Wesolowski

Adhésion le 02 déc. 2021

·

Dernière activité le 02 déc. 2021

Suivis

0

Abonnés

0

Activité totale

2

Votes

0

Abonnement

1

APERÇU DES ACTIVITÉS

Dernière activité effectuée par Rafal Wesolowski

Rafal Wesolowski a créé une publication,

Publication 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

Publication le 02 déc. 2021 · Rafal Wesolowski

0

Abonnés

6

Votes

3

Commentaires