HarmonyOS: HarmonyOS NEXT Developer Beta 1 or later
DevEco Studio: DevEco Studio NEXT Developer Beta 1 or later
HarmonyOS SDK: HarmonyOS NEXT Developer Beta 1 SDK or later
Before you start developing an app, configure your project and app information in AppGallery Connect. including:
Register a HUAWEI ID and complete enterprise identity verification.
Create a project. Under the project, create a HarmonyOS app.
Apply for an enterprise MDM app release certificate and an enterprise MDM app release profile.
Before applying for permissions, ensure that the basic principles for using permissions are met. Then, apply for the development permissions required by the app under requestPermissions in the module.json5 configuration file of the module of the project.
| App Capability | Required Permission |
|---|---|
| Hierarchical file management | ohos.permission.FILE_GUARD_MANAGER ohos.permission.SET_FILE_GUARD_POLICY |
| Enterprise recovery key | ohos.permission.ENTERPRISE_RECOVERY_KEY |
For example:
"requestPermissions": [
{
"name": "ohos.permission.FILE_GUARD_MANAGER"
},
{
"name": "ohos.permission.SET_FILE_GUARD_POLICY"
},
{
"name": "ohos.permission.ENTERPRISE_RECOVERY_KEY"
}
]