module.json 3.0 KB
Newer Older
1 2 3 4 5 6 7 8
{
  "module": {
    "name": "phone",
    "type": "entry",
    "srcEntrance": "./ets/Application/AbilityStage.ts",
    "description": "$string:phone_entry_dsc",
    "mainElement": "MainAbility",
    "deviceTypes": [
S
add  
shilei 已提交
9
      "default",
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 46 47 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 74 75 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 102 103
      "phone"
    ],
    "deliveryWithInstall": true,
    "installationFree": false,
    "uiSyntax": "ets",
    "pages": "$profile:main_pages",
    "abilities": [
      {
        "name": "com.example.extensionzerotest.MainAbility",
        "srcEntrance": "./ets/MainAbility/MainAbility.ts",
        "description": "$string:phone_entry_main",
        "icon": "$media:icon",
        "label": "$string:entry_label",
        "visible": true,
        "orientation": "portrait",
        "skills": [
          {
            "actions": [
              "action.system.home"
            ],
            "entities": [
              "entity.system.home"
            ]
          }
        ]
      }
    ],
    "extensionAbilities": [
      {
        "srcEntrance": "./ets/EnterpriseAdminAbility/EnterpriseAdminAbility.ts",
        "name": "com.example.extensionzerotest.EnterpriseAdminAbility",
        "icon": "$media:icon",
        "srcLanguage": "ets",
        "description": "$string:phone_entry_main",
        "type": "enterpriseAdmin",
        "visible": true
      }
    ],
    "requestPermissions": [
      {
        "name":"ohos.permission.GET_BUNDLE_INFO_PRIVILEGED",
        "reason":"need use ohos.permission.GET_BUNDLE_INFO_PRIVILEGED"
      },
      {
        "name":"ohos.permission.GET_BUNDLE_INFO",
        "reason":"need use ohos.permission.GET_BUNDLE_INFO"
      },
      {
        "name":"ohos.permission.CHANGE_ABILITY_ENABLED_STATE",
        "reason":"need use ohos.permission.CHANGE_ABILITY_ENABLED_STATE"
      },
      {
        "name": "ohos.permission.MANAGE_LOCAL_ACCOUNTS",
        "reason": "ceshi"
      },
      {
        "name": "ohos.permission.INTERACT_ACROSS_LOCAL_ACCOUNTS_EXTENSION",
        "reason": "ceshi"
      },
      {
        "name":"ohos.permission.REMOVE_CACHE_FILES",
        "reason":"need use ohos.permission.REMOVE_CACHE_FILES"
      },
      {
        "name":"ohos.permission.INTERACT_ACROSS_LOCAL_ACCOUNTS",
        "reason":"need use ohos.permission.INTERACT_ACROSS_LOCAL_ACCOUNTS"
      },
      {
        "name":"ohos.permission.LISTEN_BUNDLE_CHANGE",
        "reason":"need use ohos.permission.LISTEN_BUNDLE_CHANGE"
      },
      {
        "name":"ohos.permission.INSTALL_BUNDLE",
        "reason":"need use ohos.permission.INSTALL_BUNDLE"
      },
      {
        "name":"ohos.permission.MANAGE_MISSIONS",
        "reason":"need use ohos.permission.MANAGE_MISSIONS"
      },
      {
        "name":"ohos.permission.GET_RUNNING_INFO",
        "reason":"need use ohos.permission.GET_RUNNING_INFO"
      },
      {
        "name":"ohos.permission.CLEAN_BACKGROUND_PROCESSES",
        "reason":"need use ohos.permission.CLEAN_BACKGROUND_PROCESSES"
      },
      {
        "name":"ohos.permission.CLEAN_APPLICATION_DATA",
        "reason":"need use ohos.permission.CLEAN_APPLICATION_DATA"
      }
    ]
  }
}