module.json 4.49 KB
{
	"app": {
		"bundleName": "com.naji.one_key_harmonyOS",
		"vendor": "example",
		"versionCode": 1,
		"versionName": "1.0.0",
		"icon": "$media:app_icon",
		"label": "$string:app_name",
		"apiReleaseType": "Release",
		"compileSdkVersion": "5.1.1.212",
		"targetAPIVersion": 50101019,
		"minAPIVersion": 50101019,
		"compileSdkType": "HarmonyOS",
		"appEnvironments": [],
		"bundleType": "app",
		"buildMode": "debug",
		"debug": true
	},
	"module": {
		"name": "entry",
		"type": "entry",
		"description": "$string:module_desc",
		"mainElement": "EntryAbility",
		"querySchemes": [
			"weixin"
		],
		"deviceTypes": [
			"phone"
		],
		"deliveryWithInstall": true,
		"installationFree": false,
		"pages": "$profile:main_pages",
		"abilities": [
			{
				"name": "EntryAbility",
				"srcEntry": "./ets/entryability/EntryAbility.ets",
				"description": "$string:EntryAbility_desc",
				"icon": "$media:icon",
				"label": "$string:EntryAbility_label",
				"startWindowIcon": "$media:icon",
				"startWindowBackground": "$color:start_window_background",
				"exported": true,
				"skills": [
					{
						"entities": [
							"entity.system.home"
						],
						"actions": [
							"action.system.home"
						]
					}
				]
			}
		],
		"requestPermissions": [
			{
				"name": "ohos.permission.INTERNET",
				"reason": "$string:permission_reason_camera",
				"usedScene": {
					"abilities": [
						"EntryAbility"
					],
					"when": "inuse"
				}
			},
			{
				"name": "ohos.permission.VIBRATE",
				"reason": "$string:permission_reason_camera",
				"usedScene": {
					"abilities": [
						"EntryAbility"
					],
					"when": "inuse"
				}
			},
			{
				"name": "ohos.permission.CAMERA",
				"reason": "$string:permission_reason_camera",
				"usedScene": {
					"abilities": [
						"EntryAbility"
					],
					"when": "inuse"
				}
			},
			{
				"name": "ohos.permission.READ_MEDIA",
				"reason": "$string:permission_reason_IMG",
				"usedScene": {
					"abilities": [
						"EntryAbility"
					],
					"when": "inuse"
				}
			},
			{
				"name": "ohos.permission.LOCATION",
				"reason": "$string:permission_reason_location",
				"usedScene": {
					"when": "inuse",
					"abilities": [
						"EntryAbility"
					]
				}
			},
			{
				"name": "ohos.permission.APPROXIMATELY_LOCATION",
				"reason": "$string:permission_reason_APPROXIMATELY_LOCATION",
				"usedScene": {
					"when": "inuse",
					"abilities": [
						"EntryAbility"
					]
				}
			},
			{
				"name": "ohos.permission.LOCATION_IN_BACKGROUND",
				"reason": "$string:permission_reason_LOCATION_IN_BACKGROUND",
				"usedScene": {
					"when": "inuse",
					"abilities": [
						"EntryAbility"
					]
				}
			},
			{
				"name": "ohos.permission.ACCESS_NOTIFICATION_POLICY",
				"reason": "$string:permission_reason_LOCATION_IN_BACKGROUND",
				"usedScene": {
					"when": "inuse",
					"abilities": [
						"EntryAbility"
					]
				}
			},
			{
				"name": "ohos.permission.GET_BUNDLE_INFO",
				"reason": "$string:permission_reason_LOCATION_IN_BACKGROUND",
				"usedScene": {
					"when": "inuse",
					"abilities": [
						"EntryAbility"
					]
				}
			},
			{
				"name": "ohos.permission.GET_NETWORK_INFO",
				"reason": "$string:permission_reason_LOCATION_IN_BACKGROUND",
				"usedScene": {
					"when": "inuse",
					"abilities": [
						"EntryAbility"
					]
				}
			},
			{
				"name": "ohos.permission.GET_WIFI_INFO",
				"reason": "$string:permission_reason_LOCATION_IN_BACKGROUND",
				"usedScene": {
					"when": "inuse",
					"abilities": [
						"EntryAbility"
					]
				}
			},
			{
				"name": "ohos.permission.FILE_ACCESS_PERSIST",
				"reason": "$string:permission_reason_LOCATION_IN_BACKGROUND",
				"usedScene": {
					"when": "inuse",
					"abilities": [
						"EntryAbility"
					]
				}
			},
			{
				"name": "ohos.permission.READ_WRITE_DOWNLOAD_DIRECTORY",
				"reason": "$string:permission_reason_LOCATION_IN_BACKGROUND",
				"usedScene": {
					"when": "inuse",
					"abilities": [
						"EntryAbility"
					]
				}
			},
			{
				"name": "ohos.permission.READ_WRITE_DOCUMENTS_DIRECTORY",
				"reason": "$string:permission_reason_LOCATION_IN_BACKGROUND",
				"usedScene": {
					"when": "inuse",
					"abilities": [
						"EntryAbility"
					]
				}
			},
			{
				"name": "ohos.permission.WRITE_MEDIA",
				"reason": "$string:permission_reason_LOCATION_IN_BACKGROUND",
				"usedScene": {
					"when": "inuse",
					"abilities": [
						"EntryAbility"
					]
				}
			}
		],
		"packageName": "entry",
		"virtualMachine": "ark13.0.1.0",
		"compileMode": "esmodule",
		"dependencies": []
	}
}