Repository navigation
Expand file tree
/
Copy pathwebox.example.toml
More file actions
56 lines (48 loc) · 1.82 KB
/
Copy pathwebox.example.toml
File metadata and controls
56 lines (48 loc) · 1.82 KB
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
# Copy this file to webox.toml (or pass -Pwebox.config=/path/to/file).
# Replace every example value before publishing an application.
[app]
name = "webox"
android_application_id = "cn.willvar.webox"
ios_bundle_id = "cn.willvar.webox"
version_name = "1.0.0"
android_version_code = 10000
ios_build_number = "1"
[brand]
# Exactly 1024x1024, PNG. Android/iOS icons and launch assets are generated from it.
icon = "template/example-icon.png"
theme_color = "#2563EB"
launch_background = "#F8FAFC"
[privacy]
terms_url = "https://example.com/terms"
policy_url = "https://example.com/privacy"
zh_text = "template/privacy_zh.txt"
en_text = "template/privacy_en.txt"
[debug]
# The built-in test page uses the same origin-isolated virtual HTTPS origin on
# Android and iOS. The explicit HTTP pair is required, Debug-only, and does not
# enable arbitrary cleartext traffic.
base_url = "https://webox.test/assets/test.html"
trusted_origin = "https://webox.test"
http_base_url = "http://10.0.2.2:8080/"
http_trusted_origin = "http://10.0.2.2:8080"
[ios]
base_url = "https://example.com/"
trusted_origin = "https://example.com"
app_store_id = "0000000000"
[harmony]
base_url = "https://example.com/"
trusted_origin = "https://example.com"
update_url = "https://example.com/harmony/update.json"
store_url = "appmarket://details?id=cn.willvar.webox"
# Add as many Android channel tables as required. "official" is mandatory.
[android.channels.official]
base_url = "https://example.com/"
trusted_origin = "https://example.com"
update_mode = "apk" # apk | store
update_url = "https://example.com/android/update.json"
[android.channels.store]
base_url = "https://example.com/"
trusted_origin = "https://example.com"
update_mode = "store"
update_url = "https://example.com/android/store-update.json"
store_url = "https://play.google.com/store/apps/details?id=cn.willvar.webox"