Maintenance ModeYou are viewing Amplify Gen 1 documentation. Amplify Gen 1 has entered maintenance mode and will reach end of life on May 1, 2027. New project should use Amplify Gen 2. For existing Gen 1 projects, a migration guide and tooling are available to help you upgrade. Switch to the latest Gen 2 docs → Add app badge count
Amplify Flutter v1 is deprecated as of April 30th, 2025. No new features or bug fixes will be added. Dependencies may become outdated and potentially introduce compatibility issues.
Please use the latest version (v2) of Amplify Flutter to get started.
If you are currently using v1, follow these instructions to upgrade to v2.
The app badge count, when set, can be seen on your app's icon on a user's device. Amplify provides you with simple helpers to manipulate this number.
App badge count helpers are safe to call (but will be ignored) even when your
app is running on platforms where badges are not supported.
Use getBadgeCount to get the current app badge count. You might need to do this to calculate the value when setting the badge count.
Use setBadgeCount to set the current app badge count. Setting the badge count to 0 (zero) will remove the badge from your app's icon.