Send Push-Messages to Mobile Device
Anveo Mobile App users can receive push messages from Microsoft Dynamics NAV 2015. These messages will be displayed on the screen without a synchronization process. The user may be logged out of the app data base and may be even not using the app to receive push messages. However, an internet connection is required.
A typical use case is a notification about new, important data like a Service Order assignment or a change of a customer credit limit.
System Push Messages and Notifications List in the App
A message contains two steps: First comes a system push message including sound and vibration (if supported by operating system and activated). It shows a short message about incoming data. Second, the user has to log-in into the app database, synchronize and open the list of notifications in main menu.
The list of notification includes a status unread/read and a link to the related record. In the Service Order assignment example, the message may directly link to the service order within the app. The user may delete the notification entry afterwards.
Do not send sensitive information via system push messages as they are not encrypted. However, you can send sensitive information via notification table as this will be synchronized using the enrypted data channel.
Send Notifications with C/AL
Notifications are sent on Anveo User basis using C/AL code in Microsoft Dynamics NAV 2015. Every device of the same user gets the same notification. If you want to exclude a device for a user, deactivate notifications in the Anveo User Devices list with a flag. It is not possible to send notifications to one device only, it is only on an Anveo User basis.
Please find examples on how to use notifications in codeunit ACF App Events.
Because of dependencies of third party services like from Apple, Google, your network provider and other services, Anveo cannot guarantee a transmission of push messages. Please understand that because of these dependencies, we also might discontinue the Anveo push message service without further notice at any time. If you have time-critical business processes, build your processes using internal acknowledgements of messages. This way, in case of time-outs, you may fall back to other, alternative notification systems.
Anveo Server / Firewall Requirements For Push Messages
Anveo Server is responsible to send the push messages and notifications to the devices. To allow this the firewall has to be configured to allow outgoing HTTPS on destination port 443.
Delete a Device
If you want to use your device for another Anveo User, or if you deinstall Anveo Mobile App, the device will still receive push messages of the previous user. If you permanently want to remove notifications for a user, it is required to remove the corresponding device in the Anveo User Device list in Microsoft Dynamics NAV 2015. It is not sufficient to delete the mobile app database or to uninstall the app.