manifest.json 3.7 KB
Newer Older
芊里 已提交
1 2 3 4 5 6
{
	"name": "base-app",
	"appid": "__UNI__BC54A00",
	"description": "",
	"versionName": "1.0.0",
	"versionCode": "100",
芊里 已提交
7
	"transformPx": false,
芊里 已提交
8 9 10
	"app-plus": {
		"usingComponents": true,
		"nvueCompiler": "uni-app",
芊里 已提交
11 12
		"compilerVersion": 3,
		"screenOrientation":["portrait-primary"],	// 竖屏锁定
芊里 已提交
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 104 105 106 107 108 109 110 111 112 113 114 115
		"safearea": { //安全区域配置,仅iOS平台生效  
			"background": "#FFFFFF", //安全区域外的背景颜色,默认值为"#FFFFFF"  
			"bottom": { // 底部安全区域配置  
				"offset": "auto" // 底部安全区域偏移,"none"表示不空出安全区域,"auto"自动计算空出安全区域,默认值为"none"  
			}
		},
		"splashscreen": {
			"alwaysShowBeforeRender": true,
			"waiting": true,
			"autoclose": true,
			"delay": 0
		},
		"modules": {
			"Share": {},
			"Fingerprint": {},
			"OAuth": {}
		},
		"distribute": {
			"android": {
				"permissions": [
					"<uses-feature android:name=\"android.hardware.camera\"/>",
					"<uses-feature android:name=\"android.hardware.camera.autofocus\"/>",
					"<uses-permission android:name=\"android.permission.ACCESS_NETWORK_STATE\"/>",
					"<uses-permission android:name=\"android.permission.ACCESS_WIFI_STATE\"/>",
					"<uses-permission android:name=\"android.permission.CAMERA\"/>",
					"<uses-permission android:name=\"android.permission.CHANGE_NETWORK_STATE\"/>",
					"<uses-permission android:name=\"android.permission.CHANGE_WIFI_STATE\"/>",
					"<uses-permission android:name=\"android.permission.FLASHLIGHT\"/>",
					"<uses-permission android:name=\"android.permission.MODIFY_AUDIO_SETTINGS\"/>",
					"<uses-permission android:name=\"android.permission.MOUNT_UNMOUNT_FILESYSTEMS\"/>",
					"<uses-permission android:name=\"android.permission.READ_LOGS\"/>",
					"<uses-permission android:name=\"android.permission.READ_PHONE_STATE\"/>",
					"<uses-permission android:name=\"android.permission.USE_FINGERPRINT\"/>",
					"<uses-permission android:name=\"android.permission.VIBRATE\"/>",
					"<uses-permission android:name=\"android.permission.WAKE_LOCK\"/>",
					"<uses-permission android:name=\"android.permission.WRITE_SETTINGS\"/>"
				]
			},
			/* ios打包配置 */
			"ios": {
				"capabilities": {
					"plists": {
						"DCloudConfig": {
							"miniServer": true
						}
					},
					"entitlements": {
						"com.apple.developer.associated-domains": [
							"applinks:uniapp.dcloud.io",
							"applinks:static-7827e38b-7f40-4421-bca7-58331dcddc00.bspapp.com"
						]
					}
				},
				"privacyDescription": {
					"NSLocalNetworkUsageDescription": "展示游戏页面"
				}
			},
			"sdkConfigs": {
				"oauth": {
					"apple": {},
					"weixin": {
						"appid": "wx0411fa6a39d61297",
						"appsecret": "",
						"UniversalLinks": "https://static-7827e38b-7f40-4421-bca7-58331dcddc00.bspapp.com/uni-universallinks/__UNI__BC54A00"
					},
					"univerify": {}
				},
				"share": {
					"weixin": {
						"appid": "wx0411fa6a39d61297",
						"UniversalLinks": "https://static-7827e38b-7f40-4421-bca7-58331dcddc00.bspapp.com/uni-universallinks/__UNI__BC54A00",
						"_spaceID": "7827e38b-7f40-4421-bca7-58331dcddc00"
					}
				},
				"payment": {
					"weixin": {
						"UniversalLinks": "https://static-7827e38b-7f40-4421-bca7-58331dcddc00.bspapp.com/uni-universallinks/__UNI__BC54A00"
					}
				},
				"ad": {}
			}
		}
	},
	"quickapp": {},
	"mp-weixin": {
		"appid": "",
		"setting": {
			"urlCheck": false
		},
		"usingComponents": true
	},
	"mp-alipay": {
		"usingComponents": true
	},
	"mp-baidu": {
		"usingComponents": true
	},
	"mp-toutiao": {
		"usingComponents": true
	},
	"uniStatistics": {
		"enable": false
	}
L
123  
linju 已提交
116
}