{ "app": { "bundleName": "ohos.acts.location.geolocation.function", "vendor": "acts", "version": { "code": 1000000, "name": "1.0" }, "apiVersion": { "compatible": 4, "target": 5, "releaseType": "Beta1" } }, "deviceConfig": {}, "module": { "package": "ohos.acts.location.geolocation", "name": ".MyApplication", "mainAbility": "ohos.acts.location.geolocation.function.MainAbility", "deviceType": [ "phone" ], "distro": { "deliveryWithInstall": true, "moduleName": "entry", "moduleType": "entry" }, "abilities": [ { "skills": [ { "entities": [ "entity.system.home" ], "actions": [ "action.system.home" ] } ], "visible": true, "name": "ohos.acts.location.geolocation.function.MainAbility", "icon": "$media:icon", "description": "$string:mainability_description", "label": "$string:app_name", "type": "page", "launchType": "standard" } ], "defPermissions": [ { "availableScope": [], "grantMode": "system_grant", "name": "ohos.permission.ACCESS_LOCATION" }, { "availableScope": [], "grantMode": "system_grant", "name": "ohos.permission.LOCATION" } ], "reqPermissions": [ { "name": "ohos.permission.LOCATION", "reason": "need use ohos.permission.LOCATION", "usedScene": { "ability": [ "ohos.acts.location.geolocation.function.MainAbility" ], "when": "inuse" } }, { "name":"ohos.permission.ACCESS_LOCATION", "reason":"need use ohos.permission.ACCESS_LOCATION", "usedScene": { "ability": [ "ohos.acts.location.geolocation.function.MainAbility" ], "when": "inuse" } }, { "name":"ohos.permission.LOCATION_IN_BACKGROUND", "reason":"need use ohos.permission.LOCATION_IN_BACKGROUND", "usedScene": { "ability": [ "ohos.acts.location.geolocation.function.MainAbility" ], "when": "inuse" } }, { "name":"ohos.permission.GET_BUNDLE_INFO_PRIVILEGED", "reason":"need use ohos.permission.GET_BUNDLE_INFO_PRIVILEGED", "usedScene": { "ability": [ "ohos.acts.location.geolocation.function.MainAbility" ], "when": "inuse" } }, { "name":"ohos.permission.GET_WIFI_LOCAL_MAC", "reason":"need use ohos.permission.GET_WIFI_LOCAL_MAC", "usedScene": { "ability": [ "ohos.acts.location.geolocation.function.MainAbility" ], "when": "inuse" } }, { "name":"ohos.permission.GET_WIFI_INFO_INTERNAL", "reason":"need use ohos.permission.GET_WIFI_INFO_INTERNAL", "usedScene": { "ability": [ "ohos.acts.location.geolocation.function.MainAbility" ], "when": "inuse" } } ], "js": [ { "pages": [ "pages/index/index" ], "name": "default", "window": { "designWidth": 720, "autoDesignWidth": false } } ] } }