fix android with flutter 3.0
This commit is contained in:
+4
-4
@@ -12,12 +12,12 @@ class Application : FlutterApplication(), PluginRegistrantCallback {
|
||||
super.onCreate()
|
||||
}
|
||||
|
||||
override fun registerWith(registry: PluginRegistry?) {
|
||||
PathProviderPlugin.registerWith(registry?.registrarFor(
|
||||
override fun registerWith(registry: PluginRegistry) {
|
||||
PathProviderPlugin.registerWith(registry.registrarFor(
|
||||
"io.flutter.plugins.pathprovider.PathProviderPlugin"))
|
||||
SharedPreferencesPlugin.registerWith(registry?.registrarFor(
|
||||
SharedPreferencesPlugin.registerWith(registry.registrarFor(
|
||||
"io.flutter.plugins.sharedpreferences.SharedPreferencesPlugin"))
|
||||
FlutterLocalNotificationsPlugin.registerWith(registry?.registrarFor(
|
||||
FlutterLocalNotificationsPlugin.registerWith(registry.registrarFor(
|
||||
"com.dexterous.flutterlocalnotifications.FlutterLocalNotificationsPlugin"))
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user