北邮人论坛官方客户端开源
中文|EN
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以获取依赖
flutter run --debug
flutter run --release
./ios_build_cmd.sh
./android_build_cmd.sh