Code Monkey home page Code Monkey logo

hide-seek-cat-flutter2's Introduction

About 躲猫猫🐱

  • 一个专门为年轻人打造的社交短视频平台
  • 用Flutter2打造的一套代码跨多端的应用。
  • 本仓库使用Flutter2跨多端,现已支持APP、Web,全面启用空安全
  • 目前的技术选型:
    • 躲猫猫官网:React(性能优化的最佳实践)
    • APP(ios android web);Flutter2.2(拥抱空安全,多端运行, google ads,navigator2)
    • 后端服务:Go
  • 未来的计划:
    • 主打社交 + 短视频
    • Go助力后端服务,包含RabbitMQ、分布式、微服务、Docker、CI/CD、OSS
    • Ffmpeg助力短视频,WebRTC助力实时音视频通话,Tensorflow2助力推荐系统, Python助力大数据分析
    • 躲猫猫短视频下载器:C(windows)
    • 躲猫猫视频播放器:C++(QT)

Development environment

[后端开发是本地部署,所以登陆时候,请切换values/server.dart的server_url] [permission_handler本项目暂时未配置ios设置,i don't have macbook pro now.]

  • flutter env
[√] Flutter (Channel stable, 2.2.0, on Microsoft Windows [Version 10.0.19043.985], locale zh-CN)
    • Flutter version 2.2.0 at D:\flutterFramework revision b22742018b (4 weeks ago), 2021-05-14 19:12:57 -0700Engine revision a9d88a4d18Dart version 2.13.0Pub download mirror https://pub.flutter-io.cnFlutter download mirror https://storage.flutter-io.cn

[√] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    • Android SDK at D:\AndroidSDKPlatform android-30, build-tools 30.0.3ANDROID_HOME = D:\AndroidSDKJava binary at: D:\Android Studio\jre\bin\javaJava version OpenJDK Runtime Environment (build 11.0.8+10-b944.6842174)
    • All Android licenses accepted.

[√] Chrome - develop for the webChrome at C:\Program Files (x86)\Google\Chrome\Application\chrome.exe

[√] Android Studio (version 4.1.0)
    • Android Studio at D:\Android StudioFlutter plugin can be installed from:
       https://plugins.jetbrains.com/plugin/9212-flutterDart plugin can be installed from:
       https://plugins.jetbrains.com/plugin/6351-dartJava version OpenJDK Runtime Environment (build 11.0.8+10-b944.6842174)

[√] IntelliJ IDEA Ultimate Edition (version 2020.1)
    • IntelliJ at D:\IntelliJ IDEA\IntelliJ IDEA 2018.3.5Flutter plugin can be installed from:
       https://plugins.jetbrains.com/plugin/9212-flutterDart plugin can be installed from:
       https://plugins.jetbrains.com/plugin/6351-dart

[√] Connected device (3 available)
    • Android SDK built for x86 (mobile) • emulator-5554android-x86Android 10 (API 29) (emulator)
    • Chrome (web)                       • chromeweb-javascriptGoogle Chrome 90.0.4430.72Edge (web)                         • edgeweb-javascriptMicrosoft Edge 91.0.864.4
  • IDE: AndroidStudio4.2.1
  • Github Actions CI/CD Flutter Web

程序图标

制作:https://www.designevo.com/logo-maker/

参考Android和iOS的最大尺寸[1024*1024]

然后FlutterLaunchIcons:https://pub.dev/packages/flutter_launcher_icons

启动图

制作:https://www.canva.cn/design/DAEZRss1im4/MReV8kx4yCpmmJpLMtf9QQ/edit

在线生成不同的图片格式:https://hotpot.ai/icon-resizer?s=sidebar

然后将android/res/下的相关图片覆盖并修改drawable配置即可。

程序名称

android下的清单文件下改label

生成证书

AS可GUI操作,

如果命令操作,进入app输入如下命令:

keytool -genkey -v -keystore ./key.jks -keyalg RSA -keysize 2048 -validity 10000 -alias key

将在android/app/下生成key.jks

然后android下新建key.properties编写配置。

最后修改android/app/build.gradle配置即可。

【上述语法需要gradle知识】

混淆

android/gradle.properties添加:

extra-gen-snapshot-options=--obfuscate

修改build相关release配置即可。

编译打包

flutter build apk --split-per-abi

打出的v8兼容v7,对外发布一般用v7包,x86是模拟器

错误上报

Sentry: https://sentry.io/welcome/

Community

Community channels

If you have questions, or would like any assistance regarding the use of this source code, please join our community channels, your question will be answered more quickly, and it will be the most suitable place. This repository is exclusive for opening issues, and requesting resources, but feel free to be part of Hide-Seek-Cat Community.

QQ WeChat Telephone
1099129793 yl1099129793 13795950539

How to contribute

Want to contribute to the project? We will be proud to highlight you as one of our collaborators. Here are some points where you can contribute and make this product (and Flutter) even better.

  • Helping to translate the readme into other languages.
  • Adding documentation to the readme (a lot of go's functions haven't been documented yet).
  • Write articles or make videos teaching how to use go (they will be inserted in the Readme and in the future in our Wiki).
  • Offering PRs for code/tests.
  • Including new functions.

Any contribution is welcome!

Articles and videos

hide-seek-cat-flutter2's People

Contributors

yinleicoder avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.