Add support for custom APS properties
Java Apple Push Notification Service Provider
Brought to you by:
magnihotri93
Originally created by: raderio
Sometimes Apple can add some new properties to APS object. In order to be able to use that new properties as soon as possible it will be good to add support for custom APS properties.
For example now we can add properties to payload
APNS.newPayload()
.customField("name", "John")
...
How will be to add properties to APS
APNS.newPayload()
.customAPSField("mutable_content", 1)
...
Originally posted by: raderio
This also will be useful not to wait to add mutable content properties
And will fix
https://github.com/notnoop/java-apns/issues/321
https://github.com/notnoop/java-apns/issues/328
Originally posted by: ovictorpinto
I make a hook to "intercept" the payload generated:
Originally posted by: keilon
As https://stackoverflow.com/questions/44560851/apns-collapse-id-not-merging-multiple-notifications-ios-10 said, "apns-collapse-id" is NOT supported in legacy binary interface, does it really work? @ovictorpinto
Originally posted by: ovictorpinto
@keilon collapse-id don't work this way. But the hook to insert a property works =]