- MoEngage handles Notification permission.
- You just have to call a single line of code mentioned on this page.
- You maintain the notification permission logic.
- Notify MoEngage SDK if permission to push notifications is granted.
Android Notification Runtime Permissions
Handle Android 13 notification runtime permissions in your Flutter app using the MoEngage SDK.
Android 13 (API level 33) and higher supports runtime permission for sending non-exempt(including Foreground Services (FGS)) notifications from an app POST_NOTIFICATIONS. This change helps users focus on the notifications that are most important to them.
Refer to the official documentation for more details.
The below-mentioned APIs are supported starting MoEngage core Android SDK version 12.3.01
When an application runs on Android 13 and wants to show notifications to the user, it must request the user’s notification permission. You have two options: let MoEngage handle permissions for you or handle the notification permission with your code.
The update push permission count API is supported starting version 12.6.00.