* Copyright (c) Huawei Device Co., Ltd. 2023-2025. All rights reserved.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
{
"module": {
"name": "pcpicker",
"type": "feature",
"srcEntry": "./ets/Application/AbilityStage.ts",
"description": "$string:entry_desc",
"deviceTypes": [
"tablet"
],
"deliveryWithInstall": true,
"installationFree": false,
"pages": "$profile:main_pages",
"dependencies": [
{
"bundleName": "com.ohos.security.pickersheet",
"moduleName": "pickersheetlibrary"
}
],
"metadata": [
{
"name": "ArkTSPartialUpdate",
"value": "true"
},
{
"name": "client_id",
"value": "110873395"
},
{
"name": "action.settings.app.can_not_disable",
"value": "true"
},
{
"name": "ohos.graphics2d.text.adapter_text_height"
},
{
"name": "license_file_path",
"value": "/system/etc/noticeFile/Camera_OpenSource.html"
}
],
"requestPermissions": [
{
"name": "ohos.permission.MODIFY_AUDIO_SETTINGS"
},
{
"name": "ohos.permission.CAMERA",
"reason": "$string:camera_permission_desc",
"usedScene": {
"abilities": [
"com.ohos.camera.ExtensionPickerAbility"
]
}
},
{
"name": "ohos.permission.MICROPHONE",
"reason": "$string:microphone_permission_desc",
"usedScene": {
"abilities": [
"com.ohos.camera.ExtensionPickerAbility"
]
}
},
{
"name": "ohos.permission.READ_IMAGEVIDEO",
"reason": "$string:imagevideo_permission_desc",
"usedScene": {
"abilities": [
"com.ohos.camera.ExtensionPickerAbility"
]
}
},
{
"name": "ohos.permission.WRITE_IMAGEVIDEO",
"reason": "$string:imagevideo_permission_desc",
"usedScene": {
"abilities": [
"com.ohos.camera.ExtensionPickerAbility"
]
}
},
{
"name": "ohos.permission.PROXY_AUTHORIZATION_URI"
},
{
"name": "ohos.permission.RUNNING_STATE_OBSERVER"
},
{
"name": "ohos.permission.PERMISSION_USED_STATS"
},
{
"name": "ohos.permission.GET_BUNDLE_INFO_PRIVILEGED"
},
{
"name": "ohos.permission.PRIVACY_WINDOW",
"reason": "$string:camera_permission_desc",
"usedScene": {
"abilities": [
"com.ohos.camera.ExtensionPickerAbility"
]
}
},
{
"name": "ohos.permission.CLOUDFILE_SYNC"
},
{
"name": "ohos.permission.ACCESS_LEARN_MORE_DIALOG",
"reason": "$string:camera_permission_desc",
"usedScene": {
"abilities": [
"com.ohos.camera.ExtensionPickerAbility",
"PickerAbility"
]
}
}
],
"abilities": [
{
"name": "PickerAbility",
"srcEntry": "./ets/pickerability/PickerAbility.ts",
"launchType": "singleton",
"description": "$string:mainability_description",
"icon": "$media:adaptive_icon_phone_launcher",
"startWindowIcon": "$media:pc_icon_launcher",
"startWindowBackground": "$color:index_background",
"label": "$string:app_name",
"visible": true,
"skills": [
{
"actions": [
"ohos.want.action.imageCapture",
"ohos.want.action.videoCapture"
]
}
],
"minWindowHeight": 516,
"minWindowWidth": 640,
"supportWindowMode": ["floating", "fullscreen"]
},
{
"exported": false,
"name": "PickerSettingAbility",
"icon": "$media:adaptive_icon_phone_launcher",
"startWindowIcon": "$media:pc_icon_launcher",
"startWindowBackground": "$color:index_background",
"description": "$string:mainability_description",
"label": "$string:settings",
"srcEntry": "./ets/pickerability/PickerSettingAbility.ts",
"launchType": "singleton",
"minWindowHeight": 396,
"minWindowWidth": 822,
"maxWindowHeight": 436,
"maxWindowWidth": 822,
"supportWindowMode": ["floating", "fullscreen"]
}
],
"extensionAbilities":[
{
"name": "com.ohos.camera.ExtensionPickerAbility",
"srcEntry": "./ets/pickerability/ExtensionPickerAbility.ts",
"description": "PickerAbility",
"visible": true,
"type": "sys/commonUI",
"icon": "$media:adaptive_icon_phone_launcher",
"skills": [
{
"actions": [
"ohos.want.action.imageCapture",
"ohos.want.action.videoCapture"
],
"uris": [
{
"scheme": "file",
"pathStartWith": "file:\/\/"
}, {
"scheme": "",
"type": ""
}
]
}
],
"metadata": [
{
"name": "collaborationService",
"value": "true",
"resource": "$profile:collaboration_service"
}
],
"extensionProcessMode": "instance"
}
]
}
}