{ "module": { "name": "crossplatform_request_test_ets", "type": "feature", "description": "$string:module_test_desc", "mainElement": "TestAbility", "deviceTypes": [ "phone" ], "deliveryWithInstall": true, "installationFree": false, "pages": "$profile:test_pages", "abilities": [ { "name": "TestAbility", "srcEntry": "./ets/TestAbility/TestAbility.ets", "description": "$string:TestAbility_desc", "icon": "$media:icon", "label": "$string:TestAbility_label", "exported": true, "startWindowIcon": "$media:icon", "startWindowBackground": "$color:start_window_background", "skills": [ { "actions": [ "action.system.home" ], "entities": [ "entity.system.home" ] } ] } ], "requestPermissions": [ { "name":"ohos.permission.INTERNET", "reason":"need use ohos.permission.INTERNET." }, {"name": "ohos.permission.WRITE_MEDIA", "reason": "need use ohos.permission.WRITE_MEDIA", "usedScene": { "ability": [ "com.acts.request.test.MainAbility" ], "when":"always" } }, {"name": "ohos.permission.READ_MEDIA", "reason": "need use ohos.permission.WRITE_MEDIA", "usedScene": { "ability": [ "com.acts.request.test.MainAbility" ], "when":"always" } } ] } }