Skip to content
This repository has been archived by the owner on Aug 19, 2021. It is now read-only.

RxReader/douyin_kit

Repository files navigation

douyin_kit

flutter版抖音SDK

docs

android

buildscript {
    dependencies {
        // 3.5.4/3.6.4/4.x.x
        classpath 'com.android.tools.build:gradle:3.5.4'
    }
}
# 不需要做任何额外接入工作
# 混淆已打入 Library,随 Library 引用,自动添加到 apk 打包混淆

ios

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

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

<key>LSApplicationQueriesSchemes</key>
<array>
    <string>douyinopensdk</string>
    <string>douyinsharesdk</string>
    <string>snssdk1128</string>
</array>
<key>NSAppTransportSecurity</key>
<dict>
    <key>NSAllowsArbitraryLoads</key>
    <true/>
</dict>
分享的图片通过相册进行跨进程共享手段,如需使用分享功能,还需要填相册访问权限,在 info 标签栏中添加 Privacy - Photo Library Usage Description。

<key>NSPhotoLibraryUsageDescription</key>
<string>分享的图片通过相册进行跨进程共享</string>

flutter

  • snapshot
dependencies:
  douyin_kit:
    git:
      url: https://github.com/rxreader/douyin_kit.git
  • release
dependencies:
  douyin_kit: ^${latestTag}

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.

Releases

No releases published

Packages

No packages published

Languages