flutter_app_badger
flutter_app_badger copied to clipboard
flutter_app_badger Not working on android devices. Is there any limitations ?
I did following on pubspec.yaml : flutter_app_badger: ^1.0.3 and imported import 'package:flutter_app_badger/flutter_app_badger.dart'; inside dart file. but when I run the project on device it shows "Badge supported : Not supported"
I need more details please, including the device causing the problem.
Also, please read the README, where I clearly mention that on Android this plugin is just using the following library https://github.com/leolin310148/ShortcutBadger/
Please check if your device is in the list.
Ok. my device is Nokia 5 1 plus having Android Oreo and I want to support this plugin for Oreo and above.
On Oreo and above, the only solution to have a badge on the launchscreen is to have a notification in the notification tray.
Unlike iOS, there is no API available on Android.
Ok so basically this plugin is not for latest android devices. I am putting here the logs / error
I/ShortcutBadger(21106): Checking if platform supports badge counters, attempt 1/3.
I/ShortcutBadger(21106): Checking if platform supports badge counters, attempt 2/3. I/ShortcutBadger(21106): Checking if platform supports badge counters, attempt 3/3. [{"event":"app.progress","params":{"appId":"a19b893f-2eeb-4c54-9cda-5bd5ba1772fd","id":"3","progressId":null,"message":"Syncing files to device Nokia 5 1 Plus..."}}]Syncing files to device Nokia 5 1 Plus...
W/ShortcutBadger(21106): Badge counter seems not supported for this platform: unable to resolve intent: Intent { act=android.intent.action.BADGE_COUNT_UPDATE (has extras) }
It depends...
If the device is using one of the launchers listed here: https://github.com/leolin310148/ShortcutBadger/, it may be supported
Otherwise yes you're right.
Ok Thanks @g123k. if is there any link to display flutter badge notification then please provide here.
@g123k is your package support for this case? https://github.com/leolin310148/ShortcutBadger/blob/master/SampleApp/src/main/java/me/leolin/shortcutbadger/example/BadgeIntentService.java
This is issue in xiaomi devices
@g123k is your package support for this case? https://github.com/leolin310148/ShortcutBadger/blob/master/SampleApp/src/main/java/me/leolin/shortcutbadger/example/BadgeIntentService.java
This is issue in xiaomi devices
same issue
Xiaomi related issue has been resolved in recent pull request #59 Not sure when it will be merged.
Xiaomi related issue has been resolved in recent pull request #59 Not sure when it will be merged.
Yeah, I have the same problem in my Xiomi device.
same problem. And also I confirmed that device is listed in https://github.com/leolin310148/ShortcutBadger/ Is there any settings on Android device?
not working in android device , i have vivo mobile, but in console its says platform is supported but its not working, can any one please help me to slove this.