window.location.href="gonative://mobilepush/register?callback=callback"
Callback will be called with a result object containing the success key
window.location.href="gonative://mobilepush/subscribe?callback=callback"
NOTE: This also works in the event of cold start.
Callback will be called each time a new notification is tapped. The payload will contain all custom keys sent via the push notification.
window.location.href="gonative://mobilepush/contactKey/set?contactKey=user@email.com&callback=callback"
var tags = ["tag1", "tag2", "tag3"]
window.location.href="gonative://mobilepush/tags/set?callback=callback&tags=" + encodeURI(JSON.stringify(tags))
window.location.href="gonative://mobilepush/tags/get?callback=callback"
var attrs ={ "attr1": "value 1", "attr 2": "value 2" }
window.location.href="gonative://mobilepush/attributes/set?callback=callback&attributes=" + encodeURI(JSON.stringify(attrs))
window.location.href="gonative://mobilepush/attributes/get?callback=callback"
A custom notification sound can be configured by embedding an audio file within the mobile app and enabling Custom Sounds within Marketing Cloud MobilePush.