From dc3f866e36e7fa5f9da2dc6f116301a13d11deab Mon Sep 17 00:00:00 2001 From: v7lin Date: Sat, 11 Jul 2020 12:31:36 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CHANGELOG.md | 4 ++++ android/build.gradle | 2 +- .../io/github/v7lin/tencent_kit/TencentKitPlugin.java | 4 ++-- example/ios/Podfile.lock | 8 ++++---- example/pubspec.lock | 2 +- ios/tencent_kit.podspec | 2 +- pubspec.yaml | 2 +- 7 files changed, 14 insertions(+), 10 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 79c1357..f635724 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +## 1.1.1 + +* 优化 + ## 1.1.0 * 升级 V2 插件 diff --git a/android/build.gradle b/android/build.gradle index 24918fd..0d350be 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -1,5 +1,5 @@ group 'io.github.v7lin.tencent_kit' -version '1.1.0' +version '1.1.1' buildscript { repositories { diff --git a/android/src/main/java/io/github/v7lin/tencent_kit/TencentKitPlugin.java b/android/src/main/java/io/github/v7lin/tencent_kit/TencentKitPlugin.java index 967a7d0..53904fb 100644 --- a/android/src/main/java/io/github/v7lin/tencent_kit/TencentKitPlugin.java +++ b/android/src/main/java/io/github/v7lin/tencent_kit/TencentKitPlugin.java @@ -45,9 +45,9 @@ public class TencentKitPlugin implements FlutterPlugin, ActivityAware { @Override public void onDetachedFromEngine(@NonNull FlutterPluginBinding binding) { - tencentKit.setApplicationContext(null); - tencentKit.setActivity(null); tencentKit.stopListening(); + tencentKit.setActivity(null); + tencentKit.setApplicationContext(null); } // --- ActivityAware diff --git a/example/ios/Podfile.lock b/example/ios/Podfile.lock index 281b5f3..bb198cb 100644 --- a/example/ios/Podfile.lock +++ b/example/ios/Podfile.lock @@ -6,10 +6,10 @@ PODS: - Flutter - path_provider_macos (0.0.1): - Flutter - - tencent_kit (1.1.0): + - tencent_kit (1.1.1): - Flutter - - tencent_kit/vendor (= 1.1.0) - - tencent_kit/vendor (1.1.0): + - tencent_kit/vendor (= 1.1.1) + - tencent_kit/vendor (1.1.1): - Flutter DEPENDENCIES: @@ -36,7 +36,7 @@ SPEC CHECKSUMS: path_provider: abfe2b5c733d04e238b0d8691db0cfd63a27a93c path_provider_linux: 4d630dc393e1f20364f3e3b4a2ff41d9674a84e4 path_provider_macos: f760a3c5b04357c380e2fddb6f9db6f3015897e0 - tencent_kit: 861c8093fe0458832be269ec5e8dbdb48128f799 + tencent_kit: 76514b42b7488bde9d89ddc003ce067a51ab5235 PODFILE CHECKSUM: f32fb4e7c14f8b3ca19a369d7be425dd9241af27 diff --git a/example/pubspec.lock b/example/pubspec.lock index 7992c6e..4dd861b 100644 --- a/example/pubspec.lock +++ b/example/pubspec.lock @@ -246,7 +246,7 @@ packages: path: ".." relative: true source: path - version: "1.1.0" + version: "1.1.1" term_glyph: dependency: transitive description: diff --git a/ios/tencent_kit.podspec b/ios/tencent_kit.podspec index 6782491..8068a65 100644 --- a/ios/tencent_kit.podspec +++ b/ios/tencent_kit.podspec @@ -4,7 +4,7 @@ # Pod::Spec.new do |s| s.name = 'tencent_kit' - s.version = '1.1.0' + s.version = '1.1.1' s.summary = 'A powerful Flutter plugin allowing developers to auth/share with natvie Android & iOS Tencent SDKs.' s.description = <<-DESC A powerful Flutter plugin allowing developers to auth/share with natvie Android & iOS Tencent SDKs. diff --git a/pubspec.yaml b/pubspec.yaml index 5956303..55199b2 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,6 +1,6 @@ name: tencent_kit description: A powerful Flutter plugin allowing developers to auth/share with natvie Android & iOS Tencent SDKs. -version: 1.1.0 +version: 1.1.1 # author: v7lin homepage: https://github.com/v7lin/fake_tencent