1{ 2 "app": { 3 "bundleName": "ohos.acts.location.geolocation.function", 4 "vendor": "acts", 5 "version": { 6 "code": 1000000, 7 "name": "1.0" 8 } 9 }, 10 "deviceConfig": {}, 11 "module": { 12 "package": "ohos.acts.location.geolocation.function", 13 "name": ".MyApplication_test", 14 "mainAbility": ".MainAbility", 15 "srcPath": "", 16 "deviceType": [], 17 "distro": { 18 "deliveryWithInstall": true, 19 "moduleName": "entry_test", 20 "moduleType": "feature", 21 "installationFree": false 22 }, 23 "abilities": [ 24 { 25 "orientation": "unspecified", 26 "formsEnabled": false, 27 "name": ".TestAbility", 28 "srcLanguage": "js", 29 "srcPath": "TestAbility", 30 "icon": "$media:icon", 31 "description": "$string:TestAbility_desc", 32 "label": "$string:TestAbility_label", 33 "type": "page", 34 "visible": true, 35 "launchType": "standard" 36 } 37 ], 38 "reqPermissions": [ 39 { 40 "name": "ohos.permission.LOCATION", 41 "reason": "need use ohos.permission.LOCATION", 42 "usedScene": { 43 "ability": [ 44 "ohos.acts.location.geolocation.function.MainAbility" 45 ], 46 "when": "inuse" 47 } 48 }, 49 { 50 "name": "ohos.permission.ACCESS_LOCATION", 51 "reason": "need use ohos.permission.ACCESS_LOCATION", 52 "usedScene": { 53 "ability": [ 54 "ohos.acts.location.geolocation.function.MainAbility" 55 ], 56 "when": "inuse" 57 } 58 }, 59 { 60 "name": "ohos.permission.APPROXIMATELY_LOCATION", 61 "reason": "need use ohos.permission.APPROXIMATELY_LOCATION", 62 "usedScene": { 63 "ability": [ 64 "ohos.acts.location.geolocation.function.MainAbility" 65 ], 66 "when": "inuse" 67 } 68 }, 69 { 70 "name": "ohos.permission.LOCATION_IN_BACKGROUND", 71 "reason": "need use ohos.permission.LOCATION_IN_BACKGROUND", 72 "usedScene": { 73 "ability": [ 74 "ohos.acts.location.geolocation.function.MainAbility" 75 ], 76 "when": "inuse" 77 } 78 }, 79 { 80 "name": "ohos.permission.MANAGE_SECURE_SETTINGS", 81 "reason": "need use ohos.permission.MANAGE_SECURE_SETTINGS", 82 "usedScene": { 83 "ability": [ 84 "ohos.acts.location.geolocation.function.MainAbility" 85 ], 86 "when": "inuse" 87 } 88 }, 89 { 90 "name": "ohos.permission.GRANT_SENSITIVE_PERMISSIONS", 91 "reason": "use ohos.permission.GRANT_SENSITIVE_PERMISSIONS" 92 }, 93 { 94 "name": "ohos.permission.REVOKE_SENSITIVE_PERMISSIONS", 95 "reason": "use ohos.permission.REVOKE_SENSITIVE_PERMISSIONS" 96 }, 97 { 98 "name": "ohos.permission.GET_BUNDLE_INFO_PRIVILEGED" 99 }, 100 { 101 "name": "ohos.permission.GET_BUNDLE_INFO" 102 }, 103 { 104 "name": "ohos.permission.DISTRIBUTED_DATASYNC", 105 "reason": "ceshi" 106 }, 107 { 108 "name": "ohos.permission.CONTROL_LOCATION_SWITCH" 109 } 110 ], 111 "js": [ 112 { 113 "pages": [ 114 "pages/index/index" 115 ], 116 "name": ".TestAbility", 117 "window": { 118 "designWidth": 720, 119 "autoDesignWidth": false 120 } 121 } 122 ], 123 "testRunner": { 124 "name": "OpenHarmonyTestRunner", 125 "srcPath": "TestRunner" 126 }, 127 "defPermissions": [ 128 { 129 "availableScope": [], 130 "grantMode": "system_grant", 131 "name": "ohos.permission.DISTRIBUTED_DATASYNC" 132 } 133 ] 134 } 135}