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