flutter_app_badger
flutter_app_badger copied to clipboard
flutter_app_badger only show badges on Android when having a push notification
I use flutter_app_badger and It work perfect on iOS device.
But On my Android device, I cannot use FlutterAppBadger.updateBadgeCount(1) or FlutterAppBadger.removeBadge() for updating badges.
Badges on my Android device, It only update when having a push notification. Then, I can use FlutterAppBadger.updateBadgeCount(1) or FlutterAppBadger.removeBadge() for updating badges.
How can i update the badge on android device without depending on pushing notification?
I use
flutter_app_badgerand It work perfect on iOS device.But On my Android device, I cannot use
FlutterAppBadger.updateBadgeCount(1)orFlutterAppBadger.removeBadge()for updating badges.Badges on my Android device, It only update when having a push notification. Then, I can use
FlutterAppBadger.updateBadgeCount(1)orFlutterAppBadger.removeBadge()for updating badges.How can I update the badge on android device without depending on pushing notification?
These methods are supported by some android devices but not all, to check if your device supports the badge or not use FlutterAppBadger.isAppBadgeSupported();
On my Samsung Galaxy S10 and Google Pixel 5 FlutterAppBadger.isAppBadgeSupported() returns true but when I call FlutterAppBadger.updateBadgeCount(1) it does not display any badge on my icon. Other apps like Gmail show the badge properly. Any ideas?
+1 Same problem here
Same Problem here with a Pixel
Android does not offer the same badge display functionality at the OS level as iOS. They are provided at the API level by the manufacturer of the device or launcher application (e.g. MicrosoftLauncher). Basically, Android should not support Badge display and should conform to the specifications of the OS, launcher app, and device.