Skip to content

[Android] Issue with Deep Linking in the new Multi-Conversation feature by Zendesk #72

@avivdim

Description

@avivdim

I’ve created a custom FirebaseMessagingService to handle deep links for notifications when the app is killed. The flow works as follows:

Notification Handling: When the app is killed, my FirebaseMessagingService handles the notification, showing it to the user. Upon tapping the notification, I use messaging().setBackgroundMessageHandler to listen for the remote message payload.
Zendesk Screen: After receiving the payload, I call the Zendesk.openMessagingView() method to open the Zendesk messaging screen.
Note: For notifications when the app is in the foreground or background, the SDK’s default behavior still handles opening the Zendesk messaging view and navigating to the specific conversation.

While this works when the app is in the foreground or background, the issue is that when tapping the notification after the app is killed, it takes the user to the main screen with all conversations, rather than to the specific conversation. In all other cases (foreground and background), the notifications correctly navigate to the specific conversation tied to the push notification.

I’m receiving the conversationId in the payload, but I couldn’t find any option to pass it to the openMessagingView() method to display the correct conversation.

Is there a way to pass the conversationId to openMessagingView() or any other approach that could solve this issue?

  • Platform: Android
  • React Native Version 0.73
  • Zendesk SDK Version : 2.26.0 , 2.26.1, 2.27.0

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions