diff --git a/.drone.yml b/.drone.yml
index 77c8674..1061906 100644
--- a/.drone.yml
+++ b/.drone.yml
@@ -3,7 +3,7 @@ name: default
steps:
- name: prepare
- image: v7lin/flutter:1.7.8-hotfix.3-stable
+ image: v7lin/flutter:1.9.1-hotfix.2-stable
volumes:
- name: pub-cache
path: /opt/flutter/.pub-cache
@@ -11,7 +11,7 @@ steps:
- flutter packages get
#- name: build_runner
-# image: v7lin/flutter:1.7.8-hotfix.3-stable
+# image: v7lin/flutter:1.9.1-hotfix.2-stable
# volumes:
# - name: pub-cache
# path: /opt/flutter/.pub-cache
@@ -19,7 +19,7 @@ steps:
# - flutter packages pub run build_runner build
- name: format
- image: v7lin/flutter:1.7.8-hotfix.3-stable
+ image: v7lin/flutter:1.9.1-hotfix.2-stable
volumes:
- name: pub-cache
path: /opt/flutter/.pub-cache
@@ -27,7 +27,7 @@ steps:
- flutter format --dry-run --set-exit-if-changed .
- name: analyze
- image: v7lin/flutter:1.7.8-hotfix.3-stable
+ image: v7lin/flutter:1.9.1-hotfix.2-stable
volumes:
- name: pub-cache
path: /opt/flutter/.pub-cache
@@ -35,7 +35,7 @@ steps:
- flutter analyze
- name: test
- image: v7lin/flutter:1.7.8-hotfix.3-stable
+ image: v7lin/flutter:1.9.1-hotfix.2-stable
volumes:
- name: pub-cache
path: /opt/flutter/.pub-cache
@@ -45,7 +45,7 @@ steps:
- flutter test
- name: proguard
- image: v7lin/flutter:1.7.8-hotfix.3-stable
+ image: v7lin/flutter:1.9.1-hotfix.2-stable
volumes:
- name: pub-cache
path: /opt/flutter/.pub-cache
@@ -68,7 +68,7 @@ steps:
- pull_request
- name: publish-check
- image: v7lin/flutter:1.7.8-hotfix.3-stable
+ image: v7lin/flutter:1.9.1-hotfix.2-stable
volumes:
- name: pub-cache
path: /opt/flutter/.pub-cache
@@ -112,7 +112,7 @@ steps:
- rm $PUB_CACHE/credentials.json.enc
- name: publish
- image: v7lin/flutter:1.7.8-hotfix.3-stable
+ image: v7lin/flutter:1.9.1-hotfix.2-stable
volumes:
- name: pub-cache
path: /opt/flutter/.pub-cache
diff --git a/CHANGELOG.md b/CHANGELOG.md
index be81da4..dff1ebc 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,3 +1,8 @@
+## 0.2.4 - 2019.9.26
+
+* 降级Android SDK
+* 升级iOS SDK
+
## 0.2.3 - 2019.8.1
* 升级Android SDK
diff --git a/README.md b/README.md
index 8395154..109fb0e 100644
--- a/README.md
+++ b/README.md
@@ -30,21 +30,25 @@ flutter版新浪微博SDK
## android
-````
+```
# 不需要做任何额外接入工作
# 混淆已打入 Library,随 Library 引用,自动添加到 apk 打包混淆
-````
+```
## ios
-````
+```
+iOS 9.0
+```
+
+```
在Xcode中,选择你的工程设置项,选中“TARGETS”一栏,在“info”标签栏的“URL type“添加“URL scheme”为你所注册的应用程序id
URL Types
weibosdk: identifier=com.weibo schemes=wb${appKey}
-````
+```
-````
+```
iOS 9系统策略更新,限制了http协议的访问,此外应用需要在“Info.plist”中将要使用的URL Schemes列为白名单,才可正常检查其他应用是否安装。
LSApplicationQueriesSchemes
@@ -72,24 +76,24 @@ iOS 9系统策略更新,限制了http协议的访问,此外应用需要在
-````
+```
## flutter
* snapshot
-````
+```
dependencies:
fake_weibo:
git:
url: https://github.com/v7lin/fake_weibo.git
-````
+```
* release
-````
+```
dependencies:
fake_weibo: ^${latestTag}
-````
+```
* example
diff --git a/android/build.gradle b/android/build.gradle
index 684e428..61cb689 100644
--- a/android/build.gradle
+++ b/android/build.gradle
@@ -44,5 +44,5 @@ android {
}
dependencies {
- implementation 'com.sina.weibo.sdk:core:4.4.2:openDefaultRelease@aar'
+ implementation 'com.sina.weibo.sdk:core:4.3.4:openDefaultRelease@aar'
}
diff --git a/example/ios/Runner.xcodeproj/project.pbxproj b/example/ios/Runner.xcodeproj/project.pbxproj
index f740e55..3b6809e 100644
--- a/example/ios/Runner.xcodeproj/project.pbxproj
+++ b/example/ios/Runner.xcodeproj/project.pbxproj
@@ -194,6 +194,7 @@
developmentRegion = English;
hasScannedForEncodings = 0;
knownRegions = (
+ English,
en,
Base,
);
@@ -401,6 +402,7 @@
"$(PROJECT_DIR)/Flutter",
);
INFOPLIST_FILE = Runner/Info.plist;
+ IPHONEOS_DEPLOYMENT_TARGET = 9.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
LIBRARY_SEARCH_PATHS = (
"$(inherited)",
@@ -527,6 +529,7 @@
"$(PROJECT_DIR)/Flutter",
);
INFOPLIST_FILE = Runner/Info.plist;
+ IPHONEOS_DEPLOYMENT_TARGET = 9.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
LIBRARY_SEARCH_PATHS = (
"$(inherited)",
@@ -551,6 +554,7 @@
"$(PROJECT_DIR)/Flutter",
);
INFOPLIST_FILE = Runner/Info.plist;
+ IPHONEOS_DEPLOYMENT_TARGET = 9.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
LIBRARY_SEARCH_PATHS = (
"$(inherited)",
diff --git a/ios/fake_weibo.podspec b/ios/fake_weibo.podspec
index 311dd1b..fdf6d61 100644
--- a/ios/fake_weibo.podspec
+++ b/ios/fake_weibo.podspec
@@ -17,8 +17,8 @@ A new Flutter plugin.
s.dependency 'Flutter'
# 微博
s.static_framework = true
- s.dependency 'Weibo_SDK', '~> 3.2.3'
+ s.dependency 'Weibo_SDK', '~> 3.2.5.1'
- s.ios.deployment_target = '8.0'
+ s.ios.deployment_target = '9.0'
end
diff --git a/pubspec.yaml b/pubspec.yaml
index 8a80fae..3bcac81 100644
--- a/pubspec.yaml
+++ b/pubspec.yaml
@@ -1,6 +1,6 @@
name: fake_weibo
description: A powerful weibo plugin for Flutter.
-version: 0.2.3
+version: 0.2.4
author: v7lin
homepage: https://github.com/v7lin/fake_weibo