修改manifest.json

This commit is contained in:
2024-07-30 09:47:29 +08:00
parent 6a97c93c58
commit 55e6620508

View File

@@ -1,50 +1,58 @@
{ {
"name": "众妙之门", "name": "众妙之门",
"appid": "__UNI__5D0ED80", "appid": "__UNI__5D0ED80",
"description" : "uni-app 框架示例一套代码同时发行到iOS、Android、H5、小程序等多个平台请使用手机扫码快速体验 uni-app 的强大功能", "description": "众妙之门",
"versionName" : "1.0.12", "networkTimeout": {
"versionCode" : 1012, "request": 3000
},
"transformPx": false, "transformPx": false,
"icons": [{
"sizes": "分辨率192x192",
"src": "图片路径"
}],
"versionName": "1.0.04",
"versionCode": 1004,
"app-plus": { "app-plus": {
"nvueCompiler": "weex",
"compatible": { "compatible": {
// 设置为true表示忽略版本检查提示框HBuilderX1.9.0及以上版本支持
"ignoreVersion": true "ignoreVersion": true
}, },
"orientation" : [ "screenOrientation": [
//竖屏正方向
"portrait-primary", "portrait-primary",
//竖屏反方向
"portrait-secondary", "portrait-secondary",
//横屏正方向
"landscape-primary", "landscape-primary",
//横屏反方向 "landscape-secondary"
"landscape-secondary",
//自然方向
"default"
], ],
"usingComponents" : true, "privacy": {
"nvueCompiler" : "uni-app", "prompt": "template",
"nvueStyleCompiler" : "uni-app", "template": {
"compilerVersion" : 3, "title": "用户协议和隐私政策",
"nvueLaunchMode" : "fast", "message": "请你务必审慎阅读、充分理解“隐私政策”各条款,包括但不限于:为了更好的向你提供服务,我们需要收集你的设备标识、操作日志等信息用于分析、优化应用性能。<br/>  你可阅读<a href='https://zmzm.taihumed.com/agreement.html'>《用户协议》</a>和<a href='https://zmzm.taihumed.com/privacy.html'>《隐私协议》</a>了解详细信息。如果你同意,请点击下面按钮开始接受我们的服务。",
"splashscreen" : { "buttonAccept": "同意",
"iosStyle" : "common", "buttonRefuse": "暂不同意"
"androidStyle" : "default", }
"useOriginalMsgbox" : true
}, },
"modules": { "modules": {
"Push" : {},
"Share" : {},
"Speech" : {},
"VideoPlayer" : {},
"Payment": {}, "Payment": {},
"Camera" : {} "Share": {},
"Camera": {},
"OAuth": {},
"VideoPlayer": {}
}, },
"distribute": { "distribute": {
"distribute" : { "apple": {
"orientation" : [ "portrait-primary" ] //重力感应、横竖屏配置 "devices": "universal"
}, },
// "UIBackgroundModes" : [ "audio" ]
"android": { "android": {
"permissionPhoneState": {
"request": "none",
"prompt": "为保证您正常、安全地使用,需要获取设备识别码(部分手机提示为获取手机号码)使用权限,请允许。"
},
"permissionExternalStorage": {
"request": "none",
"prompt": "应用保存运行状态等信息,需要获取读写手机存储(系统提示为访问设备上的照片、媒体内容和文件)权限,请允许。"
},
"permissions": [ "permissions": [
"<uses-feature android:name=\"android.hardware.camera\"/>", "<uses-feature android:name=\"android.hardware.camera\"/>",
"<uses-feature android:name=\"android.hardware.camera.autofocus\"/>", "<uses-feature android:name=\"android.hardware.camera.autofocus\"/>",
@@ -72,46 +80,56 @@
"<uses-permission android:name=\"android.permission.WRITE_EXTERNAL_STORAGE\"/>", "<uses-permission android:name=\"android.permission.WRITE_EXTERNAL_STORAGE\"/>",
"<uses-permission android:name=\"android.permission.WRITE_SETTINGS\"/>" "<uses-permission android:name=\"android.permission.WRITE_SETTINGS\"/>"
], ],
"targetSdkVersion" : 30,
"minSdkVersion" : 21,
"abiFilters": ["armeabi-v7a", "arm64-v8a", "x86"], "abiFilters": ["armeabi-v7a", "arm64-v8a", "x86"],
"minSdkVersion": 21,
"targetSdkVersion": 30,
"schemes": "zmzm" "schemes": "zmzm"
}, },
"sdkConfigs": {
"ad": {},
"maps": {},
"share": {
"weixin": {
"appid": "wx912aa600132dc965",
"UniversalLinks": "https://verification.nuttyreading.com/uni-universallinks/__UNI__5D0ED80/"
}
},
"payment": {
"alipay": {
"__platform__": ["ios", "android"]
},
"appleiap": {},
"weixin": {
"__platform__": ["ios", "android"],
"appid": "wx912aa600132dc965",
"UniversalLinks": "https://verification.nuttyreading.com/uni-universallinks/__UNI__5D0ED80/"
}
},
"oauth": {},
"push": {}
},
"splashscreen": {
"iosStyle": "common",
"androidStyle": "default",
"useOriginalMsgbox": true
},
"ios": { "ios": {
"UIBackgroundModes" : [ "audio" ],
"urlschemewhitelist" : [ "baidumap", "iosamap", "nuttyrading" ],
"dSYMs": false, "dSYMs": false,
"urltypes" : "zmzm", // "UIBackgroundModes" : [ "audio" ], // 背景播放音乐
"capabilities": { "capabilities": {
"entitlements": { "entitlements": {
"com.apple.developer.associated-domains": ["applinks:verification.nuttyreading.com"] "com.apple.developer.associated-domains": ["applinks:verification.nuttyreading.com"]
} }
}, },
"idfa" : true "idfa": false,
}, "urltypes": "zmzm",
"sdkConfigs" : { "urlschemewhitelist": "nuttyreading,medicine",
"speech" : {}, "privacyDescription": {
"oauth" : {}, "NSPhotoLibraryUsageDescription": "保障您在此app中的修改头像、申诉反馈上传图片、留言上传图片功能的正常使用",
"payment" : { "NSCameraUsageDescription": "保障您在此app中的修改头像、申诉反馈上传图片、留言上传图片功能的正常使用",
"alipay" : { "NSPhotoLibraryAddUsageDescription": "保障您在此app中的修改头像、申诉反馈上传图片、留言上传图片功能的正常使用"
"__platform__" : [ "ios", "android" ]
},
"weixin" : {
"__platform__" : [ "ios", "android" ],
"appid" : "wx912aa600132dc965",
"UniversalLinks" : "https://verification.nuttyreading.com/zmzm/"
},
"appleiap" : {}
},
"share" : {
"weixin" : {
"appid" : "wx912aa600132dc965",
"UniversalLinks" : "https://verification.nuttyreading.com/zmzm/"
} }
}, },
"ad" : {}
},
"orientation" : [ "portrait-primary" ],
"icons": { "icons": {
"android": { "android": {
"hdpi": "unpackage/res/icons/72x72.png", "hdpi": "unpackage/res/icons/72x72.png",
@@ -143,103 +161,81 @@
"spotlight@3x": "unpackage/res/icons/120x120.png" "spotlight@3x": "unpackage/res/icons/120x120.png"
} }
} }
},
"splashscreen" : {
"androidStyle" : "common",
"android" : {
"hdpi" : "unpackage/res/icons/72x72.png"
},
"iosStyle" : "common",
"useOriginalMsgbox" : true
} }
}, },
"compilerVersion": 3,
"nvueLaunchMode": "fast",
"splashscreen": {
"alwaysShowBeforeRender": false
},
"nativePlugins": {},
"uniStatistics": { "uniStatistics": {
"enable": true "enable": true
}, },
"nativePlugins" : {} "safearea": {
}, //安全区域配置仅iOS平台生效
"quickapp" : {}, "bottom": {
"quickapp-native" : { // 底部安全区域配置
"icon" : "/static/logo.png", "offset": "none" // 底部安全区域偏移,"none"表示不空出安全区域,"auto"自动计算空出安全区域,默认值为"none"
"package" : "com.example.demo", }
"features" : [
{
"name" : "system.clipboard"
} }
]
},
"quickapp-webview" : {
"icon" : "static/icon/fengziIcon.png",
"package" : "com.cn.zmzm",
"minPlatformVersion" : 1070,
"versionName" : "1.0.1",
"versionCode" : 101
}, },
// 5+App特有相关
"quickapp": {},
// 快应用特有相关
"mp-weixin": { "mp-weixin": {
"appid" : "",
"setting": { "setting": {
"urlCheck" : false "urlCheck": false,
"es6": true,
"postcss": true,
"minified": true
}, },
"usingComponents": true, "usingComponents": true,
"appid": "wx912aa600132dc965",
"permission": { "permission": {
"scope.userLocation": { "scope.userLocation": {
"desc" : "演示定位能力" "desc": "你的位置信息将用于小程序位置接口的效果展示"
} }
}, },
"uniStatistics": { "uniStatistics": {
"enable": true "enable": true
} }
}, },
"mp-alipay" : {
"usingComponents" : true,
"uniStatistics" : {
"enable" : true
}
},
"mp-baidu" : {
"usingComponents" : true,
"uniStatistics" : {
"enable" : true
},
"dynamicLib" : {
"editorLib" : {
"provider" : "swan-editor"
}
}
},
"mp-toutiao" : {
"usingComponents" : true,
"uniStatistics" : {
"enable" : true
}
},
"mp-jd" : {
"usingComponents" : true,
"uniStatistics" : {
"enable" : true
}
},
"h5": { "h5": {
"template": "template.h5.html", "template": "template.h5.html",
"router": { "router": {
"mode" : "history", "mode": "hash",
"base" : "" "base": "/uniappDemo/"
}, },
"sdkConfigs" : { "optimization": {
"maps" : { "treeShaking": {
"qqmap" : { "enable": true
"key" : "TKUBZ-D24AF-GJ4JY-JDVM2-IBYKK-KEBCU"
} }
}
},
"async" : {
"timeout" : 20000
}, },
"uniStatistics": { "uniStatistics": {
"enable": true "enable": true
} }
}, },
"vueVersion" : "2", "_spaceID": "mp-3614b80b-2d75-4462-a481-4998f8187274",
"uniStatistics": {
"version": "2",
"enable": true
},
"mp-alipay": {
"uniStatistics": {
"enable": true
}
},
"mp-baidu": {
"uniStatistics": {
"enable": true
}
},
"mp-jd": {
"uniStatistics": {
"enable": true
}
},
"mp-kuaishou": { "mp-kuaishou": {
"uniStatistics": { "uniStatistics": {
"enable": true "enable": true
@@ -255,6 +251,11 @@
"enable": true "enable": true
} }
}, },
"mp-toutiao": {
"uniStatistics": {
"enable": true
}
},
"quickapp-webview-huawei": { "quickapp-webview-huawei": {
"uniStatistics": { "uniStatistics": {
"enable": true "enable": true
@@ -264,10 +265,6 @@
"uniStatistics": { "uniStatistics": {
"enable": true "enable": true
} }
},
"uniStatistics" : {
"version" : "2",
"enable" : true
},
"_spaceID" : "mp-3614b80b-2d75-4462-a481-4998f8187274"
} }
}
//