From 547769de7574ad840117d8271912dc24d5fa89c9 Mon Sep 17 00:00:00 2001 From: Dmitry Sovgyr Date: Tue, 6 Oct 2020 13:54:10 +0300 Subject: [PATCH] Replace deprecated plugin declaration --- pubspec.yaml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/pubspec.yaml b/pubspec.yaml index a551a7a..b7c6e96 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -5,6 +5,7 @@ homepage: https://github.com/appspector/flutter-plugin environment: sdk: ">=2.3.1 <3.0.0" + flutter: ">=1.22.0 <2.0.0" dependencies: flutter: @@ -12,5 +13,9 @@ dependencies: flutter: plugin: - androidPackage: com.appspector.flutter - pluginClass: AppSpectorPlugin + platforms: + android: + package: com.appspector.flutter + pluginClass: AppSpectorPlugin + ios: + pluginClass: AppSpectorPlugin