+

Search Tips   |   Advanced Search

Push notification

Push notification is the ability of a mobile device to receive messages that are pushed from a server. The most common form of notification is SMS (Short Message Service). Notifications are received regardless of whether the application is currently running.

Notifications can take several forms, and are platform-dependent:

The MobileFirst unified push notification mechanism enables the sending of mobile notifications to mobile phones. Notifications are sent through the vendor infrastructure. For example, iPhone notifications are sent from the MobileFirst Server to specialized Apple servers, and from there to the relevant phones. The unified push notification mechanism in IBM MobileFirst Platform Foundation makes the entire process of communicating with the users and devices completely transparent to the developer.

Figure 1. Push notification mechanism

Push notification currently works for iOS, Android, and Windows Phone 8. iOS apps use the Apple Push Notification Service (APNS), Android apps use Google Cloud Messaging (GCM), and Windows Phone 8 apps use the authenticated and non-authenticated Microsoft Push Notification Service (MPNS). SMS push notifications are supported on iOS, Android, Windows Phone 8, Java ME, and BlackBerry devices that support SMS functions. For more information about setting up push notification for each platform, see Set up push notifications.


Proxy settings

Use the proxy settings to set the optional proxy through which notifications are sent to APNS and GCM. We can set the proxy using the push.apns.proxy.* and push.gcm.proxy.* configuration properties. See Application server-side configuration parameters.


Architecture

Unlike other IBM MobileFirst Platform Foundation services, the push server requires outbound connections to Apple, Google, and Microsoft servers using ports that are defined by these companies.

See Possible MobileFirst push notification architectures.


Parent topic: Develop MobileFirst applications