Configuring Push Notification Properties

Configure properties to enable any type of notification to be sent from a back-end system to SAP Mobile Platform Server. For Apple push notifications, you may also need to configure additional properties for sending notifications from SAP Mobile Platform Server to APNS.

Notification properties are set in SMP_HOME\Server\props.ini. Create a backup copy of this file before making any changes.
Note: Reconfigure the SAP Mobile Platform Server Windows service for the changes to take effect.

Changing the Push URL

Configure the base URL used to send any type of notification from the back-end system by editing this property in props.ini:
-Dcom.sap.mobile.platform.server.notifications.baseurl
The default value is http://SMPHostName:8080/. Replace SMPHostName with the host name of SAP Mobile Platform Server.
Note: The host name must be accessible from the back-end system that is sending notifications.
Change the protocol to https if required. Change the port number if required.

Configuring APNS Push Notifications

If you are using APNS and SAP Mobile Platform Server is installed behind a firewall, you can send notifications to APNS using either a SOCKS proxy or a load balancer.

To send notifications through a SOCKS proxy, edit these properties in props.ini:

Property Description
-DapnsSocksProxyHost IP address of the SOCKS proxy used to connect to APNS.
-DapnsSocksProxyPort

SOCKS proxy port.

The default value is 1080. The apnsSocksProxyHost property must be set in order for this value to be used.

To send notifications through a load balancer, consult your network administrator.

Related tasks
Configuring Push for Native and Hybrid
Apple Push Notifications
Reconfiguring the Windows Service After Server Configuration Changes