Closed ibcoleman closed 4 years ago
Turns out I needed to call this registration static method to make sure "generated" plugins were registered when adding the new MethodChannel...
override fun configureFlutterEngine(flutterEngine: FlutterEngine) {
**GeneratedPluginRegistrant.registerWith(flutterEngine)**
...
}
Great plugin; worked flawlessly out of the box. The issue I'm having is that when I add any MethodChannel to my MainActivity in Android, barcode_scan "disappears". The error message is
The MainActivity is as simple as I could make it:
I'm assuming there's a very good chance I'm screwing something up.