Push Notification Service
The push notification service (PnS) is now an integral part of enaio® appconnector and will be deployed to notify the user of new messages.
The PnS checks regularly whether new messages of subscriptions, follow-ups, or workflow process steps are available. If this is the case, the app notifies you of every new message even when it is not active. Users can customize the display of a message in the app.
The PnS is only available for enaio® app running on iOS.
To configure the push notification service, edit the osrest.properties configuration file in the program directory \services\OS_AppConnector\configuration.
Key name | Description |
---|---|
services.pushnotification.enabled | To enable the PnS, set the value to 'true.' |
services.pushnotification.proxy.enabled | UrbanAirship is integrated via the Internet. If there is a proxy server between enaio® appconnector and the Internet, set this parameter to 'true.' |
services.pushnotification.proxy.address | If the proxy server is enabled, the proxy server address or IP will be entered here. For example: proxy.my-company.com |
services.pushnotification.proxy.port | If the proxy server is enabled, the port from which the proxy server with the specified address can be accessed will be entered here. For example: 3128 |
services.pushnotification.proxy.username | The login user name will be entered here if the proxy server is enabled and a login user name is required. |
services.pushnotification.proxy.password | The login password will be entered here if the proxy server is enabled and a login password is required. |
services.pushnotification.production | The default setting 'true' must be left unchanged for notifications. 'false' switches notifications off and development notifications on in development environments. |
enaio® appconnector must be restarted after changing the configuration.
To test the configuration, trigger a subscription or a follow-up in the app, for example. Then check whether you have received an automatic notification about the change even if the app was not active.
Information about possible errors in your PnS configuration can be found in the enaio® appconnector log. The osrest.log log file is located in the logs program directory.