From 2c5a4188973ed87adbed4cb2be63b9b82e888dc3 Mon Sep 17 00:00:00 2001 From: developer Date: Thu, 21 Jan 2021 16:00:24 +0800 Subject: [PATCH] fix --- example/.flutter-plugins-dependencies | 2 +- example/pubspec.lock | 2 +- pubspec.tpl.yaml | 25 +++++++++++++++++++++++++ 3 files changed, 27 insertions(+), 2 deletions(-) create mode 100644 pubspec.tpl.yaml diff --git a/example/.flutter-plugins-dependencies b/example/.flutter-plugins-dependencies index 3398d9b..1b0347e 100644 --- a/example/.flutter-plugins-dependencies +++ b/example/.flutter-plugins-dependencies @@ -1 +1 @@ -{"info":"This is a generated file; do not edit or check into version control.","plugins":{"ios":[{"name":"mop","path":"/Users/gordanyang/workspace/finapplet/mop-flutter-sdk/","dependencies":[]}],"android":[{"name":"mop","path":"/Users/gordanyang/workspace/finapplet/mop-flutter-sdk/","dependencies":[]}],"macos":[],"linux":[],"windows":[],"web":[]},"dependencyGraph":[{"name":"mop","dependencies":[]}],"date_created":"2021-01-19 22:57:24.869996","version":"1.22.5"} \ No newline at end of file +{"info":"This is a generated file; do not edit or check into version control.","plugins":{"ios":[{"name":"mop","path":"/Users/gordanyang/workspace/finapplet/mop-flutter-sdk/","dependencies":[]}],"android":[{"name":"mop","path":"/Users/gordanyang/workspace/finapplet/mop-flutter-sdk/","dependencies":[]}],"macos":[],"linux":[],"windows":[],"web":[]},"dependencyGraph":[{"name":"mop","dependencies":[]}],"date_created":"2021-01-19 23:01:20.156529","version":"1.22.5"} \ No newline at end of file diff --git a/example/pubspec.lock b/example/pubspec.lock index 3ae3477..bbd7f40 100644 --- a/example/pubspec.lock +++ b/example/pubspec.lock @@ -87,7 +87,7 @@ packages: path: ".." relative: true source: path - version: "1.0.7" + version: "1.0.8" path: dependency: transitive description: diff --git a/pubspec.tpl.yaml b/pubspec.tpl.yaml new file mode 100644 index 0000000..5948fb0 --- /dev/null +++ b/pubspec.tpl.yaml @@ -0,0 +1,25 @@ +name: mop +description: A Finogeeks MiniProgram Flutter SDK. +version: __mop_flutter_sdk_version__ +homepage: https://github.com/finogeeks/mop-flutter-sdk + +environment: + sdk: '>=2.1.0 <3.0.0' + flutter: '^1.10.0' + +dependencies: + flutter: + sdk: flutter + +dev_dependencies: + flutter_test: + sdk: flutter + +flutter: + plugin: + platforms: + android: + package: com.finogeeks.mop + pluginClass: MopPlugin + ios: + pluginClass: MopPlugin