fix: 调整ios下的flavor配置
@ -91,40 +91,14 @@ android {
|
||||
debug {
|
||||
// 使用默认 debug 签名(无需配置)
|
||||
}
|
||||
skyDev {
|
||||
keyAlias keystoreProperties['sky.dev.keyAlias']
|
||||
keyPassword keystoreProperties['sky.dev.keyPassword']
|
||||
storePassword keystoreProperties['sky.dev.storePassword']
|
||||
storeFile file(keystoreProperties['sky.dev.storeFile'])
|
||||
}
|
||||
|
||||
skyPre {
|
||||
keyAlias keystoreProperties['sky.pre.keyAlias']
|
||||
keyPassword keystoreProperties['sky.pre.keyPassword']
|
||||
storePassword keystoreProperties['sky.pre.storePassword']
|
||||
storeFile file(keystoreProperties['sky.pre.storeFile'])
|
||||
}
|
||||
skyRelease {
|
||||
sky {
|
||||
keyAlias keystoreProperties['sky.keyAlias']
|
||||
keyPassword keystoreProperties['sky.keyPassword']
|
||||
storeFile keystoreProperties['sky.storeFile'] ? file(keystoreProperties['sky.storeFile']) : null
|
||||
storePassword keystoreProperties['sky.storePassword']
|
||||
}
|
||||
|
||||
xhjDev {
|
||||
keyAlias keystoreProperties['xhj.dev.keyAlias']
|
||||
keyPassword keystoreProperties['xhj.dev.keyPassword']
|
||||
storePassword keystoreProperties['xhj.dev.storePassword']
|
||||
storeFile file(keystoreProperties['xhj.dev.storeFile'])
|
||||
}
|
||||
|
||||
xhjPre {
|
||||
keyAlias keystoreProperties['xhj.pre.keyAlias']
|
||||
keyPassword keystoreProperties['xhj.pre.keyPassword']
|
||||
storePassword keystoreProperties['xhj.pre.storePassword']
|
||||
storeFile file(keystoreProperties['xhj.pre.storeFile'])
|
||||
}
|
||||
xhjRelease {
|
||||
xhj {
|
||||
keyAlias keystoreProperties['xhj.keyAlias']
|
||||
keyPassword keystoreProperties['xhj.keyPassword']
|
||||
storeFile keystoreProperties['xhj.storeFile'] ? file(keystoreProperties['sky.storeFile']) : null
|
||||
|
||||
@ -2,41 +2,19 @@ android {
|
||||
flavorDimensions += "flavor-type"
|
||||
|
||||
productFlavors {
|
||||
skyDev {
|
||||
dimension "flavor-type"
|
||||
applicationId "top.skychip.work.dev"
|
||||
signingConfig signingConfigs.skyDev
|
||||
resValue "string", "app_name", "星勤-sky-dev"
|
||||
}
|
||||
skyPre {
|
||||
dimension "flavor-type"
|
||||
applicationId "top.skychip.work.pre"
|
||||
signingConfig signingConfigs.skyPre
|
||||
resValue "string", "app_name", "星勤-sky-pre"
|
||||
}
|
||||
skyRelease {
|
||||
|
||||
sky {
|
||||
dimension "flavor-type"
|
||||
applicationId "top.skychip.work"
|
||||
signingConfig signingConfigs.skyRelease
|
||||
resValue "string", "app_name", "星勤-sky-release"
|
||||
signingConfig signingConfigs.sky
|
||||
resValue "string", "app_name", "星勤-sky"
|
||||
}
|
||||
xhjDev {
|
||||
dimension "flavor-type"
|
||||
applicationId "ltd.xhjcn.work.dev"
|
||||
signingConfig signingConfigs.xhjDev
|
||||
resValue "string", "app_name", "星勤-xhj-dev"
|
||||
}
|
||||
xhjPre {
|
||||
dimension "flavor-type"
|
||||
applicationId "ltd.xhjcn.work.pre"
|
||||
signingConfig signingConfigs.xhjPre
|
||||
resValue "string", "app_name", "星勤-xhj-pre"
|
||||
}
|
||||
xhjRelease {
|
||||
|
||||
xhj {
|
||||
dimension "flavor-type"
|
||||
applicationId "ltd.xhjcn.work"
|
||||
signingConfig signingConfigs.xhjRelease
|
||||
resValue "string", "app_name", "星勤-xhj-release"
|
||||
signingConfig signingConfigs.xhj
|
||||
resValue "string", "app_name", "星勤-xhj"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Before Width: | Height: | Size: 9.3 KiB After Width: | Height: | Size: 9.3 KiB |
|
Before Width: | Height: | Size: 4.8 KiB After Width: | Height: | Size: 4.8 KiB |
|
Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 15 KiB |
|
Before Width: | Height: | Size: 32 KiB After Width: | Height: | Size: 32 KiB |
|
Before Width: | Height: | Size: 55 KiB After Width: | Height: | Size: 55 KiB |
|
Before Width: | Height: | Size: 9.3 KiB |
|
Before Width: | Height: | Size: 4.8 KiB |
|
Before Width: | Height: | Size: 15 KiB |
|
Before Width: | Height: | Size: 32 KiB |
|
Before Width: | Height: | Size: 55 KiB |
|
Before Width: | Height: | Size: 9.3 KiB |
|
Before Width: | Height: | Size: 4.8 KiB |
|
Before Width: | Height: | Size: 15 KiB |
|
Before Width: | Height: | Size: 32 KiB |
|
Before Width: | Height: | Size: 55 KiB |
|
Before Width: | Height: | Size: 2.7 KiB After Width: | Height: | Size: 2.7 KiB |
|
Before Width: | Height: | Size: 1.6 KiB After Width: | Height: | Size: 1.6 KiB |
|
Before Width: | Height: | Size: 3.8 KiB After Width: | Height: | Size: 3.8 KiB |
|
Before Width: | Height: | Size: 6.0 KiB After Width: | Height: | Size: 6.0 KiB |
|
Before Width: | Height: | Size: 8.4 KiB After Width: | Height: | Size: 8.4 KiB |
|
Before Width: | Height: | Size: 9.3 KiB |
|
Before Width: | Height: | Size: 4.8 KiB |
|
Before Width: | Height: | Size: 15 KiB |
|
Before Width: | Height: | Size: 32 KiB |
|
Before Width: | Height: | Size: 55 KiB |
|
Before Width: | Height: | Size: 9.3 KiB |
|
Before Width: | Height: | Size: 4.8 KiB |
|
Before Width: | Height: | Size: 15 KiB |
|
Before Width: | Height: | Size: 32 KiB |
|
Before Width: | Height: | Size: 55 KiB |
@ -1,4 +1,5 @@
|
||||
org.gradle.jvmargs=-Xmx1536M
|
||||
android.useAndroidX=true
|
||||
android.enableJetifier=true
|
||||
android.enableR8 = true
|
||||
android.enableR8 = true
|
||||
org.gradle.java.home=/Library/Java/JavaVirtualMachines/openjdk-17.jdk/Contents/Home
|
||||
@ -1,30 +1,9 @@
|
||||
# sky ????
|
||||
sky.dev.storePassword=6z2geXWAozQ9KnN
|
||||
sky.dev.keyPassword=6z2geXWAozQ9KnN
|
||||
sky.dev.keyAlias=sky
|
||||
sky.dev.storeFile=sky-dev-key.jks
|
||||
|
||||
sky.pre.storePassword=t4JkYD1kHQxAbRU
|
||||
sky.pre.keyPassword=t4JkYD1kHQxAbRU
|
||||
sky.pre.keyAlias=sky
|
||||
sky.pre.storeFile=sky-pre-key.jks
|
||||
|
||||
sky.storePassword=RHFn9LJcWHFxKmt
|
||||
sky.keyPassword=RHFn9LJcWHFxKmt
|
||||
sky.keyAlias=sky
|
||||
sky.storeFile=sky-release-key.jks
|
||||
|
||||
# xhj ????
|
||||
xhj.dev.storePassword=qKHWfxhmz8pJJjB
|
||||
xhj.dev.keyPassword=qKHWfxhmz8pJJjB
|
||||
xhj.dev.keyAlias=xhj
|
||||
xhj.dev.storeFile=xhj-dev-key.jks
|
||||
|
||||
xhj.pre.storePassword=oTqDmH64gQLxo4d
|
||||
xhj.pre.keyPassword=oTqDmH64gQLxo4d
|
||||
xhj.pre.keyAlias=xhj
|
||||
xhj.pre.storeFile=xhj-pre-key.jks
|
||||
|
||||
xhj.storePassword=qoQGNcPCD0wtrV8
|
||||
xhj.keyPassword=qoQGNcPCD0wtrV8
|
||||
xhj.keyAlias=xhj
|
||||
|
||||
103
flavorizr.yaml
@ -1,112 +1,25 @@
|
||||
# 用于编译出不同的APPID
|
||||
|
||||
# 生成:意思是将本文件定义的配置,生成对应的代码,或者原生的配置、构建过程、文件资源等
|
||||
# 风味用法:dart run flutter_flavorizr -p <processor_1>,<processor_2>
|
||||
|
||||
# 以下行为都是覆盖,所以如果不是很清楚自己在做什么,请不要随意运行,以免覆盖有用的文件
|
||||
# 安卓图标:dart run flutter_flavorizr -p android:icons
|
||||
# 安卓构建参数集配置:dart run flutter_flavorizr -p android:androidManifest
|
||||
# 安卓构建目标配置:dart run flutter_flavorizr -p android:buildGradle
|
||||
# 用法-生成iOS图标:dart run flutter_flavorizr -p ios:icons
|
||||
|
||||
# Scheme 定义了构建目标、测试、运行、调试和分析应用程序的方式。它是Xcode中一个关键的组件,用于配置不同的构建设置和运行环境。
|
||||
# 可以有针对不同目的的多个Schemes,例如一个用于调试的Scheme、一个用于发布的Scheme,以及用于不同测试环境的Scheme。
|
||||
# 用法 :dart run flutter_flavorizr -p ios:schema
|
||||
|
||||
# XCConfig文件是Xcode配置文件,用于外部化和管理项目的构建设置。通过使用这些文件,可以更容易地管理和共享构建配置。
|
||||
# 可以为不同的构建环境(如Debug和Release)或不同的应用flavor配置多个XCConfig文件。
|
||||
# 用法:dart run flutter_flavorizr -p ios:xcconfig
|
||||
|
||||
# Build Target定义了一个构建过程,它描述了如何编译和链接构建应用程序的源代码。每个Target可以有不同的配置和目的(例如,一个应用程序Target、一个单元测试Target)。
|
||||
# 可能包括应用程序本身的Target、测试Target、用于不同flavor的Target,或者针对不同平台(如iOS和macOS)的Target。
|
||||
# 用法:dart run flutter_flavorizr -p ios:buildTargets
|
||||
|
||||
# Plist文件用于存储应用程序的配置信息,如应用版本号、显示名称等。它是一个XML文件,Xcode在构建应用程序时会读取它
|
||||
# 每个Target通常有自己的Info.plist文件,还可能有其他Plist文件来管理不同的配置和设置。
|
||||
# 用法:dart run flutter_flavorizr -p ios:plist
|
||||
|
||||
# LaunchScreen(启动屏幕)是应用启动时显示的界面,通常包含应用的Logo和名称。它在应用加载期间显示,提供更好的用户体验。
|
||||
# 可以针对不同的设备和屏幕尺寸配置多个LaunchScreen,或者为不同的版本或flavor提供不同的启动屏幕。
|
||||
# 用法:dart run flutter_flavorizr -p ios:launchScreen
|
||||
|
||||
|
||||
# 项目运行说明:添加不同风味后,不能再使用flutter默认的运行方式`flutter run`,而是需要指定运行的风味
|
||||
# flutter run --flavor <flavor> -t lib/main_<flavor>.dart
|
||||
# 注意,这里有 入口文件(main_<flavor>.dart) 和 口味(<flavor>) 两个参数
|
||||
# 其中入口文件在代码中指定运行时的差异,例如 页面上的名称、颜色、API请求的域名等
|
||||
# 而 口味 指定 构建差异,例如 APPID、Logo、应用名称等
|
||||
# 下面是4个运行示例:
|
||||
# flutter run --flavor dev -t lib/main_dev.dart
|
||||
# flutter run --flavor pre -t lib/main_pre.dart
|
||||
# flutter run --flavor sky -t lib/main_sky_full.dart
|
||||
# flutter run --flavor xhj -t lib/main_xhj_full.dart
|
||||
|
||||
# 下面是安卓发布编译命令
|
||||
# flutter build apk --split-per-abi --release --flavor sky -t lib/main_sky_full.dart
|
||||
# flutter build apk --release --flavor sky -t lib/main_sky_full.dart
|
||||
|
||||
app:
|
||||
android:
|
||||
flavorDimensions: "flavor-type"
|
||||
flavors:
|
||||
skyDev:
|
||||
sky:
|
||||
app:
|
||||
name: "星勤-sky-dev"
|
||||
icon: "assets/logo/dev.png"
|
||||
android:
|
||||
applicationId: "com.skychip.work.dev"
|
||||
customConfig:
|
||||
signingConfig: signingConfigs.dev
|
||||
ios:
|
||||
bundleId: "com.skychip.work.dev"
|
||||
skyPre:
|
||||
app:
|
||||
name: "星勤-sky-pre"
|
||||
icon: "assets/logo/pre.png"
|
||||
android:
|
||||
applicationId: "com.skychip.work.pre"
|
||||
customConfig:
|
||||
signingConfig: signingConfigs.pre
|
||||
ios:
|
||||
bundleId: "com.skychip.work.pre"
|
||||
skyRelease:
|
||||
app:
|
||||
name: "星勤-sky-release"
|
||||
name: "星勤-sky"
|
||||
icon: "assets/logo/sky.png"
|
||||
android:
|
||||
applicationId: "com.skychip.work"
|
||||
applicationId: "top.skychip.work"
|
||||
customConfig:
|
||||
signingConfig: signingConfigs.sky
|
||||
ios:
|
||||
bundleId: "com.skychip.work"
|
||||
xhjDev:
|
||||
bundleId: "top.skychip.work"
|
||||
xhj:
|
||||
app:
|
||||
name: "星勤-xhj-dev"
|
||||
icon: "assets/logo/dev.png"
|
||||
android:
|
||||
applicationId: "com.xhjcn.work.dev"
|
||||
customConfig:
|
||||
signingConfig: signingConfigs.dev
|
||||
ios:
|
||||
bundleId: "com.xhjcn.work.dev"
|
||||
xhjPre:
|
||||
app:
|
||||
name: "星勤-xhj-pre"
|
||||
icon: "assets/logo/pre.png"
|
||||
android:
|
||||
applicationId: "com.xhjcn.work.pre"
|
||||
customConfig:
|
||||
signingConfig: signingConfigs.pre
|
||||
ios:
|
||||
bundleId: "com.xhjcn.work.pre"
|
||||
xhjRelease:
|
||||
app:
|
||||
name: "星勤-xhj-release"
|
||||
name: "星勤-xhj"
|
||||
icon: "assets/logo/xhj.png"
|
||||
android:
|
||||
applicationId: "com.xhjcn.work"
|
||||
applicationId: "ltd.xhjcn.work"
|
||||
customConfig:
|
||||
signingConfig: signingConfigs.xhj
|
||||
ios:
|
||||
bundleId: "com.xhjcn.work"
|
||||
bundleId: "ltd.xhjcn.work"
|
||||
ide: idea
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
#include? "Pods/Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig"
|
||||
#include? "Pods/Target Support Files/Pods-Runner/Pods-Runner.debug-sky.xcconfig"
|
||||
#include "Generated.xcconfig"
|
||||
|
||||
ASSET_PREFIX=sky
|
||||
|
||||
@ -1,6 +0,0 @@
|
||||
#include? "Pods/Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig"
|
||||
#include "Generated.xcconfig"
|
||||
|
||||
ASSET_PREFIX=skyDev
|
||||
BUNDLE_NAME=星勤-sky-dev
|
||||
BUNDLE_DISPLAY_NAME=星勤-sky-dev
|
||||
@ -1,6 +0,0 @@
|
||||
#include? "Pods/Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig"
|
||||
#include "Generated.xcconfig"
|
||||
|
||||
ASSET_PREFIX=skyDev
|
||||
BUNDLE_NAME=星勤-sky-dev
|
||||
BUNDLE_DISPLAY_NAME=星勤-sky-dev
|
||||
@ -1,6 +0,0 @@
|
||||
#include? "Pods/Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig"
|
||||
#include "Generated.xcconfig"
|
||||
|
||||
ASSET_PREFIX=skyDev
|
||||
BUNDLE_NAME=星勤-sky-dev
|
||||
BUNDLE_DISPLAY_NAME=星勤-sky-dev
|
||||
@ -1,6 +0,0 @@
|
||||
#include? "Pods/Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig"
|
||||
#include "Generated.xcconfig"
|
||||
|
||||
ASSET_PREFIX=skyPre
|
||||
BUNDLE_NAME=星勤-sky-pre
|
||||
BUNDLE_DISPLAY_NAME=星勤-sky-pre
|
||||
@ -1,6 +0,0 @@
|
||||
#include? "Pods/Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig"
|
||||
#include "Generated.xcconfig"
|
||||
|
||||
ASSET_PREFIX=skyPre
|
||||
BUNDLE_NAME=星勤-sky-pre
|
||||
BUNDLE_DISPLAY_NAME=星勤-sky-pre
|
||||
@ -1,6 +0,0 @@
|
||||
#include? "Pods/Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig"
|
||||
#include "Generated.xcconfig"
|
||||
|
||||
ASSET_PREFIX=skyPre
|
||||
BUNDLE_NAME=星勤-sky-pre
|
||||
BUNDLE_DISPLAY_NAME=星勤-sky-pre
|
||||
@ -1,4 +1,4 @@
|
||||
#include? "Pods/Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig"
|
||||
#include? "Pods/Target Support Files/Pods-Runner/Pods-Runner.profile-sky.xcconfig"
|
||||
#include "Generated.xcconfig"
|
||||
|
||||
ASSET_PREFIX=sky
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
#include? "Pods/Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig"
|
||||
#include? "Pods/Target Support Files/Pods-Runner/Pods-Runner.release-sky.xcconfig"
|
||||
#include "Generated.xcconfig"
|
||||
|
||||
ASSET_PREFIX=sky
|
||||
BUNDLE_NAME=星勤-sky
|
||||
BUNDLE_DISPLAY_NAME=星勤-sky
|
||||
BUNDLE_DISPLAY_NAME=星勤-sky
|
||||
@ -1,6 +0,0 @@
|
||||
#include? "Pods/Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig"
|
||||
#include "Generated.xcconfig"
|
||||
|
||||
ASSET_PREFIX=skyRelease
|
||||
BUNDLE_NAME=星勤-sky-release
|
||||
BUNDLE_DISPLAY_NAME=星勤-sky-release
|
||||
@ -1,6 +0,0 @@
|
||||
#include? "Pods/Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig"
|
||||
#include "Generated.xcconfig"
|
||||
|
||||
ASSET_PREFIX=skyRelease
|
||||
BUNDLE_NAME=星勤-sky-release
|
||||
BUNDLE_DISPLAY_NAME=星勤-sky-release
|
||||
@ -1,6 +0,0 @@
|
||||
#include? "Pods/Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig"
|
||||
#include "Generated.xcconfig"
|
||||
|
||||
ASSET_PREFIX=skyRelease
|
||||
BUNDLE_NAME=星勤-sky-release
|
||||
BUNDLE_DISPLAY_NAME=星勤-sky-release
|
||||
@ -1,4 +1,4 @@
|
||||
#include? "Pods/Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig"
|
||||
#include? "Pods/Target Support Files/Pods-Runner/Pods-Runner.debug-xhj.xcconfig"
|
||||
#include "Generated.xcconfig"
|
||||
|
||||
ASSET_PREFIX=xhj
|
||||
|
||||
@ -1,6 +0,0 @@
|
||||
#include? "Pods/Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig"
|
||||
#include "Generated.xcconfig"
|
||||
|
||||
ASSET_PREFIX=xhjDev
|
||||
BUNDLE_NAME=星勤-xhj-dev
|
||||
BUNDLE_DISPLAY_NAME=星勤-xhj-dev
|
||||
@ -1,6 +0,0 @@
|
||||
#include? "Pods/Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig"
|
||||
#include "Generated.xcconfig"
|
||||
|
||||
ASSET_PREFIX=xhjDev
|
||||
BUNDLE_NAME=星勤-xhj-dev
|
||||
BUNDLE_DISPLAY_NAME=星勤-xhj-dev
|
||||
@ -1,6 +0,0 @@
|
||||
#include? "Pods/Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig"
|
||||
#include "Generated.xcconfig"
|
||||
|
||||
ASSET_PREFIX=xhjDev
|
||||
BUNDLE_NAME=星勤-xhj-dev
|
||||
BUNDLE_DISPLAY_NAME=星勤-xhj-dev
|
||||
@ -1,6 +0,0 @@
|
||||
#include? "Pods/Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig"
|
||||
#include "Generated.xcconfig"
|
||||
|
||||
ASSET_PREFIX=xhjPre
|
||||
BUNDLE_NAME=星勤-xhj-pre
|
||||
BUNDLE_DISPLAY_NAME=星勤-xhj-pre
|
||||
@ -1,6 +0,0 @@
|
||||
#include? "Pods/Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig"
|
||||
#include "Generated.xcconfig"
|
||||
|
||||
ASSET_PREFIX=xhjPre
|
||||
BUNDLE_NAME=星勤-xhj-pre
|
||||
BUNDLE_DISPLAY_NAME=星勤-xhj-pre
|
||||
@ -1,6 +0,0 @@
|
||||
#include? "Pods/Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig"
|
||||
#include "Generated.xcconfig"
|
||||
|
||||
ASSET_PREFIX=xhjPre
|
||||
BUNDLE_NAME=星勤-xhj-pre
|
||||
BUNDLE_DISPLAY_NAME=星勤-xhj-pre
|
||||
@ -1,4 +1,4 @@
|
||||
#include? "Pods/Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig"
|
||||
#include? "Pods/Target Support Files/Pods-Runner/Pods-Runner.profile-xhj.xcconfig"
|
||||
#include "Generated.xcconfig"
|
||||
|
||||
ASSET_PREFIX=xhj
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
#include? "Pods/Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig"
|
||||
#include? "Pods/Target Support Files/Pods-Runner/Pods-Runner.release-xhj.xcconfig"
|
||||
#include "Generated.xcconfig"
|
||||
|
||||
ASSET_PREFIX=xhj
|
||||
BUNDLE_NAME=星勤-xhj
|
||||
BUNDLE_DISPLAY_NAME=星勤-xhj
|
||||
BUNDLE_DISPLAY_NAME=星勤-xhj
|
||||
@ -1,6 +0,0 @@
|
||||
#include? "Pods/Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig"
|
||||
#include "Generated.xcconfig"
|
||||
|
||||
ASSET_PREFIX=xhjRelease
|
||||
BUNDLE_NAME=星勤-xhj-release
|
||||
BUNDLE_DISPLAY_NAME=星勤-xhj-release
|
||||
@ -1,6 +0,0 @@
|
||||
#include? "Pods/Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig"
|
||||
#include "Generated.xcconfig"
|
||||
|
||||
ASSET_PREFIX=xhjRelease
|
||||
BUNDLE_NAME=星勤-xhj-release
|
||||
BUNDLE_DISPLAY_NAME=星勤-xhj-release
|
||||
@ -1,6 +0,0 @@
|
||||
#include? "Pods/Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig"
|
||||
#include "Generated.xcconfig"
|
||||
|
||||
ASSET_PREFIX=xhjRelease
|
||||
BUNDLE_NAME=星勤-xhj-release
|
||||
BUNDLE_DISPLAY_NAME=星勤-xhj-release
|
||||
24
ios/Podfile
@ -5,24 +5,12 @@
|
||||
ENV['COCOAPODS_DISABLE_STATS'] = 'true'
|
||||
|
||||
project 'Runner', {
|
||||
'Debug-skyDev' => :debug,
|
||||
'Profile-skyDev' => :release,
|
||||
'Release-skyDev' => :release,
|
||||
'Debug-skyPre' => :debug,
|
||||
'Profile-skyPre' => :release,
|
||||
'Release-skyPre' => :release,
|
||||
'Debug-skyRelease' => :debug,
|
||||
'Profile-skyRelease' => :release,
|
||||
'Release-skyRelease' => :release,
|
||||
'Debug-xhjDev' => :debug,
|
||||
'Profile-xhjDev' => :release,
|
||||
'Release-xhjDev' => :release,
|
||||
'Debug-xhjPre' => :debug,
|
||||
'Profile-xhjPre' => :release,
|
||||
'Release-xhjPre' => :release,
|
||||
'Debug-xhjRelease' => :debug,
|
||||
'Profile-xhjRelease' => :release,
|
||||
'Release-xhjRelease' => :release,
|
||||
'Debug-sky' => :debug,
|
||||
'Profile-sky' => :release,
|
||||
'Release-sky' => :release,
|
||||
'Debug-xhj' => :debug,
|
||||
'Profile-xhj' => :release,
|
||||
'Release-xhj' => :release,
|
||||
}
|
||||
|
||||
def flutter_root
|
||||
|
||||
@ -1,29 +1,42 @@
|
||||
PODS:
|
||||
- Flutter (1.0.0)
|
||||
- flutter_blue_plus_darwin (0.0.2):
|
||||
- Flutter
|
||||
- FlutterMacOS
|
||||
- permission_handler_apple (9.3.0):
|
||||
- Flutter
|
||||
- shared_preferences_foundation (0.0.1):
|
||||
- Flutter
|
||||
- FlutterMacOS
|
||||
- starcloud (0.0.1):
|
||||
- Flutter
|
||||
|
||||
DEPENDENCIES:
|
||||
- Flutter (from `Flutter`)
|
||||
- flutter_blue_plus_darwin (from `.symlinks/plugins/flutter_blue_plus_darwin/darwin`)
|
||||
- permission_handler_apple (from `.symlinks/plugins/permission_handler_apple/ios`)
|
||||
- shared_preferences_foundation (from `.symlinks/plugins/shared_preferences_foundation/darwin`)
|
||||
- starcloud (from `.symlinks/plugins/starcloud/ios`)
|
||||
|
||||
EXTERNAL SOURCES:
|
||||
Flutter:
|
||||
:path: Flutter
|
||||
flutter_blue_plus_darwin:
|
||||
:path: ".symlinks/plugins/flutter_blue_plus_darwin/darwin"
|
||||
permission_handler_apple:
|
||||
:path: ".symlinks/plugins/permission_handler_apple/ios"
|
||||
shared_preferences_foundation:
|
||||
:path: ".symlinks/plugins/shared_preferences_foundation/darwin"
|
||||
starcloud:
|
||||
:path: ".symlinks/plugins/starcloud/ios"
|
||||
|
||||
SPEC CHECKSUMS:
|
||||
Flutter: e0871f40cf51350855a761d2e70bf5af5b9b5de7
|
||||
flutter_blue_plus_darwin: 20a08bfeaa0f7804d524858d3d8744bcc1b6dbc3
|
||||
permission_handler_apple: 4ed2196e43d0651e8ff7ca3483a069d469701f2d
|
||||
shared_preferences_foundation: 9e1978ff2562383bd5676f64ec4e9aa8fa06a6f7
|
||||
starcloud: 0d2034397e2a0d81b8c187b99bd2de7371ea5b2d
|
||||
|
||||
PODFILE CHECKSUM: 57bd38e05d8abd584f51ed04c5c011347b25b1a3
|
||||
PODFILE CHECKSUM: fbdae9471aca60c39ad623cd945ad8e2e75a0c21
|
||||
|
||||
COCOAPODS: 1.16.2
|
||||
|
||||
@ -1,71 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<Scheme
|
||||
LastUpgradeVersion = "1600"
|
||||
version = "1.3">
|
||||
<BuildAction
|
||||
parallelizeBuildables = "YES"
|
||||
buildImplicitDependencies = "YES">
|
||||
</BuildAction>
|
||||
<TestAction
|
||||
buildConfiguration = "Debug-skyDev"
|
||||
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
|
||||
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
|
||||
shouldUseLaunchSchemeArgsEnv = "YES">
|
||||
<MacroExpansion>
|
||||
<BuildableReference
|
||||
BuildableIdentifier = "primary"
|
||||
BlueprintIdentifier = "97C146ED1CF9000F007C117D"
|
||||
BuildableName = "Runner.app"
|
||||
BlueprintName = "Runner"
|
||||
ReferencedContainer = "container:Runner.xcodeproj">
|
||||
</BuildableReference>
|
||||
</MacroExpansion>
|
||||
<Testables>
|
||||
</Testables>
|
||||
</TestAction>
|
||||
<LaunchAction
|
||||
buildConfiguration = "Debug-skyDev"
|
||||
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
|
||||
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
|
||||
launchStyle = "0"
|
||||
useCustomWorkingDirectory = "NO"
|
||||
ignoresPersistentStateOnLaunch = "NO"
|
||||
debugDocumentVersioning = "YES"
|
||||
debugServiceExtension = "internal"
|
||||
allowLocationSimulation = "YES">
|
||||
<BuildableProductRunnable
|
||||
runnableDebuggingMode = "0">
|
||||
<BuildableReference
|
||||
BuildableIdentifier = "primary"
|
||||
BlueprintIdentifier = "97C146ED1CF9000F007C117D"
|
||||
BuildableName = "Runner.app"
|
||||
BlueprintName = "Runner"
|
||||
ReferencedContainer = "container:Runner.xcodeproj">
|
||||
</BuildableReference>
|
||||
</BuildableProductRunnable>
|
||||
</LaunchAction>
|
||||
<ProfileAction
|
||||
buildConfiguration = "Release-skyDev"
|
||||
shouldUseLaunchSchemeArgsEnv = "YES"
|
||||
savedToolIdentifier = ""
|
||||
useCustomWorkingDirectory = "NO"
|
||||
debugDocumentVersioning = "YES">
|
||||
<BuildableProductRunnable
|
||||
runnableDebuggingMode = "0">
|
||||
<BuildableReference
|
||||
BuildableIdentifier = "primary"
|
||||
BlueprintIdentifier = "97C146ED1CF9000F007C117D"
|
||||
BuildableName = "Runner.app"
|
||||
BlueprintName = "Runner"
|
||||
ReferencedContainer = "container:Runner.xcodeproj">
|
||||
</BuildableReference>
|
||||
</BuildableProductRunnable>
|
||||
</ProfileAction>
|
||||
<AnalyzeAction
|
||||
buildConfiguration = "Debug-skyDev">
|
||||
</AnalyzeAction>
|
||||
<ArchiveAction
|
||||
buildConfiguration = "Release-skyDev"
|
||||
revealArchiveInOrganizer = "YES">
|
||||
</ArchiveAction>
|
||||
</Scheme>
|
||||
@ -1,71 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<Scheme
|
||||
LastUpgradeVersion = "1600"
|
||||
version = "1.3">
|
||||
<BuildAction
|
||||
parallelizeBuildables = "YES"
|
||||
buildImplicitDependencies = "YES">
|
||||
</BuildAction>
|
||||
<TestAction
|
||||
buildConfiguration = "Debug-skyPre"
|
||||
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
|
||||
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
|
||||
shouldUseLaunchSchemeArgsEnv = "YES">
|
||||
<MacroExpansion>
|
||||
<BuildableReference
|
||||
BuildableIdentifier = "primary"
|
||||
BlueprintIdentifier = "97C146ED1CF9000F007C117D"
|
||||
BuildableName = "Runner.app"
|
||||
BlueprintName = "Runner"
|
||||
ReferencedContainer = "container:Runner.xcodeproj">
|
||||
</BuildableReference>
|
||||
</MacroExpansion>
|
||||
<Testables>
|
||||
</Testables>
|
||||
</TestAction>
|
||||
<LaunchAction
|
||||
buildConfiguration = "Debug-skyPre"
|
||||
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
|
||||
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
|
||||
launchStyle = "0"
|
||||
useCustomWorkingDirectory = "NO"
|
||||
ignoresPersistentStateOnLaunch = "NO"
|
||||
debugDocumentVersioning = "YES"
|
||||
debugServiceExtension = "internal"
|
||||
allowLocationSimulation = "YES">
|
||||
<BuildableProductRunnable
|
||||
runnableDebuggingMode = "0">
|
||||
<BuildableReference
|
||||
BuildableIdentifier = "primary"
|
||||
BlueprintIdentifier = "97C146ED1CF9000F007C117D"
|
||||
BuildableName = "Runner.app"
|
||||
BlueprintName = "Runner"
|
||||
ReferencedContainer = "container:Runner.xcodeproj">
|
||||
</BuildableReference>
|
||||
</BuildableProductRunnable>
|
||||
</LaunchAction>
|
||||
<ProfileAction
|
||||
buildConfiguration = "Release-skyPre"
|
||||
shouldUseLaunchSchemeArgsEnv = "YES"
|
||||
savedToolIdentifier = ""
|
||||
useCustomWorkingDirectory = "NO"
|
||||
debugDocumentVersioning = "YES">
|
||||
<BuildableProductRunnable
|
||||
runnableDebuggingMode = "0">
|
||||
<BuildableReference
|
||||
BuildableIdentifier = "primary"
|
||||
BlueprintIdentifier = "97C146ED1CF9000F007C117D"
|
||||
BuildableName = "Runner.app"
|
||||
BlueprintName = "Runner"
|
||||
ReferencedContainer = "container:Runner.xcodeproj">
|
||||
</BuildableReference>
|
||||
</BuildableProductRunnable>
|
||||
</ProfileAction>
|
||||
<AnalyzeAction
|
||||
buildConfiguration = "Debug-skyPre">
|
||||
</AnalyzeAction>
|
||||
<ArchiveAction
|
||||
buildConfiguration = "Release-skyPre"
|
||||
revealArchiveInOrganizer = "YES">
|
||||
</ArchiveAction>
|
||||
</Scheme>
|
||||
@ -1,71 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<Scheme
|
||||
LastUpgradeVersion = "1600"
|
||||
version = "1.3">
|
||||
<BuildAction
|
||||
parallelizeBuildables = "YES"
|
||||
buildImplicitDependencies = "YES">
|
||||
</BuildAction>
|
||||
<TestAction
|
||||
buildConfiguration = "Debug-skyRelease"
|
||||
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
|
||||
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
|
||||
shouldUseLaunchSchemeArgsEnv = "YES">
|
||||
<MacroExpansion>
|
||||
<BuildableReference
|
||||
BuildableIdentifier = "primary"
|
||||
BlueprintIdentifier = "97C146ED1CF9000F007C117D"
|
||||
BuildableName = "Runner.app"
|
||||
BlueprintName = "Runner"
|
||||
ReferencedContainer = "container:Runner.xcodeproj">
|
||||
</BuildableReference>
|
||||
</MacroExpansion>
|
||||
<Testables>
|
||||
</Testables>
|
||||
</TestAction>
|
||||
<LaunchAction
|
||||
buildConfiguration = "Debug-skyRelease"
|
||||
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
|
||||
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
|
||||
launchStyle = "0"
|
||||
useCustomWorkingDirectory = "NO"
|
||||
ignoresPersistentStateOnLaunch = "NO"
|
||||
debugDocumentVersioning = "YES"
|
||||
debugServiceExtension = "internal"
|
||||
allowLocationSimulation = "YES">
|
||||
<BuildableProductRunnable
|
||||
runnableDebuggingMode = "0">
|
||||
<BuildableReference
|
||||
BuildableIdentifier = "primary"
|
||||
BlueprintIdentifier = "97C146ED1CF9000F007C117D"
|
||||
BuildableName = "Runner.app"
|
||||
BlueprintName = "Runner"
|
||||
ReferencedContainer = "container:Runner.xcodeproj">
|
||||
</BuildableReference>
|
||||
</BuildableProductRunnable>
|
||||
</LaunchAction>
|
||||
<ProfileAction
|
||||
buildConfiguration = "Release-skyRelease"
|
||||
shouldUseLaunchSchemeArgsEnv = "YES"
|
||||
savedToolIdentifier = ""
|
||||
useCustomWorkingDirectory = "NO"
|
||||
debugDocumentVersioning = "YES">
|
||||
<BuildableProductRunnable
|
||||
runnableDebuggingMode = "0">
|
||||
<BuildableReference
|
||||
BuildableIdentifier = "primary"
|
||||
BlueprintIdentifier = "97C146ED1CF9000F007C117D"
|
||||
BuildableName = "Runner.app"
|
||||
BlueprintName = "Runner"
|
||||
ReferencedContainer = "container:Runner.xcodeproj">
|
||||
</BuildableReference>
|
||||
</BuildableProductRunnable>
|
||||
</ProfileAction>
|
||||
<AnalyzeAction
|
||||
buildConfiguration = "Debug-skyRelease">
|
||||
</AnalyzeAction>
|
||||
<ArchiveAction
|
||||
buildConfiguration = "Release-skyRelease"
|
||||
revealArchiveInOrganizer = "YES">
|
||||
</ArchiveAction>
|
||||
</Scheme>
|
||||
@ -1,71 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<Scheme
|
||||
LastUpgradeVersion = "1600"
|
||||
version = "1.3">
|
||||
<BuildAction
|
||||
parallelizeBuildables = "YES"
|
||||
buildImplicitDependencies = "YES">
|
||||
</BuildAction>
|
||||
<TestAction
|
||||
buildConfiguration = "Debug-xhjDev"
|
||||
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
|
||||
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
|
||||
shouldUseLaunchSchemeArgsEnv = "YES">
|
||||
<MacroExpansion>
|
||||
<BuildableReference
|
||||
BuildableIdentifier = "primary"
|
||||
BlueprintIdentifier = "97C146ED1CF9000F007C117D"
|
||||
BuildableName = "Runner.app"
|
||||
BlueprintName = "Runner"
|
||||
ReferencedContainer = "container:Runner.xcodeproj">
|
||||
</BuildableReference>
|
||||
</MacroExpansion>
|
||||
<Testables>
|
||||
</Testables>
|
||||
</TestAction>
|
||||
<LaunchAction
|
||||
buildConfiguration = "Debug-xhjDev"
|
||||
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
|
||||
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
|
||||
launchStyle = "0"
|
||||
useCustomWorkingDirectory = "NO"
|
||||
ignoresPersistentStateOnLaunch = "NO"
|
||||
debugDocumentVersioning = "YES"
|
||||
debugServiceExtension = "internal"
|
||||
allowLocationSimulation = "YES">
|
||||
<BuildableProductRunnable
|
||||
runnableDebuggingMode = "0">
|
||||
<BuildableReference
|
||||
BuildableIdentifier = "primary"
|
||||
BlueprintIdentifier = "97C146ED1CF9000F007C117D"
|
||||
BuildableName = "Runner.app"
|
||||
BlueprintName = "Runner"
|
||||
ReferencedContainer = "container:Runner.xcodeproj">
|
||||
</BuildableReference>
|
||||
</BuildableProductRunnable>
|
||||
</LaunchAction>
|
||||
<ProfileAction
|
||||
buildConfiguration = "Release-xhjDev"
|
||||
shouldUseLaunchSchemeArgsEnv = "YES"
|
||||
savedToolIdentifier = ""
|
||||
useCustomWorkingDirectory = "NO"
|
||||
debugDocumentVersioning = "YES">
|
||||
<BuildableProductRunnable
|
||||
runnableDebuggingMode = "0">
|
||||
<BuildableReference
|
||||
BuildableIdentifier = "primary"
|
||||
BlueprintIdentifier = "97C146ED1CF9000F007C117D"
|
||||
BuildableName = "Runner.app"
|
||||
BlueprintName = "Runner"
|
||||
ReferencedContainer = "container:Runner.xcodeproj">
|
||||
</BuildableReference>
|
||||
</BuildableProductRunnable>
|
||||
</ProfileAction>
|
||||
<AnalyzeAction
|
||||
buildConfiguration = "Debug-xhjDev">
|
||||
</AnalyzeAction>
|
||||
<ArchiveAction
|
||||
buildConfiguration = "Release-xhjDev"
|
||||
revealArchiveInOrganizer = "YES">
|
||||
</ArchiveAction>
|
||||
</Scheme>
|
||||
@ -1,71 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<Scheme
|
||||
LastUpgradeVersion = "1600"
|
||||
version = "1.3">
|
||||
<BuildAction
|
||||
parallelizeBuildables = "YES"
|
||||
buildImplicitDependencies = "YES">
|
||||
</BuildAction>
|
||||
<TestAction
|
||||
buildConfiguration = "Debug-xhjPre"
|
||||
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
|
||||
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
|
||||
shouldUseLaunchSchemeArgsEnv = "YES">
|
||||
<MacroExpansion>
|
||||
<BuildableReference
|
||||
BuildableIdentifier = "primary"
|
||||
BlueprintIdentifier = "97C146ED1CF9000F007C117D"
|
||||
BuildableName = "Runner.app"
|
||||
BlueprintName = "Runner"
|
||||
ReferencedContainer = "container:Runner.xcodeproj">
|
||||
</BuildableReference>
|
||||
</MacroExpansion>
|
||||
<Testables>
|
||||
</Testables>
|
||||
</TestAction>
|
||||
<LaunchAction
|
||||
buildConfiguration = "Debug-xhjPre"
|
||||
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
|
||||
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
|
||||
launchStyle = "0"
|
||||
useCustomWorkingDirectory = "NO"
|
||||
ignoresPersistentStateOnLaunch = "NO"
|
||||
debugDocumentVersioning = "YES"
|
||||
debugServiceExtension = "internal"
|
||||
allowLocationSimulation = "YES">
|
||||
<BuildableProductRunnable
|
||||
runnableDebuggingMode = "0">
|
||||
<BuildableReference
|
||||
BuildableIdentifier = "primary"
|
||||
BlueprintIdentifier = "97C146ED1CF9000F007C117D"
|
||||
BuildableName = "Runner.app"
|
||||
BlueprintName = "Runner"
|
||||
ReferencedContainer = "container:Runner.xcodeproj">
|
||||
</BuildableReference>
|
||||
</BuildableProductRunnable>
|
||||
</LaunchAction>
|
||||
<ProfileAction
|
||||
buildConfiguration = "Release-xhjPre"
|
||||
shouldUseLaunchSchemeArgsEnv = "YES"
|
||||
savedToolIdentifier = ""
|
||||
useCustomWorkingDirectory = "NO"
|
||||
debugDocumentVersioning = "YES">
|
||||
<BuildableProductRunnable
|
||||
runnableDebuggingMode = "0">
|
||||
<BuildableReference
|
||||
BuildableIdentifier = "primary"
|
||||
BlueprintIdentifier = "97C146ED1CF9000F007C117D"
|
||||
BuildableName = "Runner.app"
|
||||
BlueprintName = "Runner"
|
||||
ReferencedContainer = "container:Runner.xcodeproj">
|
||||
</BuildableReference>
|
||||
</BuildableProductRunnable>
|
||||
</ProfileAction>
|
||||
<AnalyzeAction
|
||||
buildConfiguration = "Debug-xhjPre">
|
||||
</AnalyzeAction>
|
||||
<ArchiveAction
|
||||
buildConfiguration = "Release-xhjPre"
|
||||
revealArchiveInOrganizer = "YES">
|
||||
</ArchiveAction>
|
||||
</Scheme>
|
||||
@ -1,71 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<Scheme
|
||||
LastUpgradeVersion = "1600"
|
||||
version = "1.3">
|
||||
<BuildAction
|
||||
parallelizeBuildables = "YES"
|
||||
buildImplicitDependencies = "YES">
|
||||
</BuildAction>
|
||||
<TestAction
|
||||
buildConfiguration = "Debug-xhjRelease"
|
||||
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
|
||||
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
|
||||
shouldUseLaunchSchemeArgsEnv = "YES">
|
||||
<MacroExpansion>
|
||||
<BuildableReference
|
||||
BuildableIdentifier = "primary"
|
||||
BlueprintIdentifier = "97C146ED1CF9000F007C117D"
|
||||
BuildableName = "Runner.app"
|
||||
BlueprintName = "Runner"
|
||||
ReferencedContainer = "container:Runner.xcodeproj">
|
||||
</BuildableReference>
|
||||
</MacroExpansion>
|
||||
<Testables>
|
||||
</Testables>
|
||||
</TestAction>
|
||||
<LaunchAction
|
||||
buildConfiguration = "Debug-xhjRelease"
|
||||
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
|
||||
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
|
||||
launchStyle = "0"
|
||||
useCustomWorkingDirectory = "NO"
|
||||
ignoresPersistentStateOnLaunch = "NO"
|
||||
debugDocumentVersioning = "YES"
|
||||
debugServiceExtension = "internal"
|
||||
allowLocationSimulation = "YES">
|
||||
<BuildableProductRunnable
|
||||
runnableDebuggingMode = "0">
|
||||
<BuildableReference
|
||||
BuildableIdentifier = "primary"
|
||||
BlueprintIdentifier = "97C146ED1CF9000F007C117D"
|
||||
BuildableName = "Runner.app"
|
||||
BlueprintName = "Runner"
|
||||
ReferencedContainer = "container:Runner.xcodeproj">
|
||||
</BuildableReference>
|
||||
</BuildableProductRunnable>
|
||||
</LaunchAction>
|
||||
<ProfileAction
|
||||
buildConfiguration = "Release-xhjRelease"
|
||||
shouldUseLaunchSchemeArgsEnv = "YES"
|
||||
savedToolIdentifier = ""
|
||||
useCustomWorkingDirectory = "NO"
|
||||
debugDocumentVersioning = "YES">
|
||||
<BuildableProductRunnable
|
||||
runnableDebuggingMode = "0">
|
||||
<BuildableReference
|
||||
BuildableIdentifier = "primary"
|
||||
BlueprintIdentifier = "97C146ED1CF9000F007C117D"
|
||||
BuildableName = "Runner.app"
|
||||
BlueprintName = "Runner"
|
||||
ReferencedContainer = "container:Runner.xcodeproj">
|
||||
</BuildableReference>
|
||||
</BuildableProductRunnable>
|
||||
</ProfileAction>
|
||||
<AnalyzeAction
|
||||
buildConfiguration = "Debug-xhjRelease">
|
||||
</AnalyzeAction>
|
||||
<ArchiveAction
|
||||
buildConfiguration = "Release-xhjRelease"
|
||||
revealArchiveInOrganizer = "YES">
|
||||
</ArchiveAction>
|
||||
</Scheme>
|
||||
@ -9,6 +9,7 @@ import 'package:starwork_flutter/api/base_api_service.dart';
|
||||
import 'package:starwork_flutter/api/service/common_api_service.dart';
|
||||
import 'package:starwork_flutter/api/service/user_api_service.dart';
|
||||
import 'package:starwork_flutter/common/utils/shared_preferences_utils.dart';
|
||||
import 'package:starwork_flutter/flavors.dart';
|
||||
import 'package:starwork_flutter/views/login/login_controller.dart';
|
||||
import 'package:starwork_flutter/views/main/main_controller.dart';
|
||||
|
||||
@ -19,7 +20,11 @@ class AppInitialization {
|
||||
setSystemStatusBar();
|
||||
await SharedPreferencesUtils.init();
|
||||
initEasyLoading();
|
||||
StarCloudSDK.init(clientId: 'clientId', clientSecret: 'clientSecret');
|
||||
StarCloudSDK.init(
|
||||
clientId: F.starCloudClientId,
|
||||
clientSecret: F.starCloudSecret,
|
||||
environmentUrl: F.starCloudUrl,
|
||||
);
|
||||
Get.put(BaseApiService());
|
||||
Get.put(CommonApiService(Get.find<BaseApiService>()));
|
||||
Get.put(UserApiService(Get.find<BaseApiService>()));
|
||||
|
||||
@ -1,8 +1,8 @@
|
||||
enum Flavor {
|
||||
skyDev,
|
||||
sky,
|
||||
skyPre,
|
||||
skyRelease,
|
||||
xhjDev,
|
||||
xhj,
|
||||
xhjPre,
|
||||
xhjRelease,
|
||||
}
|
||||
@ -14,13 +14,13 @@ class F {
|
||||
|
||||
static String get title {
|
||||
switch (appFlavor) {
|
||||
case Flavor.skyDev:
|
||||
case Flavor.sky:
|
||||
return '星勤-sky-dev';
|
||||
case Flavor.skyPre:
|
||||
return '星勤-sky-pre';
|
||||
case Flavor.skyRelease:
|
||||
return '星勤-sky-release';
|
||||
case Flavor.xhjDev:
|
||||
case Flavor.xhj:
|
||||
return '星勤-xhj-dev';
|
||||
case Flavor.xhjPre:
|
||||
return '星勤-xhj-pre';
|
||||
@ -31,13 +31,13 @@ class F {
|
||||
|
||||
static String get apiHost {
|
||||
switch (appFlavor) {
|
||||
case Flavor.skyDev:
|
||||
case Flavor.sky:
|
||||
return 'http://192.168.1.136/api';
|
||||
case Flavor.skyPre:
|
||||
return 'https://loacl.work.star-lock.cn/api';
|
||||
case Flavor.skyRelease:
|
||||
return 'https://loacl.work.star-lock.cn/api';
|
||||
case Flavor.xhjDev:
|
||||
case Flavor.xhj:
|
||||
return 'https://loacl.work.star-lock.cn/api';
|
||||
case Flavor.xhjPre:
|
||||
return 'https://loacl.work.star-lock.cn/api';
|
||||
@ -46,4 +46,53 @@ class F {
|
||||
}
|
||||
}
|
||||
|
||||
static String get starCloudClientId {
|
||||
switch (appFlavor) {
|
||||
case Flavor.sky:
|
||||
return '0JLrKMhBSSHH0VlRLcIko5NrESfzDJ8B';
|
||||
case Flavor.skyPre:
|
||||
return '0JLrKMhBSSHH0VlRLcIko5NrESfzDJ8B';
|
||||
case Flavor.skyRelease:
|
||||
return '0JLrKMhBSSHH0VlRLcIko5NrESfzDJ8B';
|
||||
case Flavor.xhj:
|
||||
return '0JLrKMhBSSHH0VlRLcIko5NrESfzDJ8B';
|
||||
case Flavor.xhjPre:
|
||||
return '0JLrKMhBSSHH0VlRLcIko5NrESfzDJ8B';
|
||||
case Flavor.xhjRelease:
|
||||
return '0JLrKMhBSSHH0VlRLcIko5NrESfzDJ8B';
|
||||
}
|
||||
}
|
||||
|
||||
static String get starCloudSecret {
|
||||
switch (appFlavor) {
|
||||
case Flavor.sky:
|
||||
return 'KS8KvZKPKKHgsoDbcfQCCScvyyqeolDt';
|
||||
case Flavor.skyPre:
|
||||
return 'KS8KvZKPKKHgsoDbcfQCCScvyyqeolDt';
|
||||
case Flavor.skyRelease:
|
||||
return 'KS8KvZKPKKHgsoDbcfQCCScvyyqeolDt';
|
||||
case Flavor.xhj:
|
||||
return 'KS8KvZKPKKHgsoDbcfQCCScvyyqeolDt';
|
||||
case Flavor.xhjPre:
|
||||
return 'KS8KvZKPKKHgsoDbcfQCCScvyyqeolDt';
|
||||
case Flavor.xhjRelease:
|
||||
return 'KS8KvZKPKKHgsoDbcfQCCScvyyqeolDt';
|
||||
}
|
||||
}
|
||||
static String get starCloudUrl {
|
||||
switch (appFlavor) {
|
||||
case Flavor.sky:
|
||||
return 'http://local.cloud.star-lock.cn';
|
||||
case Flavor.skyPre:
|
||||
return 'http://local.cloud.star-lock.cn';
|
||||
case Flavor.skyRelease:
|
||||
return 'http://local.cloud.star-lock.cn';
|
||||
case Flavor.xhj:
|
||||
return 'http://local.cloud.star-lock.cn';
|
||||
case Flavor.xhjPre:
|
||||
return 'http://local.cloud.star-lock.cn';
|
||||
case Flavor.xhjRelease:
|
||||
return 'http://local.cloud.star-lock.cn';
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
24
pubspec.lock
@ -154,50 +154,50 @@ packages:
|
||||
dependency: transitive
|
||||
description:
|
||||
name: flutter_blue_plus
|
||||
sha256: bfae0d24619940516261045d8b3c74b4c80ca82222426e05ffbf7f3ea9dbfb1a
|
||||
sha256: "1901a42ade7a8f9793a3655983ef0899565294b12a2a57a2c3e33813930f4a34"
|
||||
url: "https://pub.flutter-io.cn"
|
||||
source: hosted
|
||||
version: "1.35.5"
|
||||
version: "1.35.7"
|
||||
flutter_blue_plus_android:
|
||||
dependency: transitive
|
||||
description:
|
||||
name: flutter_blue_plus_android
|
||||
sha256: "9723dd4ba7dcc3f27f8202e1159a302eb4cdb88ae482bb8e0dd733b82230a258"
|
||||
sha256: "37d9b6ad243535b4a028d2795c0db82d830f28cd9d0bd37e555a1f987fd7ac4e"
|
||||
url: "https://pub.flutter-io.cn"
|
||||
source: hosted
|
||||
version: "4.0.5"
|
||||
version: "5.0.0"
|
||||
flutter_blue_plus_darwin:
|
||||
dependency: transitive
|
||||
description:
|
||||
name: flutter_blue_plus_darwin
|
||||
sha256: f34123795352a9761e321589aa06356d3b53f007f13f7e23e3c940e733259b2d
|
||||
sha256: "486d0e1ee317786a61be736ce90cf67a6200a24c8e2439317fe49e54e3a3a767"
|
||||
url: "https://pub.flutter-io.cn"
|
||||
source: hosted
|
||||
version: "4.0.1"
|
||||
version: "5.0.0"
|
||||
flutter_blue_plus_linux:
|
||||
dependency: transitive
|
||||
description:
|
||||
name: flutter_blue_plus_linux
|
||||
sha256: "635443d1d333e3695733fd70e81ee0d87fa41e78aa81844103d2a8a854b0d593"
|
||||
sha256: "450aa1d5a518dcccdaca1ef4e873e402186aae8fa26e29b5189ae544cbd5e75d"
|
||||
url: "https://pub.flutter-io.cn"
|
||||
source: hosted
|
||||
version: "3.0.2"
|
||||
version: "5.0.0"
|
||||
flutter_blue_plus_platform_interface:
|
||||
dependency: transitive
|
||||
description:
|
||||
name: flutter_blue_plus_platform_interface
|
||||
sha256: a4bb70fa6fd09e0be163b004d773bf19e31104e257a4eb846b67f884ddd87de2
|
||||
sha256: "52840efab3c6e5adcd6e5fddeae393d1f7811d14f6361b802e391f8e33a5ee25"
|
||||
url: "https://pub.flutter-io.cn"
|
||||
source: hosted
|
||||
version: "4.0.2"
|
||||
version: "5.0.0"
|
||||
flutter_blue_plus_web:
|
||||
dependency: transitive
|
||||
description:
|
||||
name: flutter_blue_plus_web
|
||||
sha256: "03023c259dbbba1bc5ce0fcd4e88b364f43eec01d45425f393023b9b2722cf4d"
|
||||
sha256: ccaa61e8694a2547b9949b341f637b318c910cc50975717c24d4340ce3fe4872
|
||||
url: "https://pub.flutter-io.cn"
|
||||
source: hosted
|
||||
version: "3.0.1"
|
||||
version: "5.0.1"
|
||||
flutter_easyloading:
|
||||
dependency: "direct main"
|
||||
description:
|
||||
|
||||
@ -46,7 +46,7 @@ dev_dependencies:
|
||||
sdk: flutter
|
||||
flutter_lints: ^3.0.0
|
||||
# 多flavor
|
||||
flutter_flavorizr: ^2.2.1
|
||||
flutter_flavorizr: ^2.3.1
|
||||
|
||||
flutter:
|
||||
uses-material-design: true
|
||||
|
||||