This article explains the steps needed to enable Push Notifications in GXflow Native Mobile Custom Client based on Unanimo design system.
Set to True the Enable Notifications property on the Startup Object (WorkflowMobileMenu) and configure the Procedure WorkflowMobileNotificationsRegistrationHandler in the Registration Handler property.
GXflow Native Mobile Notifications Property
This Procedure will register each device on the WorkflowMobileDevices table when the application is executed, and every time a user logs in from a device his UserId will be linked to it.
Note: Only the last user who logged in to the application will receive the notifications on that device.
For the tasks that you want to send push notifications to the users, you will need to assign the appropriate Procedure.
GXflow Native Mobile Notifications Event Handling
Once this Procedure is set, a push notification will be sent to the devices which are registered with the UserId of a user who has the roles needed to execute the task that called the sender Procedure.
By default, the notification only shows an event message as a title and the task name as a description.
You can customize the title of the Notification by changing the Event message on the WorkflowMobileGetEventMessage Procedure.
If you want to create your own notifications, check the Notification Provider API
GXflow Native Mobile Custom Client based on Unanimo design system