Build a Native App with Push Notifications Enabled

Last update: Edit

1 Introduction

Now that you have implemented push notifications, it is time to build and deploy the native mobile app. Deploying your iOS or Android app allows the server to send push notifications to mobile devices which have your app installed.

2 Build Your Native App

  1. In Studio Pro top bar navigation, click App > Build Native Mobile App:
    a. If you are building your native app for the first time, click here for instructions.
  2. After choosing the type of build (local development or distribution) go to App capabilities.
  3. Under Firebase configuration switch Push notifications to On.
  4. Scroll down and upload the Firebase configurations:
    a. google-services.json for the Android build.
    b. GoogleServices-Info.plist for the iOS build.
  5. Save the configuration. Now you are ready to build.

When building for local development, keep in mind that Mendix’s Make it Native does not support push notifications. In order to use and test push notifications, you will have to build your own native app as described above and distribute it to an emulator (Android only) or test device.

Now you are able to build, the next step is to run your app in an emulator or test device so you can try to Send Your First Test Push Notification.