create-aiot
Version:
An easy way to start aiot project
69 lines (68 loc) • 1.41 kB
JSON
{
"package": "{{packageName}}",
"name": "{{appName}}",
"icon": "/$app_resource/icon.png",
"versionName": "1.0.0",
"versionCode": 1,
"minPlatformVersion": 1000,
"features": [
{
"name": "system.shortcut"
}
],
"config": {
"logLevel": "log",
"network": {
"connectTimeout": 10000,
"readTimeout": 10000,
"writeTimeout": 10000
}
},
"display": {
"backgroundColor": "#ffffff",
"fullScreen": false,
"titleBar": true,
"titleBarBackgroundColor": "#000000",
"titleBarTextColor": "#fffff",
"statusBarImmersive": false,
"statusBarTextStyle": "auto",
"statusBarBackgroundColor": "#000000",
"themeMode": -1
},
"trustedSslDomains": ["www.quickapp.cn", "m.quickapp.cn"],
"router": {
"aspects": {
"home": [
{
"path": "aspect1",
"devices": ["phone", "pad"],
"autoStart": true
}
]
}
},
"rules": {
"screenRule1": {
"screenWidth": {
"operator": "include",
"values": ["100", "200"]
},
"screenShape": {
"operator": "include",
"values": ["rect"]
}
},
"screenRule2": {
"screenWidth": {
"operator": "exclude",
"values": ["800", "400"]
}
},
"circleRule": {
"screenShape": {
"operator": "include",
"values": ["circle"]
}
}
}
}