Closed alexanderedge closed 8 years ago
Looks like 1.7.8 isn't available on npmjs yet.
Yeah, we'll revisit when it will be available. Also, is it required? I see latest available version is 1.7.7
@flovilmart Yes, it's required as it adds a new property to the notification object. One of my PRs was merged and included in https://github.com/argon/node-apn/releases/tag/1.7.8
@argon, seems that your release failed for 1.7.8, looks like your tags are usually vX.Y.Z maybe related ;)
Oops, well spotted.I think I forgot to update the package.json
@argon seems like it :) Thanks for your awesome job!
Should be building now.
@@ master #27 diff @@
==========================================
Files 5 5
Lines 270 274 +4
Methods 30 30
Messages 0 0
Branches 46 47 +1
==========================================
+ Hits 239 243 +4
Misses 31 31
Partials 0 0
Powered by Codecov. Last update a9089ec...660a5db
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.
I have added support for mutable-content, along with a test, and updated the
apn
dependency.Further information in the WWDC presentation (page 16): http://devstreaming.apple.com/videos/wwdc/2016/708tbh8wnspsg01hxwx/708/708_advanced_notifications.pdf