flutter_app_badge_control
0.0.2, released 2 years ago by an unverified publisher
Flutter plugin for managing app icon badges on iOS and Android devices.
What it does
It allows you to update or remove the badge count on your app icon for both iOS and Android platforms. It also provides functionality to check if app badge support is available on the device.
AI-written summary of version 0.0.2, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need to display unread counts on your app icon
- You want to remove or reset badge counts on iOS and Android
Skip it when
- You need badge updates to actually take effect on Android devices using `updateBadgeCount`
- You are not using notifications permission on iOS
Strengths
- Provides a simple API to check, update, and remove app icon badges
- Supports both iOS and Android platforms
Weaknesses
- Calling `updateBadgeCount()` has no effect on Android devices
- Requires requesting notification permissions on iOS
Setup
- Kind
- Plugin (native code)
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 1
Requires requesting notification permissions on iOS. On Android, it uses notification channels.
FlutterAppBadgeControl.isAppBadgeSupported().then((value) {
print("isAppBadgeSupported: $value");
});
FlutterAppBadgeControl.removeBadge();
FlutterAppBadgeControl.updateBadgeCount(1);Alternatives
Packages that do the same job and could replace flutter_app_badge_control.
- flutter_app_badge
Update the app badge on the launcher for iOS and macOS.
50Compare - flutter_native_badge
Flutter plugin to set, clear, and query app icon badge counts on iOS, macOS, and Android.
70Compare - eraser
A flutter plugin that allows remote push notifications to be dismissed and the iOS badge count to be reset.
75Compare - flutter_new_badger
Handle app icon badges for iOS, macOS, and Android
60Compare
Works with
Packages commonly used together with flutter_app_badge_control: ones it builds on, ones built on it, and its own family.