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.
Build a Native App with Push Notifications Enabled
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.
Build Your Native App
- In Studio Pro top bar navigation, click App > Build Native Mobile App:
- If you are building your native app for the first time, click here for instructions.
- After choosing the type of build (local development or distribution) go to App capabilities.
- Under Firebase configuration switch Push notifications to On.
- Scroll down and upload the Firebase configurations:
- google-services.json for the Android build.
- GoogleServices-Info.plist for the iOS build.
- 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.