Genesys Cloud - Developer Community!

 View Only

Sign Up

  • 1.  Android Messenger SDK issues for Notifications and tracking Outgoing Element

    Posted 4 days ago

    We are integrating the android mobile messenger sdk in our app and found two issues if the team can help to approach these issues:

    1. To show in app notifications when the user has minimized the chat window, we are using `ChatEventListener` and checking for the IncomingElement type and based on the chat status(MINIMIZED/EXPANDED) we show notification to the user. We have observed that when the user has minimized the app or the device is locked when there is an active chat, the agent is not able to send the message. It shows a warning symbol says message not delivered. Only when user opens the app and open the chat window we see the message delivered and user can see the new message. We tried implementing the firebase notifications service similar to the sample app code by using ChatPushNotificationIntegration.setPushToken(context, token, messengerAccount) but we dont see any notifications. Can someone help what are we missing here?
    2. We need to track when the user sends out any messages to the agent to track user interactions. We tried using OutgoingElement in the listener but didnt see any events triggered for outgoing elements. Also we see the incoming and outgoing elements deprecated. What is the new approach to acheive this?

    We are using the below sdks: and the sdk_version is 1.19.1.

    api "com.genesys.cloud:core:$genesys_chat_sdk_version"
    api "com.genesys.cloud:chatintegration:$genesys_chat_sdk_version"
    api "com.genesys.cloud:ui:$genesys_chat_sdk_version"

    #MobileMessenger

    ------------------------------
    Sai Vamsee Pinapaka
    Android Engineer
    ------------------------------


  • 2.  RE: Android Messenger SDK issues for Notifications and tracking Outgoing Element

    Posted 15 hours ago

    Hi Sai,
    Thanks for bringing it to our attention. 
    Did you integrated push notifications service according to this documentation page: https://developer.genesys.cloud/commdigital/digital/webmessaging/mobile-messaging/messenger-mobile-sdk/android/push-notifications


    @Szabolcs Szakacs Can you assit Sai with his questions?



    ------------------------------
    Anton Afanasiev
    Manager, Mobile Development
    ------------------------------