{ "app": { "bundleName": "ohos.acts.communication.nfc.nfcdevice", "vendor": "acts", "version": { "code": 1000000, "name": "1.0.0" }, "apiVersion": { "compatible": 4, "target": 5 } }, "deviceConfig": {}, "module": { "package": "ohos.acts.communication.nfc.nfcdevice", "name": ".entry", "mainAbility": ".MainAbility", "deviceType": [ "phone" ], "distro": { "deliveryWithInstall": true, "moduleName": "nfc_standard", "moduleType": "entry" }, "abilities": [ { "skills": [ { "entities": [ "entity.system.home" ], "actions": [ "action.system.home" ] } ], "orientation": "unspecified", "formsEnabled": false, "name": ".MainAbility", "srcLanguage": "js", "srcPath": "MainAbility", "icon": "$media:icon", "description": "$string:MainAbility_desc", "label": "$string:MainAbility_label", "type": "page", "visible": true, "launchType": "standard" }, { "orientation": "unspecified", "formsEnabled": false, "name": ".TestAbility", "srcLanguage": "js", "srcPath": "TestAbility", "icon": "$media:icon", "description": "$string:TestAbility_desc", "label": "$string:TestAbility_label", "type": "page", "visible": true, "launchType": "standard" } ], "js": [ { "pages": [ "pages/index/index" ], "name": "default", "window": { "designWidth": 720, "autoDesignWidth": false } }, { "pages": [ "pages/index/index" ], "name": ".TestAbility", "window": { "designWidth": 720, "autoDesignWidth": false } } ], "defPermissions": [ { "availableScope": [], "grantMode": "user_grant", "name": "ohos.permission.ACCESS_LOCATION", "availableLevel": "system_basic", "provisionEnable": true, "distributedSceneEnable": true, "label": "ACCESS_LOCATION label", "description": "ACCESS_LOCATION description" }, { "availableScope": [], "grantMode": "system_grant", "name": "ohos.permission.MANAGE_SECURE_SETTINGS", "availableLevel": "system_basic", "provisionEnable": true, "distributedSceneEnable": false, "label": "MANAGE_SECURE_SETTINGS label", "description": "MANAGE_SECURE_SETTINGS description" }, { "availableScope": [], "grantMode": "user_grant", "name": "ohos.permission.LOCATION", "availableLevel": "system_basic", "provisionEnable": true, "distributedSceneEnable": true, "label": "LOCATION label", "description": "LOCATION description" } ], "reqPermissions": [ { "name": "ohos.permission.MANAGE_SECURE_SETTINGS", "reason": "need use ohos.permission.MANAGE_SECURE_SETTINGS" }, { "name": "ohos.permission.NFC_CARD_EMULATION", "reason": "use ohos.permission.SET_nfc_INFO" }, { "name": "ohos.permission.MANAGE_nfc_CONNECTION", "reason": "use ohos.permission.MANAGE_nfc_CONNECTION" }, { "name": "ohos.permission.NFC_TAG", "reason": "use ohos.permission.NFC_TAG" }, { "name": "ohos.permission.GET_nfc_CONFIG", "reason": "use ohos.permission.GET_nfc_CONFIG" }, { "name": "ohos.permission.GET_BUNDLE_INFO_PRIVILEGED", "reason": "use ohos.permission.GET_BUNDLE_INFO_PRIVILEGED" }, { "name": "ohos.permission.GET_nfc_LOCAL_MAC", "reason": "use ohos.permission.GET_nfc_LOCAL_MAC" }, { "name": "ohos.permission.GET_nfc_PEERS_MAC", "reason": "use ohos.permission.GET_nfc_PEERS_MAC" }, { "name": "ohos.permission.MANAGE_nfc_HOTSPOT", "reason": "use ohos.permission.MANAGE_nfc_HOTSPOT" }, { "name": "ohos.permission.GET_nfc_INFO_INTERNAL", "reason": "use ohos.permission.GET_nfc_INFO_INTERNAL" }, { "name": "ohos.permission.LOCATION", "reason": "need use ohos.permission.LOCATION", "usedScene": { "ability": [ "ohos.acts.communication.nfc.nfcdevice" ], "when": "inuse" } }, { "name": "ohos.permission.ACCESS_LOCATION", "reason": "need use ohos.permission.ACCESS_LOCATION", "usedScene": { "ability": [ "ohos.acts.communication.nfc.nfcdevice" ], "when": "inuse" } }, { "name": "ohos.permission.LOCATION_IN_BACKGROUND", "reason": "need use ohos.permission.LOCATION_IN_BACKGROUND", "usedScene": { "ability": [ "ohos.acts.communication.nfc.nfcdevice" ], "when": "inuse" } }, { "name": "ohos.permission.MANAGE_SECURE_SETTINGS", "reason": "need use ohos.permission.MANAGE_SECURE_SETTINGS", "usedScene": { "ability": [ "ohos.acts.communication.nfc.nfcdevice" ], "when": "inuse" } }, { "name": "ohos.permission.GRANT_SENSITIVE_PERMISSIONS", "reason": "use ohos.permission.GRANT_SENSITIVE_PERMISSIONS" }, { "name": "ohos.permission.REVOKE_SENSITIVE_PERMISSIONS", "reason": "use ohos.permission.REVOKE_SENSITIVE_PERMISSIONS" }, { "name": "ohos.permission.GET_BUNDLE_INFO_PRIVILEGED" }, { "name": "ohos.permission.GET_BUNDLE_INFO" } ], "testRunner": { "name": "OpenHarmonyTestRunner", "srcPath": "TestRunner" }, "srcPath": "" } }