flutter_background
flutter_background copied to clipboard
[BUG] binaryMessenger null value
Describe the bug when i start the application null exception trowed
To Reproduce final androidConfig = FlutterBackgroundAndroidConfig(
notificationTitle: "Allarme",
notificationText: "Notifica per gli errori",
notificationImportance: AndroidNotificationImportance.Default,
notificationIcon: AndroidResource(name: 'background_icon', defType: 'drawable'),
// Default is ic_launcher from folder mipmap
); bool a = await FlutterBackground.initialize(androidConfig: androidConfig); add this code to the main and run start
Screenshots
Smartphone:
- Device: redmi note 7
- OS: android 11
Logs
``` ```
This bug is still there on the version flutter_background: ^1.0.2+1
@slowisfast168 @DanielusG Can you check if that error still exists with the current version (v. 1.1.0) and let me know?
I just ran into this on 1.1.0. Cheers
Did this issue be solved? I meet this one on 1.0.0v
Unfortunately, I currently don't have time to test this. I hope, I will be able to test and fix this within the coming months.