Skip to content

Latest commit

 

History

History
140 lines (106 loc) · 3.8 KB

readme_cn.md

File metadata and controls

140 lines (106 loc) · 3.8 KB

English | 中文

DTok 是一个社区支持的视频共享应用程序平台,用户在该平台上对视频进行投票,以奖励加密货币的创作者、策展人、影响者和观众,就像去中心化的 Tiktok。

开源的抖音国际版替代品

本项目持续更新,开源不易,麻烦给个 Star★ 吧(☺️ 右上角点击 ★Star,轻轻松松,一秒钟 🤣)!我会根据大家的关注度和个人时间持续更新代码!

后台采用SpringCloud +IPFS存储+BSC链

预览

app

快速开始

  1. 克隆存储库
    git clone https://github.com/telsacoin/telsavideo.git
    
  2. 获取依赖包
    flutter pub get
    
  3. 启动您的应用
    flutter run 
    
  4. 使用 API
    \minio.exe server d:\minio\data --console-address ":9001"
    

支持的平台

  • Linux
  • Windows
  • Android
  • IOS

功能

  • 视频模块
  • 推荐模块
  • 消息模块
  • 上传模块
  • 个人模块

常见问题

While adding an app on your Firebase Project, cross-check your android application's package name (e.g com.example.application) which you will find on AndroidManifest.xml or, build.gradle (app level) file. If the package name is wrong adding SHA1 or SHA512 won't be helpful.

Follow the Firebase SDK Instructions properly. Add the required lines of code which they are recommending you to add.

Don't forget to add the SHA1 or SHA512 to your project which you can easily generate using the following command using the terminal of Android Studio.

cd android 
gradlew signingReport
Use the command flutter clean on the terminal before running the application.

Following the Firebase SDK Instructions properly will save you lots of time.

generate model

 flutter pub run build_runner build

the color of button

https://www.cnblogs.com/dalianpai/p/12347272.html

buttom
background-color: #e33100!important;
box-shadow: 0 15px 18px -6px rgb(227 49 0 / 65%)

add app icon common

flutter pub run flutter_launcher_icons:main

build apk

flutter clean && flutter pub get && flutter pub cache repair &&  flutter build apk --target-platform android-arm,android-arm64,android-x64 --split-per-abi --no-shrink

known issue

../../../development/flutter/packages/flutter/lib/src/material/scaffold.dart:1963:24: Context: Found this candidate, but the arguments don't match.
  311 line
  final ScaffoldState scaffold = Scaffold.of(context);
  static ScaffoldState of(BuildContext context) {

check the dependencies between the packages

flutter pub deps

uninstall the app from mobile

source ~/.bash_profile
adb uninstall "com.telsa.dtok"

how to setup build apk

https://github.com/marketplace/actions/flutter-action

upgrade gradlew

./gradlew wrapper --gradle-version 7

ios build

flutter clean \
        && rm ios/Podfile.lock pubspec.lock \
        && rm -rf ios/Pods ios/Runner.xcworkspace

upgrade package

flutter pub upgrade --major-versions

Contributing

If you want to contribute to the project, please read this page.