Skip to content

Commit 35cc529

Browse files
committed
specify platforms map in pubspec.yaml
1 parent 2e30e90 commit 35cc529

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

pubspec.yaml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ homepage: https://github.com/am15h/tflite_flutter_plugin
55

66
environment:
77
sdk: ">=2.6.0 <3.0.0"
8+
flutter: ">=1.12.0 <2.0.0"
89

910
dependencies:
1011
flutter:
@@ -29,8 +30,12 @@ flutter:
2930
# be modified. They are used by the tooling to maintain consistency when
3031
# adding or updating assets for this project.
3132
plugin:
32-
androidPackage: com.tfliteflutter.tflite_flutter_plugin
33-
pluginClass: TfliteFlutterPlugin
33+
platforms:
34+
android:
35+
package: com.tfliteflutter.tflite_flutter_plugin
36+
pluginClass: TfliteFlutterPlugin
37+
ios:
38+
pluginClass: TfliteFlutterPlugin
3439

3540
# To add assets to your plugin package, add an assets section, like this:
3641
# assets:

0 commit comments

Comments
 (0)