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:
|
||||
- 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
|
||||
|
@ -1,3 +1,8 @@
|
||||
## 0.2.4 - 2019.9.26
|
||||
|
||||
* 降级Android SDK
|
||||
* 升级iOS SDK
|
||||
|
||||
## 0.2.3 - 2019.8.1
|
||||
|
||||
* 升级Android SDK
|
||||
|
24
README.md
24
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列为白名单,才可正常检查其他应用是否安装。
|
||||
<key>LSApplicationQueriesSchemes</key>
|
||||
<array>
|
||||
@ -72,24 +76,24 @@ iOS 9系统策略更新,限制了http协议的访问,此外应用需要在
|
||||
</dict>
|
||||
</dict>
|
||||
</dict>
|
||||
````
|
||||
```
|
||||
## flutter
|
||||
|
||||
* snapshot
|
||||
|
||||
````
|
||||
```
|
||||
dependencies:
|
||||
fake_weibo:
|
||||
git:
|
||||
url: https://github.com/v7lin/fake_weibo.git
|
||||
````
|
||||
```
|
||||
|
||||
* release
|
||||
|
||||
````
|
||||
```
|
||||
dependencies:
|
||||
fake_weibo: ^${latestTag}
|
||||
````
|
||||
```
|
||||
|
||||
* example
|
||||
|
||||
|
@ -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'
|
||||
}
|
||||
|
@ -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)",
|
||||
|
@ -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
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
name: fake_weibo
|
||||
description: A powerful weibo plugin for Flutter.
|
||||
version: 0.2.3
|
||||
version: 0.2.4
|
||||
author: v7lin <v7lin@qq.com>
|
||||
homepage: https://github.com/v7lin/fake_weibo
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user