From 8c505c5a746900ba96314961d400f38530ed8482 Mon Sep 17 00:00:00 2001 From: v7lin Date: Sat, 11 Jul 2020 12:44:16 +0800 Subject: [PATCH] weibo_kit 1.1.0 --- CHANGELOG.md | 4 ++++ android/build.gradle | 2 +- .../java/io/github/v7lin/weibo_kit/WeiboKitPlugin.java | 4 ++-- example/ios/Podfile.lock | 8 ++++---- example/pubspec.lock | 2 +- ios/weibo_kit.podspec | 2 +- pubspec.yaml | 2 +- 7 files changed, 14 insertions(+), 10 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8916774..d8b548b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +## 1.1.0 + +* 优化 + ## 1.0.1 * 优化 diff --git a/android/build.gradle b/android/build.gradle index aa9fe49..b0de8f6 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -1,5 +1,5 @@ group 'io.github.v7lin.weibo_kit' -version '1.0.1' +version '1.1.0' buildscript { repositories { diff --git a/android/src/main/java/io/github/v7lin/weibo_kit/WeiboKitPlugin.java b/android/src/main/java/io/github/v7lin/weibo_kit/WeiboKitPlugin.java index e8d3df1..f59863d 100644 --- a/android/src/main/java/io/github/v7lin/weibo_kit/WeiboKitPlugin.java +++ b/android/src/main/java/io/github/v7lin/weibo_kit/WeiboKitPlugin.java @@ -43,9 +43,9 @@ public class WeiboKitPlugin implements FlutterPlugin, ActivityAware { @Override public void onDetachedFromEngine(@NonNull FlutterPluginBinding binding) { - weiboKit.setApplicationContext(null); - weiboKit.setActivity(null); weiboKit.stopListening(); + weiboKit.setActivity(null); + weiboKit.setApplicationContext(null); } // --- ActivityAware diff --git a/example/ios/Podfile.lock b/example/ios/Podfile.lock index cfcff8c..ebbb024 100644 --- a/example/ios/Podfile.lock +++ b/example/ios/Podfile.lock @@ -6,10 +6,10 @@ PODS: - Flutter - path_provider_macos (0.0.1): - Flutter - - weibo_kit (1.0.1): + - weibo_kit (1.1.0): - Flutter - - weibo_kit/vendor (= 1.0.1) - - weibo_kit/vendor (1.0.1): + - weibo_kit/vendor (= 1.1.0) + - weibo_kit/vendor (1.1.0): - Flutter - Weibo_SDK (~> 3.2.7) - Weibo_SDK (3.2.7) @@ -42,7 +42,7 @@ SPEC CHECKSUMS: path_provider: abfe2b5c733d04e238b0d8691db0cfd63a27a93c path_provider_linux: 4d630dc393e1f20364f3e3b4a2ff41d9674a84e4 path_provider_macos: f760a3c5b04357c380e2fddb6f9db6f3015897e0 - weibo_kit: 70328c34abff8f1407ea6268567adecd694fae37 + weibo_kit: 82a3b5501bbe2ae59528e683a80277079ecc95cb Weibo_SDK: 5a4d08f7e1fedbb635435e4585c8c0439c7da089 PODFILE CHECKSUM: f32fb4e7c14f8b3ca19a369d7be425dd9241af27 diff --git a/example/pubspec.lock b/example/pubspec.lock index 8703274..55722ff 100644 --- a/example/pubspec.lock +++ b/example/pubspec.lock @@ -274,7 +274,7 @@ packages: path: ".." relative: true source: path - version: "1.0.1" + version: "1.1.0" xdg_directories: dependency: transitive description: diff --git a/ios/weibo_kit.podspec b/ios/weibo_kit.podspec index ce7dc22..cffbde0 100644 --- a/ios/weibo_kit.podspec +++ b/ios/weibo_kit.podspec @@ -4,7 +4,7 @@ # Pod::Spec.new do |s| s.name = 'weibo_kit' - s.version = '1.0.1' + s.version = '1.1.0' s.summary = 'A powerful Flutter plugin allowing developers to auth/share with natvie Android & iOS Weibo SDKs.' s.description = <<-DESC A powerful Flutter plugin allowing developers to auth/share with natvie Android & iOS Weibo SDKs. diff --git a/pubspec.yaml b/pubspec.yaml index ae158b1..9638420 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,6 +1,6 @@ name: weibo_kit description: A powerful Flutter plugin allowing developers to auth/share with natvie Android & iOS Weibo SDKs. -version: 1.0.1 +version: 1.1.0 # author: v7lin homepage: https://github.com/v7lin/fake_weibo