8000
Skip to content

Rich notifications (iOS 10)#413

Merged
argon merged 4 commits intonode-apn:masterfrom
alexanderedge:master
Aug 4, 2016
Merged

Rich notifications (iOS 10)#413
argon merged 4 commits intonode-apn:masterfrom
alexanderedge:master

Conversation

@alexanderedge
Copy link
Copy Markdown
Contributor

In iOS 10, remote notification payloads can be mutated on the client before presentation to the user, allowing for rich content to be displayed (images, video).

The key to this is a mutable-content boolean value in the payload that must be set to 1.

Further information in the WWDC presentation (page 16): http://devstreaming.apple.com/videos/wwdc/2016/708tbh8wnspsg01hxwx/708/708_advanced_notifications.pdf

@alexanderedge
Copy link
Copy Markdown
Contributor Author

I'm not sure why loadCredentials is failing, as I don't believe I've touched it in this PR.

@coveralls
Copy link
Copy Markdown
coveralls commented Aug 3, 2016

Coverage Status

Coverage increased (+0.2%) to 62.065% when pulling 7704ef0 on alexanderedge:master into eccd565 on argon:master.


describe("with mutableContent property disabled", function() {
it("does not set the 'mutable-content' flag", function() {
note.alert = "message";
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bad indentation

@coveralls
Copy link
Copy Markdown
coveralls commented Aug 3, 2016

Coverage Status

Coverage increased (+0.2%) to 62.065% when pulling 32e45c8 on alexanderedge:master into eccd565 on argon:master.

@argon argon merged commit 8ddb001 into node-apn:master Aug 4, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

0