Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

6
  • That is excellent, but this static method expects NotificationMessage as one of the parameters and I don't know how can I create instance or get the existing instance from somewhere. Also as long as I can see NotificationMessage object should have all the data coming in the push notification payload. Any idea? Thanks Commented May 21, 2019 at 14:24
  • Or maybe the right way is to make custom implementation of this abstract class NotificationMessage and provide the payload in payload() method :). Any better solution? Commented May 21, 2019 at 14:31
  • No, you really shouldn't do that. You should be using the SDK's functionality that allows you full control over the creation of the Notification.Builder that will ultimately be used by the SDK to show the notification. From there you will have access to the NotificationMessage. salesforce-marketingcloud.github.io/JB4A-SDK-Android/… Commented May 21, 2019 at 16:44
  • I see, then in this case I don't have any other choice , but to use the standard implementation. I tried with the Simplified Customization as described here salesforce-marketingcloud.github.io/JB4A-SDK-Android/… , but the push notification open event still doesn't appear in the SF dashboard. Maybe I am missing something Commented May 21, 2019 at 23:05
  • Analytics for push open take some time to propagate through the service before they are aggregated and displayed in your analytics dashboard. I believe the expected max time for this is 6 hours. If, after this time, you're still not seeing the open results then please reach out to your support representative for further assistance. Commented May 22, 2019 at 10:36