Part 4: Configure Push Notifications

Last modified: August 20, 2024

Introduction

This guide teaches you how to configure the runtime for using push notifications in native apps.

Configuring Your Notifications

If you have completed Add Module Dependencies and Implement the Push Notifications Module per your use case, do the following to configure your push notifications:

  1. Open your app in Mendix Studio Pro.
  2. Log in as the Administrator user you previously designated.
  3. Navigate to the Administration page.

The first time you open this page it will present you with a wizard to set up the Firebase configuration. If you have not set up Firebase yet, see Set Up the Google Firebase Cloud Messaging Server.

test entity

When selecting a platform to support, the wizard will ask for the Google Firebase project ID and service account private key. Upload the private key file here.

File Source Usage
{project_id}-firebase-adminsdk-{identifier}.json Google Firebase Private key for the Firebase service account, used in runtime configuration.

Now you completed the initial setup wizard, you can move on the next section to set up push notifications in your native mobile app or to part 6 do so in a progressive web app.