## h1. What - Add support for apns-push-type field required by ios 13 - Consider ttl for apns pushes
## h1. Why - apns-push-type is required in apns pushes in ios13. If not set pushes may be delayed or even dropped - ttl: PushyApnsSender ignores Config#timeToLive, instead it uses a fix TTL of 1 day (default used by Pushy's SimpleApnsPushNotification class). It would be good to consider the ttl provided in org.jboss.aerogear.unifiedpush.message.Config#timeToLive. BTW: This seems like a regression. In former times this worked correctly before switching from notnoop.apns to pushy. See former solution in UPS 1.1.3 (method: createFutureDateBasedOnTTL): https://github.com/aerogear/aerogear-unifiedpush-server/blob/1.1.3.Final/push/sender/src/main/java/org/jboss/aerogear/unifiedpush/message/sender/APNsPushNotificationSender.java
## h1. How - apns-push-type: Upgrade pushy to 0.13.9 which allows specifying PushType as a constructor parameter. Internally it will be sent with the http header - ttl: use the implementation used back in UPS 1.1.3
|
|