Recent searches


No recent searches

Bug: Android SDK not ready for targeting Android 12, as it uses Trampoline notifications



Posted Sep 04, 2022

Basically it's related to this change for Android 12 and above:
https://developer.android.com/about/versions/12/behavior-changes-12#notification-trampolines
https://developer.zendesk.com/documentation/classic-web-widget-sdks/support-sdk/android/handle_push_notifications_wh/#acquire-an-intent

It means that (other than in some special cases) pressing the notification that's generated from the builder of Zendesk - it won't do anything

The user will see a notification, press it, and nothing will happen.

The SDK is using a BroadcastReceiver and then later opens a real Activity. This is not allowed on Android 12 and above (when targeting it)

Information about what's being used:

implementation "com.zendesk:messaging:5.2.5"
implementation "com.zendesk:support:5.1.0"
implementation "com.zendesk:answerbot:3.0.9"
implementation "com.zendesk:chat:3.3.6"

For now, the workaround isn't to use what's on the documentation, but to open a normal Activity with the ticket ID, and then, open what's of Zendesk:

RequestActivity.builder().withRequestId(ticketId).show(this)

0

0

0 comments

Sign in to leave a comment.

Didn't find what you're looking for?

New post