2019-04-24 21:10:05 +08:00
2019-03-26 16:16:03 +08:00
2019-04-24 21:10:05 +08:00
2019-03-26 16:16:03 +08:00
2019-03-19 16:38:38 +08:00
2019-03-26 14:42:34 +08:00
2019-03-01 17:58:17 +08:00
2019-03-01 17:58:17 +08:00
2019-03-01 17:58:17 +08:00
2019-03-19 12:37:11 +08:00
2019-03-26 16:16:03 +08:00
2019-03-01 17:58:17 +08:00
2019-03-26 16:16:04 +08:00
2019-04-24 21:04:09 +08:00

fake_tencent

Build Status GitHub tag pub package

flutter版腾讯(QQ)SDK

fake 系列 libraries

  1. flutter版okhttp3
  2. flutter版微信SDK
  3. flutter版腾讯(QQ)SDK
  4. flutter版新浪微博SDK
  5. flutter版支付宝SDK
  6. flutter版腾讯(信鸽)推送SDK

dart/flutter 私服

simple_pub_server

android

...
android {
    ...
    defaultConfig{
        ...
        manifestPlaceholders = [TENCENT_APP_ID: "${appId}"]
        ...
    }
    ...
}
...
# 混淆已打入 Library随 Library 引用,自动添加到 apk 打包混淆

ios

在Xcode中选择你的工程设置项选中“TARGETS”一栏在“info”标签栏的“URL type“添加“URL scheme”为你所注册的应用程序id

URL Types
tencent: identifier=tencent schemes=tencent${appId}
iOS 9系统策略更新限制了http协议的访问此外应用需要在“Info.plist”中将要使用的URL Schemes列为白名单才可正常检查其他应用是否安装。

<key>LSApplicationQueriesSchemes</key>
<array>
    <string>wtloginmqq2</string>
    <string>mqqopensdkapiV3</string>
    <string>mqqwpa</string>
    <string>mqqopensdkapiV2</string>
    <string>mqqOpensdkSSoLogin</string>
    <string>mqq</string>
</array>
<key>NSAppTransportSecurity</key>
<dict>
    <key>NSAllowsArbitraryLoads</key>
    <true/>
</dict>

flutter

分享类型 说说 图片 音乐 视频 网页
QQ 不支持 支持 支持 不支持 支持
QZone 支持 不支持 不支持 不支持 支持

snapshot

dependencies:
  fake_tencent:
    git:
      url: https://github.com/v7lin/fake_tencent.git

release

dependencies:
  fake_tencent: ^${latestTag}

example

示例

Getting Started

This project is a starting point for a Flutter plug-in package, a specialized package that includes platform-specific implementation code for Android and/or iOS.

For help getting started with Flutter, view our online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.

Description
Flutter版QQ登录/分享
Readme MIT 21 MiB
Languages
Dart 100%