All Projects → BYR-App-Dev → Byr_mobile_app

BYR-App-Dev / Byr_mobile_app

Licence: apache-2.0
open-source mobile app of bbs.byr.cn

Programming Languages

dart
5743 projects

北邮人论坛手机客户端

bbs.byr.cn

中文|EN

编译并运行

  • 安装Flutter,中国大陆地区用户可访问官方中国大陆地区网站,版本1.17.5
  • 配置Secrets
    • 在北邮人论坛相关版面申请clientID认证链接identifier等信息
    • 新建一个私有仓库命名为Secrets包含如下文件结构
      lib/secrets.dart
      pubspec.yaml
      
      lib/secrets.dart保存如下内容,!起始的是需要向论坛管理员申请的内容
      class Secrets {
          static const String clientID = !CLIENT ID
          static const String appleID = APPLE ID
          static const String bundleID = BUNDLE ID
          static const String identifier = !IDENTIFIER
          static const String welcomeSalt = !WELCOME SALT
          static const String tokenDir = !OAUTH URL
          static const String androidDevUpdateLink = ANDROID APP DEV UPDATE LINK
          static const String androidStableUpdateLink = ANDROID APP STABLE UPDATE LINK
          static const String androidVersionsLink = ANDROID VERSIONS LINK
      }
      
    • 替换此项目/pubspec.yaml的如下内容为上步所建仓库的URL
      secrets:
      git:
          url: ssh://[email protected]/BYR-App-Dev/secrets.git
      
  • 项目根目录执行flutter pub get以获取依赖
  • 运行
    • Debug flutter run --debug
    • Release flutter run --release
    • Build iOS ./ios_build_cmd.sh
    • Build Android ./android_build_cmd.sh

项目文件结构

使用的开源库

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].