If you would like to upgrade to a newer long-term support version of Studio Pro, see Moving from Mendix Studio Pro 8 to 9.
Implement the Push Notifications Module
Last modified: August 19, 2024
Introduction
Now that you have implemented the prerequisites in your app, you must implement the Push Notifications Connector module. Complete the steps below to enable the basic configuration.
Download From Marketplace
If you have not done so, make sure to download the Push Notification Connector module from the Marketplace:
- Open up the Marketplace from Studio Pro.
- Search for Push Notification Connector.
- Open the Push Notification Connector module.
- Click Download.
Configure Your App
In order for your app to use to use the Push Connections Module, configure the following things:
- Open Project > Security in the App Explorer.
- Go to User roles.
- Adjust the user roles that should have access to the push notifications:
- The
Administrator
module role should be assigned to at least one user executing configuration and administrative tasks. - The
Anonymous
module role may be assigned to your anonymous project user role. - The
User
role is for any user role that needs to interact with notifications without being anAdministrator
orAnonymous
user. - Verify that the
NativeMobileResources.User
module role has been added to any user role that needs to interact with notifications.
- The
- Save the Security settings.
- Open up Project > Navigation in the App Explorer.
- Add a new open page navigation item to the Responsive navigation profile.
- Select the Administration page from the PushNotifications module. This page is located in the _USE ME/Web folder of the PushNotifications module.
- Add a microflow sub-call to your AfterStartup microflow for the microflow AfterStartup_PushNotifications:
- If you do not have an AfterStartup microflow configured yet, read the After Startup section of App Settings for more information.
Now you are able to start your app and move on to the next step: Set Up the Google Firebase Cloud Messaging Server.