On click URL not handled when app is in foreground

Scenario: I send a notification with an "On click URL" link

The app receives the notification while being opened.

The function "CountlyPush.displayMessage" is called, the app shows a Dialog but no text is displayed on the button and this button does nothing when tapping on it.

How can I solve it?

When the same scenario is repeated with the app in background tapping on the notification will open the link correctly.  

(Android 6.0, native SDK)

Intent notificationIntent = null;
Boolean result = CountlyPush.displayMessage(getApplicationContext(), message, R.drawable.notification_icon, notificationIntent);

0

Comments

1 comment
  • Hi Lorenzo,

    I saw that our developers Artem and Arturs are helping you with this on our community Slack. Please let me know if there is anything else I can assist you with. Thank you and have a nice day!

     

    0
    Comment actions Permalink

Please sign in to leave a comment.