You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 11, 2024. It is now read-only.
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?
The text was updated successfully, but these errors were encountered:
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?
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?
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.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I use
flutter_app_badger
and 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?
The text was updated successfully, but these errors were encountered: