weibo_kit/README.md
2022-05-26 15:56:03 +08:00

110 lines
3.0 KiB
Dart
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# weibo_kit
[![Pub Package](https://img.shields.io/pub/v/weibo_kit.svg)](https://pub.dev/packages/weibo_kit)
[![License](https://img.shields.io/github/license/RxReader/weibo_kit)](https://github.com/RxReader/weibo_kit/blob/master/LICENSE)
flutter版新浪微博SDK
## fake libraries
* [flutter版微信SDK](https://github.com/rxreader/wechat_kit)
* [flutter版腾讯(QQ)SDK](https://github.com/rxreader/tencent_kit)
* [flutter版新浪微博SDK](https://github.com/rxreader/weibo_kit)
* [flutter版支付宝SDK](https://github.com/rxreader/alipay_kit)
* [flutter版walle渠道打包工具](https://github.com/rxreader/walle_kit)
## dart/flutter
* [simple_pub_server](https://github.com/rxreader/simple_pub_server)
## docs
* [Android ](https://open.weibo.com/wiki/Sdk/android)
* [iOS ](https://open.weibo.com/wiki/Sdk/ios)
* [Android Github](https://github.com/sinaweibosdk/weibo_android_sdk)
* [iOS Github](https://github.com/sinaweibosdk/weibo_ios_sdk)
* [Universal Links](https://developer.apple.com/documentation/uikit/inter-process_communication/allowing_apps_and_websites_to_link_to_your_content)
## android
```
#
# Library Library apk
```
#### android
-> app_signatures.apk
```shell
keytool -list -v -keystore ${your_keystore_path} -storepass ${your_keystore_password} 2>/dev/null | grep -p 'MD5:.*' -o | sed 's/MD5://' | sed 's/ //g' | sed 's/://g' | awk '{print tolower($0)}'
```
```shell
keytool -list -v -keystore example/android/app/infos/dev.jks -storepass 123456 2>/dev/null | grep -p 'MD5:.*' -o | sed 's/MD5://' | sed 's/ //g' | sed 's/://g' | awk '{print tolower($0)}'
```
```shell
28424130a4416d519e00946651d53a46
```
## ios
```
iOS 9.0
```
```
Xcode中TARGETSinfoURL typeURL schemeid
URL Types
weibosdk: identifier=weibo schemes=wb${appKey}
```
```
iOS 9http协议的访问Info.plist使URL Schemes列为白名单
<key>LSApplicationQueriesSchemes</key>
<array>
<string>sinaweibo</string>
<string>sinaweibohd</string>
<string>weibosdk</string>
<string>weibosdk2.5</string>
<string>weibosdk3.3</string>
</array>
```
## flutter
* break change
* 4.0.0:
* 3.0.0:
* 2.0.2: iOS Universal Links
* 2.0.0: nullsafety & Android embedding v1 & Weibo
* snapshot
```
dependencies:
weibo_kit:
git:
url: https://github.com/rxreader/weibo_kit.git
```
* release
```
dependencies:
weibo_kit: ^${latestTag}
```
* example
[](./example/lib/main.dart)
## Star History
![stars](https://starchart.cc/rxreader/weibo_kit.svg)