Integrating push notifications in Flutter requires setting up each native platform separately. Follow the respective guides below to finish the installation.
Step 1: Complete native setup
Step 2: Test displaying push notifications
Follow the steps below to test your push integration.
You can’t test push notification related app behavior on an iOS simulator because simulators don’t support the device tokens required to send and receive a push notification.
- Set an active user in the Flutter application. To do so, initialize your plugin by calling
- Head to Campaigns and create a new Push Notification campaign. Choose the platforms that you’d like to test.
- Compose your test notification and head over to the Test tab. Add the same
user-idas the test user and click Send Test.
- You should receive the notification on your device shortly. You may need to check in the Notification Center or update Settings if it doesn’t display.