diff --git a/dependence/PulledUpApplication/entry/src/main/module.json5 b/dependence/PulledUpApplication/entry/src/main/module.json5 index abcc58c624faa1c1202f1ff41a7fc089c9ae0749..aa0ca22fb3a9aa6b1c18db03ef8f3bc14dbf18fa 100644 --- a/dependence/PulledUpApplication/entry/src/main/module.json5 +++ b/dependence/PulledUpApplication/entry/src/main/module.json5 @@ -7,8 +7,7 @@ "description": "$string:module_desc", "mainElement": "EntryAbility", "deviceTypes": [ - "phone", - "tablet" + "phone" ], "deliveryWithInstall": true, "installationFree": false, @@ -27,19 +26,22 @@ "exported": true, // [EndExclude deep_link_json] "skills": [ + // [StartExclude deep_link_json] + { + "entities": [ + "entity.system.home" + ], + "actions": [ + "action.system.home" + ] + }, + // [EndExclude deep_link_json] { "entities": [ - // [StartExclude deep_link_json] - "entity.system.home", - "entity.system.default", - // [EndExclude deep_link_json] "entity.system.browsable" ], "actions": [ - // [StartExclude deep_link_json] - "action.system.home", - // [EndExclude deep_link_json] - "ohos.want.action.viewData", + "ohos.want.action.viewData" ], "uris": [ { diff --git a/entry/src/main/module.json5 b/entry/src/main/module.json5 index aa0ca22fb3a9aa6b1c18db03ef8f3bc14dbf18fa..e464848cd376bb91ba16fdf92bac3fc89a71ac41 100644 --- a/entry/src/main/module.json5 +++ b/entry/src/main/module.json5 @@ -1,7 +1,5 @@ -// [Start deep_link_json] { "module": { - // [StartExclude deep_link_json] "name": "entry", "type": "entry", "description": "$string:module_desc", @@ -12,10 +10,8 @@ "deliveryWithInstall": true, "installationFree": false, "pages": "$profile:main_pages", - // [EndExclude deep_link_json] "abilities": [ { - // [StartExclude deep_link_json] "name": "EntryAbility", "srcEntry": "./ets/entryability/EntryAbility.ets", "description": "$string:EntryAbility_desc", @@ -24,9 +20,7 @@ "startWindowIcon": "$media:startIcon", "startWindowBackground": "$color:start_window_background", "exported": true, - // [EndExclude deep_link_json] "skills": [ - // [StartExclude deep_link_json] { "entities": [ "entity.system.home" @@ -34,28 +28,22 @@ "actions": [ "action.system.home" ] - }, - // [EndExclude deep_link_json] - { - "entities": [ - "entity.system.browsable" - ], - "actions": [ - "ohos.want.action.viewData" - ], - "uris": [ - { - "scheme": "appScheme", - "host": "www.test.com", - "port": "80", - "path": "path1" - } - ] } ] } ], - // [StartExclude deep_link_json] + "requestPermissions": [ + { + "name": "ohos.permission.DISTRIBUTED_DATASYNC", + "reason": "$string:distributed_permission", + "usedScene": { + "abilities": [ + "EntryAbility" + ], + "when": "inuse" + } + } + ], "extensionAbilities": [ { "name": "EntryBackupAbility", @@ -70,7 +58,10 @@ ], } ], - // [EndExclude deep_link_json] + // [Start query_schemes] + "querySchemes": [ + "app1Scheme" + ], + // [End query_schemes] } -} -// [End deep_link_json] \ No newline at end of file +} \ No newline at end of file