Open mahmoud-haj-ali opened 1 year ago
the cause of this crash is on the line "at id.flutter.plugins.FlutterBluetoothPrinterPlugin.ensurePermission(FlutterBluetoothPrinterPlugin.java:127)" it says activity.checkSelfPermission called when activity is null So, the solution is add a activity nullable guard like this to the package code
I have created pull request to fix this issue, thank @hungthinhitj Check it please @ekasetiawans
When I'm trying to enable bluetooth, the app is crashed, and throw this exception: