Configuring your MoEngage Account
- Please make sure you have set up Firebase in your application.
- Configure FCM Authorization on the MoEngage Dashboard. For more information, refer to FCM Authentication.
- Ensure you add the keys in both the Test and Live environments.
Adding metadata for push notification
Metadata regarding the notification is required to show push notifications where the small icon and large icon drawable are mandatory. For more information about API reference for all the possible options, refer to NotificationConfig. Use the configureNotificationMetaData() to transfer the configuration to the SDK.Notification Small Icon GuidelinesThe notification small icon should be flat, pictured face on, and must be white on a transparent background.
Notification Small Icon Density, Size
| Density (dp) | Size (px) |
|---|---|
| MDPI | 24x24 |
| HDPI | 36x36 |
| XHDPI | 48x48 |
| XXHDPI | 72x72 |
| XXXHDPI | 96x96 |