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
307 stars 172 forks source link

Attempt to invoke interface method 'void io.flutter.plugin.common.BinaryMessenger.setMessageHandler(java.lang.String, io.flutter.plugin.common.BinaryMessenger$BinaryMessageHandler)' on a null object reference #43

Open jiangzhiguo1992 opened 3 years ago

jiangzhiguo1992 commented 3 years ago

Attempt to invoke interface method 'void io.flutter.plugin.common.BinaryMessenger.setMessageHandler(java.lang.String, io.flutter.plugin.common.BinaryMessenger$BinaryMessageHandler)' on a null object reference

flutter:2.2.0 device:android

AdemilsonMarsiglio commented 3 years ago

https://pub.dev/packages/flutter_app_icon_badge

This works.

g123k commented 3 years ago

@jiangzhiguo1992 Please provide the full stack trace please