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

APP被杀死,设置没反应 #5

Open chg2015 opened 5 years ago

chg2015 commented 5 years ago

APP从后台被杀死,接收到推送,设置FlutterAppBadger.updateBadgeCount(5)没反应。

g123k commented 5 years ago

Please translate your message in English

chg2015 commented 5 years ago

App was killed from the background, received a push, set FlutterAppBadger. updateBadgeCount (5) did not respond.

g123k commented 5 years ago

Hello,

Thanks for the translation. Have you tried the demo app? Is-it working?

If so, this is related to your code (which I think is the case) and not this plugin.

chg2015 commented 5 years ago

When the application is open, it is normal. If the application is not opened, the corner mark will not change.I tested it. I'm an Android phone.

chg2015 commented 5 years ago

I hope you can test if you can change the number normally in this situation.

g123k commented 5 years ago

Are you sure the plugin code is called in this situation? For me, this is not related to this plugin.

parth22 commented 5 years ago

Hello,

Thanks for the translation. Have you tried the demo app? Is-it working?

If so, this is related to your code (which I think is the case) and not this plugin.

no, demo app is also not working on some devices shows message 'Not supported' as mentioned in example i tested on some vivo device and mi device also.