Configuring Push Notifications for Mobile
Enable notifications to be sent to mobile users about Connections events.
Before you begin
- Android
- Port 443 (HTTPS only)
- iOS
- Ports 2195 and 2196
- Android
- Ports 5228, 5229, and 5230
- iOS
- Ports 443 and 5223
For iOS, the Apple Push Notification Servers (APNS) use load balancing. So your devices won't always connect to the same public IP address for notifications. It's best to allow access to these ports on the entire 17.0.0.0/8 address block, which is assigned to Apple. For more information see https://support.apple.com/en-us/HT203609.
For Android, Google Cloud Management (GCM) doesn't provide specific IPs. So you should allow your firewall to accept outgoing connections to all IP addresses contained in the IP blocks listed in Google's ASN of 15169. For more information see https://developers.google.com/cloud-messaging/http
About this task
The Push Notifications service sends information from the Connections server to a user's mobile device. Review the Push Notifications topic for a list notifications sent by the mobile app.
To enable and configure Push Notifications, complete the following steps:
Procedure
- Check out the mobile-config.xml file for editing. For more information about checking out the file, see the Changing Mobile configuration property values topic.
- Open the mobile-config.xml file in a text editor.
- To enable Push Notifications, specify true for the Push enabled property.
- Specify values for the remaining Push Notifications properties, based on the requirements of your organization. For more information, see the section about Push Notifications properties in the Mobile configuration properties topic.
- Save and check in the mobile-config.xml file.
What to do next
To check the expiration date of your certificate, check the logs directory on the Connections Mobile server for a file called APNSCertExpiry.log. This file will contain the expiration dates of the certificates.