config.json 3.1 KB
Newer Older
G
gudehe 已提交
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45
{
    "app": {
        "apiVersion": {
            "compatible": 6,
            "releaseType": "Beta1",
            "target": 7
        },
        "vendor": "acts",
        "bundleName": "ohos.acts.multimedia.mediaLibrary",
        "version": {
            "code": 1000000,
            "name": "1.0.0"
        }
    },
    "deviceConfig": {
        "default": {
            "debug": true
        }
    },
    "module": {
        "abilities": [
            {
                "iconId": 16777218,
                "skills": [
                    {
                        "entities": [
                            "entity.system.home"
                        ],
                        "actions": [
                            "action.system.home"
                        ]
                    }
                ],
                "descriptionId": 16777217,
                "visible": true,
                "labelId": 16777216,
                "icon": "$media:icon",
                "name": "ohos.acts.multimedia.mediaLibrary.MainAbility",
                "description": "$string:mainability_description",
                "label": "$string:entry_MainAbility",
                "type": "page",
                "homeAbility": true,
                "launchType": "standard"
            }
        ],
Z
zhang-daiyue 已提交
46 47
        "reqPermissions": [
            {
Z
zhangxingxia 已提交
48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73
                "name": "ohos.permission.GET_BUNDLE_INFO",
                "reason": "use ohos.permission.GET_BUNDLE_INFO"
            },
            {
                "name": "ohos.permission.GET_BUNDLE_INFO_PRIVILEGED",
                "reason":"use ohos.permission.GET_BUNDLE_INFO_PRIVILEGED"
            },
            {
                "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.MEDIA_LOCATION",
                "reason":"use ohos.permission.MEDIA_LOCATION"
            },
            {
                "name": "ohos.permission.READ_MEDIA",
                "reason":"use ohos.permission.READ_MEDIA"
            },
            {
                "name": "ohos.permission.WRITE_MEDIA",
                "reason":"use ohos.permission.WRITE_MEDIA"
Z
zhang-daiyue 已提交
74
            }
Z
update  
zhangxingxia 已提交
75
        ],
G
gudehe 已提交
76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101
        "deviceType": [
            "phone",
            "tablet",
            "tv",
            "wearable"
        ],
        "mainAbility": "ohos.acts.multimedia.mediaLibrary.MainAbility",
        "distro": {
            "moduleType": "entry",
            "installationFree": false,
            "deliveryWithInstall": true,
            "moduleName": "entry"
        },
        "package": "ohos.acts.multimedia.mediaLibrary",
        "name": ".MyApplication",
        "js": [
            {
                "pages": [
                    "pages/index/index"
                ],
                "name": "default",
                "window": {
                    "designWidth": 720,
                    "autoDesignWidth": true
                }
            }
G
gudehe 已提交
102
        ]
G
gudehe 已提交
103
    }
P
panqiangbiao 已提交
104
}