diff --git a/android/app/src/main/kotlin/net/defined/mobile_nebula/MainActivity.kt b/android/app/src/main/kotlin/net/defined/mobile_nebula/MainActivity.kt index ebe71c2..a78be8d 100644 --- a/android/app/src/main/kotlin/net/defined/mobile_nebula/MainActivity.kt +++ b/android/app/src/main/kotlin/net/defined/mobile_nebula/MainActivity.kt @@ -58,9 +58,7 @@ class MainActivity: FlutterActivity() { appContext = context //TODO: Initializing in the constructor leads to a context lacking info we need, figure out the right way to do this sites = Sites(flutterEngine) - - GeneratedPluginRegistrant.registerWith(flutterEngine) - + ui = MethodChannel(flutterEngine.dartExecutor.binaryMessenger, CHANNEL) ui!!.setMethodCallHandler { call, result -> when(call.method) {