Remove call to register plugins

It's handled by the call to `super`
This commit is contained in:
Ian VanSchooten 2024-10-29 13:57:12 -04:00
parent 9e403b8710
commit 9ccc9ae986
1 changed files with 1 additions and 3 deletions

View File

@ -58,9 +58,7 @@ class MainActivity: FlutterActivity() {
appContext = context appContext = context
//TODO: Initializing in the constructor leads to a context lacking info we need, figure out the right way to do this //TODO: Initializing in the constructor leads to a context lacking info we need, figure out the right way to do this
sites = Sites(flutterEngine) sites = Sites(flutterEngine)
GeneratedPluginRegistrant.registerWith(flutterEngine)
ui = MethodChannel(flutterEngine.dartExecutor.binaryMessenger, CHANNEL) ui = MethodChannel(flutterEngine.dartExecutor.binaryMessenger, CHANNEL)
ui!!.setMethodCallHandler { call, result -> ui!!.setMethodCallHandler { call, result ->
when(call.method) { when(call.method) {