mirror of
https://github.com/RxReader/tencent_kit.git
synced 2025-05-17 15:26:37 +08:00
Merge branch 'master' into feature_5.0.0
# Conflicts: # README.md
This commit is contained in:
56
README.md
56
README.md
@ -7,25 +7,33 @@ flutter版腾讯(QQ)SDK
|
||||
|
||||
## 相关工具
|
||||
|
||||
* [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)
|
||||
* [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版深度链接](https://github.com/RxReader/link_kit)
|
||||
* [Flutter版walle渠道打包工具](https://github.com/RxReader/walle_kit)
|
||||
|
||||
## Dart/Flutter Pub 私服
|
||||
## dart/flutter 私服
|
||||
|
||||
* [simple_pub_server](https://github.com/RxReader/simple_pub_server)
|
||||
* [simple_pub_server](https://github.com/rxreader/simple_pub_server)
|
||||
|
||||
## 相关文档
|
||||
|
||||
* [腾讯开放平台](https://open.tencent.com/)
|
||||
* [QQ互联](http://wiki.connect.qq.com/)
|
||||
* [Universal Links](https://developer.apple.com/library/archive/documentation/General/Conceptual/AppSearch/UniversalLinks.html)
|
||||
* [QQ 创建、填写及校验UniversalLinks](https://wiki.connect.qq.com/%E5%A1%AB%E5%86%99%E5%8F%8A%E6%A0%A1%E9%AA%8Cuniversallinks)
|
||||
* [Apple Universal Links](https://developer.apple.com/library/archive/documentation/General/Conceptual/AppSearch/UniversalLinks.html)
|
||||
|
||||
## FEATURE
|
||||
|
||||
* 5.x.y 通过配置 pubspec.yaml 和 cli 抹平 Android/iOS 平台的复杂配置
|
||||
|
||||
## 开始使用
|
||||
|
||||
### Android
|
||||
### android
|
||||
|
||||
* 接入
|
||||
|
||||
```groovy
|
||||
android {
|
||||
@ -41,7 +49,9 @@ android {
|
||||
# 混淆已打入 Library,随 Library 引用,自动添加到 apk 打包混淆
|
||||
```
|
||||
|
||||
### iOS
|
||||
### ios
|
||||
|
||||
* 申明
|
||||
|
||||
```
|
||||
出于插件的基本需求,将 SDK 的 module.modulemap 内容修改
|
||||
@ -59,6 +69,8 @@ framework module TencentOpenApi{
|
||||
}
|
||||
```
|
||||
|
||||
* 接入
|
||||
|
||||
```
|
||||
在Xcode中,选择你的工程设置项,选中“TARGETS”一栏,在“info”标签栏的“URL type“添加“URL scheme”为你所注册的应用程序id
|
||||
|
||||
@ -107,13 +119,15 @@ Universal Links
|
||||
Capabilities -> Associated Domain -> Domain -> applinks:${your applinks}
|
||||
```
|
||||
|
||||
### Flutter
|
||||
### flutter
|
||||
|
||||
|分享类型|说说(图/文/视频)|文本|图片|音乐|视频|网页|
|
||||
|:---:|:---:|:---:|:---:|:---:|:---:|:---:|
|
||||
|QQ|不支持|不支持|支持|支持|不支持|支持|
|
||||
|QZone|支持|不支持|不支持|不支持|不支持|支持|
|
||||
|
||||
* ⚠️⚠️⚠️ registerApp 前必须先调用 setIsPermissionGranted [issues/60](https://github.com/RxReader/tencent_kit/issues/60) [issues/79](https://github.com/RxReader/tencent_kit/issues/79)
|
||||
|
||||
* break change
|
||||
* 4.0.0: 按标准插件书写重构
|
||||
* 3.1.0: 新增 setIsPermissionGranted 函数,设置是否已授权获取设备信息/是否同意隐私协议
|
||||
@ -135,17 +149,23 @@ Capabilities -> Associated Domain -> Domain -> applinks:${your applinks}
|
||||
end
|
||||
```
|
||||
|
||||
* 配置
|
||||
* snapshot
|
||||
|
||||
```yaml
|
||||
```
|
||||
dependencies:
|
||||
tencent_kit: ^${latestTag}
|
||||
# tencent_kit:
|
||||
# git:
|
||||
# url: https://github.com/RxReader/tencent_kit.git
|
||||
tencent_kit:
|
||||
git:
|
||||
url: https://github.com/rxreader/tencent_kit.git
|
||||
```
|
||||
|
||||
## 示例
|
||||
* release
|
||||
|
||||
```
|
||||
dependencies:
|
||||
tencent_kit: ^${latestTag}
|
||||
```
|
||||
|
||||
* example
|
||||
|
||||
[示例](./example/lib/main.dart)
|
||||
|
||||
|
Reference in New Issue
Block a user