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