fix: disable domestic pda telemetry
This commit is contained in:
@@ -86,6 +86,9 @@
|
|||||||
},
|
},
|
||||||
"usingComponents" : true
|
"usingComponents" : true
|
||||||
},
|
},
|
||||||
|
"uniStatistics" : {
|
||||||
|
"enable" : false
|
||||||
|
},
|
||||||
"vueVersion" : "3",
|
"vueVersion" : "3",
|
||||||
"h5" : {
|
"h5" : {
|
||||||
"devServer" : {
|
"devServer" : {
|
||||||
|
|||||||
@@ -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)/)
|
||||||
|
|||||||
Reference in New Issue
Block a user