RNUG Lotus User Group (www.vlaad.lv)

Extending IBM Traveler Push Notification with additional Subject field or Preventing Traveler sending information to Apple while allowing users to get immediate mails

Vladislav Tatarincev  3 March 2017 14:23:48


Apple uses Push notification service to deliver system messages to devices or notify device that there is a change on a server, please connect and grab an update.
If you check what is included in Push notification, then according to Apple Developer documentation. Sound (on/off, Badge, number of unread notification and some text is included in JSON message that is sent over SSL to Apple servers.
Apple uses AKAMAI cloud to distribute servers all over the world, and you better open ports for push notification to work

By Default every push notification server includes sender of message. So some customers, who does not want that Apple knows with whom they communicate, they just close PushPort or it is possible to disable this with NTS_APNS_ push settings.
Just closing port is bad idea, since a lot of error messages will appear on Traveler server console.

If you dont want Apple know your contragents, you may implement
NTS_PUSH_ALERTS_ALLOW_SENDER=false (default value true)
NTS_PUSH_ALERTS_ALLOW_SUMMARY=false (default value false)
or just first one. This will still use Push notification, Traveler server will send a shorter request, "Hey, New Mail for You" without saying from whom mail has arrived.
There will be no notification from above, iPhone/iPad will play sound and number of unread emails will increase. This will give user a hint that new mail has arrived.

If you dont care that Apple will get from whom you receive emails, you may go futher. You may include subject in notification.
NTS_PUSH_ALERTS_ALLOW_SENDER=true (default value true)
NTS_PUSH_ALERTS_ALLOW_SUMMARY=true (default value false)

By implementing NTS_PUSH_ALERTS_ALLOW_SUMMARY You will also receive information not only from whom but also about what is this email.


Image:Extending IBM Traveler Push Notification with additional Subject field or Preventing Traveler sending information to Apple while allowing users to get immediate mails
Image:Extending IBM Traveler Push Notification with additional Subject field or Preventing Traveler sending information to Apple while allowing users to get immediate mails

Archives