g123k / flutter_app_badger

Support to update the app badge on the launcher (both for Android and iOS)
https://pub.dev/packages/flutter_app_badger
Apache License 2.0
308 stars 161 forks source link

Xiaomi Support Added #59

Open sikandernoori opened 2 years ago

sikandernoori commented 2 years ago

Xiaomi devices not working before, I have updated the Plugin to support Xiaomi devices. Feel free to merge / improve code.

g123k commented 2 years ago

Your implementation is not only for Xiaomi devices, but Android O+ devices in general. However, since it will force a notification for the user, I don't think this is the right way to solve this issue.

(Actually, it think there is no way to fix it for Android O+)

SalahAdDin commented 2 years ago

Your implementation is not only for Xiaomi devices, but Android O+ devices in general. However, since it will force a notification for the user, I don't think this is the right way to solve this issue.

(Actually, it think there is no way to fix it for Android O+)

Why? Is it related to Flutter itself?

g123k commented 2 years ago

No it's an Android issue

SalahAdDin commented 2 years ago

So, it is a fail from Google: Why don't they make its star system full compatible with its star framework?

utkudenis commented 2 years ago

When will you accept this commit ? @g123k range and number of xiomi devices huge :(

g123k commented 1 year ago

When will you accept this commit ? @g123k range and number of xiomi devices huge :(

No. Already explained here: https://github.com/g123k/flutter_app_badger/pull/59#issuecomment-1086608339