-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathbuild_variant.yaml
78 lines (68 loc) · 2.38 KB
/
build_variant.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
#config
# Here is the list of templates that will be used for creating their copies without .temp suffix.
_files:
- pubspec.yaml.yaml
# - lib/di/di.dart.temp
- android/app/src/main/res/values/.build_res.xml.temp
- android/build_variable.properties.temp
- android/app/src/main/AndroidManifest.xml.temp
- ios/BuildVariable.xcconfig.temp
- ios/Runner/Info.plist.temp
- lib/inject/modules/crypto_module.dart.temp
- ios/Runner/Runner.entitlements.temp
- ios/AppShareExtension/AppShareExtension.entitlements.temp
- ios/ExportOptions.plist.temp
# List of files that will be copied. The Key is a source path, Value is a destination path.
_copy:
"{{main_logo}}": "android/app/src/main/res/drawable/main_logo.png"
"{{_google_services}}": "android/app/google-services.json"
"{{_google_services_ios}}": "ios/Runner/GoogleService-Info.plist"
"{{_sign_dir}}/key.properties": "android/key.properties"
"{{_sign_dir}}/key.jks": "android/app/key.jks"
# variables that are used in templates and are added to paths _buildPropertyPath
_buildPropertyPath: lib/build_property.dart
#default config
_buildVariant: "build_res/afterlogic/build_variant.yaml"
#variables
appName: ""
_iosAppName: "{{appName}}"
_appId: ""
_iosAppId: "{{_appId}}"
_appleGroupId: ""
packageName: "{{_appId}}"
version: ""
build: 308
icon: "{{image_dir}}/icon.png"
main_logo: "{{image_dir}}/main_logo.png"
image_dir: "{{_dir}}/image"
_sign_dir: "{{_dir}}/sign"
_google_services_dir: "{{_dir}}/crashlytics"
_google_services: "{{_google_services_dir}}/google-services.json"
_google_services_ios: "{{_google_services_dir}}/GoogleService-Info.plist"
autodiscover_url: ""
deepLink: "{{packageName}}"
foreground_icon: "{{image_dir}}/icon_foreground.png"
background_color: "#3b3b3b"
_theme_module: "{{_dir}}/theme"
privacyPolicy: ""
termsOfService: ""
# enum from package:aurora_mail/modules/settings/models/sync_period.dart
syncPeriod: "Period.allTime"
supportLanguage: "ru,en,tr"
hasFloatingPlaceholder: "never" # auto or never
multiUserEnable: false
cryptoEnable: false
multiAccountEnable: false
useMainLogo: false
selfDestructingEmail: false
expandMessageThread: false
legacyPgpKey: false
logger: true
pushNotification: true
backgroundSync: false
supportAllowAccess: true
# fido
useYubiKit: false
yubico_flutter_lib: "path: module/mocks/yubico_flutter"
#useYubiKit: true
#yubico_flutter_lib: "git: https://github.com/afterlogic/yubico_flutter"