fix: disable domestic pda telemetry

This commit is contained in:
2026-09-07 14:29:50 +08:00
parent 81fb16cfe6
commit 86e49d5edc
2 changed files with 4 additions and 0 deletions
+3
View File
@@ -86,6 +86,9 @@
}, },
"usingComponents" : true "usingComponents" : true
}, },
"uniStatistics" : {
"enable" : false
},
"vueVersion" : "3", "vueVersion" : "3",
"h5" : { "h5" : {
"devServer" : { "devServer" : {
+1
View File
@@ -17,6 +17,7 @@ test('page configuration starts at login and registers independent PDA routes',
test('application uses the Vue 3 uni-app entry and no unused Android permissions', async () => { test('application uses the Vue 3 uni-app entry and no unused Android permissions', async () => {
const [manifest, main] = await Promise.all([read('../manifest.json'), read('../main.js')]) const [manifest, main] = await Promise.all([read('../manifest.json'), read('../main.js')])
assert.match(manifest, /"vueVersion"\s*:\s*"3"/) assert.match(manifest, /"vueVersion"\s*:\s*"3"/)
assert.match(manifest, /"uniStatistics"\s*:\s*\{\s*"enable"\s*:\s*false\s*\}/)
assert.match(main, /createSSRApp/) assert.match(main, /createSSRApp/)
assert.doesNotMatch(main, /new\s+Vue/) assert.doesNotMatch(main, /new\s+Vue/)
assert.doesNotMatch(manifest, /android\.permission\.(VIBRATE|ACCESS_NETWORK_STATE)/) assert.doesNotMatch(manifest, /android\.permission\.(VIBRATE|ACCESS_NETWORK_STATE)/)