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.
- 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? ThanksStoycho Andreev– Stoycho Andreev2019-05-21 14:24:44 +00:00Commented 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?Stoycho Andreev– Stoycho Andreev2019-05-21 14:31:50 +00:00Commented 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/…Seth– Seth2019-05-21 16:44:26 +00:00Commented 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 somethingStoycho Andreev– Stoycho Andreev2019-05-21 23:05:06 +00:00Commented 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.Seth– Seth2019-05-22 10:36:44 +00:00Commented May 22, 2019 at 10:36
| Show 1 more comment
How to Edit
- Correct minor typos or mistakes
- Clarify meaning without changing it
- Add related resources or links
- Always respect the author’s intent
- Don’t use edits to reply to the author
How to Format
- create code fences with backticks ` or tildes ~ ```
like so
``` - add language identifier to highlight code ```python
def function(foo):
print(foo)
``` - put returns between paragraphs
- for linebreak add 2 spaces at end
- _italic_ or **bold**
- indent code by 4 spaces
- backtick escapes
`like _so_` - quote by placing > at start of line
- to make links (use https whenever possible) <https://example.com>[example](https://example.com)<a href="https://example.com">example</a>
How to Tag
A tag is a keyword or label that categorizes your question with other, similar questions. Choose one or more (up to 5) tags that will help answerers to find and interpret your question.
- complete the sentence: my question is about...
- use tags that describe things or concepts that are essential, not incidental to your question
- favor using existing popular tags
- read the descriptions that appear below the tag
If your question is primarily about a topic for which you can't find a tag:
- combine multiple words into single-words with hyphens (e.g. marketing-cloud), up to a maximum of 35 characters
- creating new tags is a privilege; if you can't yet create a tag you need, then post this question without it, then ask the community to create it for you