manifest.json配置如下
{
"name" : "隐藏",
"appid" : "隐藏",
"description" : "隐藏",
"versionName" : "2.4.32",
"versionCode" : 2040324,
"transformPx" : false,
/ 5+App特有相关 /
"app-plus" : {
"usingComponents" : true,
"nvueStyleCompiler" : "uni-app",
"compilerVersion" : 3,
"splashscreen" : {
"alwaysShowBeforeRender" : false,
"waiting" : false,
"autoclose" : true,
"delay" : 0
},
/ 模块配置 /
"modules" : {
"UniMP" : {
"description" : "uni小程序"
},
"VideoPlayer" : {},
"Camera" : {},
"Record" : {},
"Share" : {},
"Geolocation" : {},
"Maps" : {},
"Bluetooth" : {},
"Push" : {}
},
/ 应用发布信息 /
"distribute" : {
/ android打包配置 /
"android" : {
"permissions" : [
"<uses-feature android:name=\"android.hardware.camera\"/>",
"<uses-feature android:name=\"android.hardware.camera.autofocus\"/>",
"<uses-permission android:name=\"android.permission.ACCESS_COARSE_LOCATION\"/>",
"<uses-permission android:name=\"android.permission.ACCESS_FINE_LOCATION\"/>",
"<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.INTERNET\" />",
"<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.WRITE_EXTERNAL_STORAGE\" />",
"<uses-permission android:name=\"android.permission.ACCESS_LOCATION_EXTRA_COMMANDS\" />",
"<uses-permission android:name=\"android.permission.BLUETOOTH\" />",
"<uses-permission android:name=\"android.permission.BLUETOOTH_ADMIN\" />",
"<uses-permission android:name=\"android.permission.VIBRATE\"/>",
"<uses-permission android:name=\"android.permission.WAKE_LOCK\"/>",
"<uses-permission android:name=\"android.permission.WRITE_SETTINGS\"/>"
],
"minSdkVersion" : 21,
"autoSdkPermissions" : false,
"abiFilters" : [ "armeabi-v7a", "arm64-v8a", "x86" ]
},
/ ios打包配置 /
"ios" : {
"dSYMs" : false,
"privacyDescription" : {
"NSPhotoLibraryUsageDescription" : "App需要您的同意,才能访问相册上传您的照片/图片/视频,以实现发表评论/聊天等功能,如禁止将无法发送照片/图片/视频",
"NSPhotoLibraryAddUsageDescription" : "APP需要您的同意,才能在使用视频缓存功能需要获取存储权限,方便下载视频,拍照更换头像的时方便存储照片",
"NSCameraUsageDescription" : "APP需要您的同意,才能访问相机进行拍摄照片/视频发布信息,如禁止将无法拍摄图片/视频进行发布",
"NSMicrophoneUsageDescription" : "App需要您的同意,才能访问麦克风进行语音聊天/录制音频,如禁止将无法语音聊天/录制音频发送",
"NSLocationWhenInUseUsageDescription" : "APP需要您的同意,才能访问定位位置用于评论文章展示归属地,如禁止将无法展示有效归属地",
"NSLocationAlwaysUsageDescription" : "APP需要您的同意,才能访问定位位置用于评论文章展示归属地,如禁止将无法展示有效归属地",
"NSLocationAlwaysAndWhenInUseUsageDescription" : "APP需要您的同意,才能访问定位位置用于评论文章展示归属地,如禁止将无法展示有效归属地",
"NSBluetoothPeripheralUsageDescription" : "APP需要您的同意,才能访问蓝牙用于连接蓝牙打印文章内容,如禁止将无法进行蓝牙连接",
"NSBluetoothAlwaysUsageDescription" : "APP需要您的同意,才能访问蓝牙用于连接蓝牙打印文章内容,如禁止将无法进行蓝牙连接"
},
"idfa" : false
},
/ SDK配置 /
"sdkConfigs" : {
"ad" : {},
"share" : {
"weixin" : {
"appid" : "隐藏",
"UniversalLinks" : "隐藏"
}
},
"geolocation" : {
"baidu" : {
"platform" : [ "ios", "android" ],
"appkey_ios" : "隐藏",
"appkey_android" : "隐藏"
}
},
"maps" : {
"baidu" : {
"appkey_ios" : "隐藏",
"appkey_android" : "隐藏"
}
},
"push" : {
"unipush" : {
"version" : "2",
"offline" : false,
"icons" : {
"small" : {
"ldpi" : "C:/Users/cl/Desktop/logo尺寸/logo_18_18.png",
"mdpi" : "C:/Users/cl/Desktop/logo尺寸/logo_24_24.png",
"hdpi" : "C:/Users/cl/Desktop/logo尺寸/logo_36_36.png",
"xhdpi" : "C:/Users/cl/Desktop/logo尺寸/logo_48_48.png",
"xxhdpi" : "C:/Users/cl/Desktop/logo尺寸/logo_72_72.png"
}
}
}
}
},
"splashscreen" : {
"androidStyle" : "default",
"useOriginalMsgbox" : true,
"android" : {
"hdpi" : "static/mylachImage.imageset/640x960.png",
"xhdpi" : "static/mylachImage.imageset/750x1334.png",
"xxhdpi" : "static/mylachImage.imageset/1125x2436.png"
},
"iosStyle" : "storyboard",
"ios" : {
"iphone" : {
"retina35" : "static/mylachImage.imageset/640x960.png",
"retina40l" : "static/mylachImage.imageset/640x1136.png",
"retina40" : "static/mylachImage.imageset/640x1136.png",
"retina47l" : "static/mylachImage.imageset/750x1334.png",
"retina47" : "static/mylachImage.imageset/750x1334.png",
"retina55" : "static/mylachImage.imageset/1242x2208.png",
"retina55l" : "static/mylachImage.imageset/1242x2208.png",
"portrait-896h@3x" : "static/mylachImage.imageset/1242x2688.png",
"landscape-896h@3x" : "static/mylachImage.imageset/1242x2688.png",
"portrait-896h@2x" : "static/mylachImage.imageset/828x1792.png",
"landscape-896h@2x" : "static/mylachImage.imageset/828x1792.png",
"iphonex" : "static/mylachImage.imageset/1125x2436.png",
"iphonexl" : "static/mylachImage.imageset/1125x2436.png"
},
"storyboard" : "D:/Project/APP证书相关/LaunchScreen.zip"
}
},
"icons" : {
"ios" : {
"iphone" : {
"settings@3x" : "unpackage/res/icons/87x87.png",
"settings@2x" : "unpackage/res/icons/58x58.png",
"spotlight@3x" : "unpackage/res/icons/120x120.png",
"spotlight@2x" : "unpackage/res/icons/80x80.png",
"app@3x" : "unpackage/res/icons/180x180.png",
"app@2x" : "unpackage/res/icons/120x120.png",
"notification@2x" : "unpackage/res/icons/40x40.png",
"notification@3x" : "unpackage/res/icons/60x60.png"
},
"appstore" : "unpackage/res/icons/1024x1024.png",
"ipad" : {
"app" : "unpackage/res/icons/76x76.png",
"app@2x" : "unpackage/res/icons/152x152.png",
"notification" : "unpackage/res/icons/20x20.png",
"notification@2x" : "unpackage/res/icons/40x40.png",
"proapp@2x" : "unpackage/res/icons/167x167.png",
"settings" : "unpackage/res/icons/29x29.png",
"settings@2x" : "unpackage/res/icons/58x58.png",
"spotlight" : "unpackage/res/icons/40x40.png",
"spotlight@2x" : "unpackage/res/icons/80x80.png"
}
},
"android" : {
"hdpi" : "unpackage/res/icons/72x72.png",
"xhdpi" : "unpackage/res/icons/96x96.png",
"xxhdpi" : "unpackage/res/icons/144x144.png",
"xxxhdpi" : "unpackage/res/icons/192x192.png"
}
}
},
"nativePlugins" : {
"TencentCloud-TUICallKit" : {
"plugin_info" : {
"name" : "【官方】腾讯云音视频通话插件TencentCloud-TUICallKit",
"description" : "TUICallKit 是腾讯云官方推出的音视频通话插件,支持 1v1 通话和群组通话,并提供“类微信\"的 UI 交互,开发者仅需三个 API 就可实现。",
"platforms" : "Android,iOS",
"url" : "https://ext.dcloud.net.cn/plugin?id=9035",
"android_package_name" : "隐藏",
"ios_bundle_id" : "隐藏",
"isCloud" : true,
"bought" : 1,
"pid" : "隐藏",
"parameters" : {}
}
},
"xysdk" : {
"plugin_info" : {
"name" : "XYSDKUniPlugin",
"description" : "YinYe SDK",
"platforms" : "Android,iOS",
"url" : "",
"android_package_name" : "",
"ios_bundle_id" : "",
"isCloud" : false,
"bought" : -1,
"pid" : "",
"parameters" : {}
}
}
}
},
"permission" : {
"storage" : {
"description" : "访问本地文件"
},
"File" : {
"description" : "文件系统"
}
},
/ 快应用特有相关 /
"quickapp" : {},
/ 小程序特有相关 /
"mp-weixin" : {
"appid" : "",
"setting" : {
"urlCheck" : false
},
"usingComponents" : true
},
"mp-alipay" : {
"usingComponents" : true
},
"mp-baidu" : {
"usingComponents" : true
},
"mp-toutiao" : {
"usingComponents" : true
},
"uniStatistics" : {
"enable" : false
},
"vueVersion" : "3",
"h5" : {
"router" : {
"base" : "./"
},
"devServer" : {
"https" : false
}
}
}
- 发布:2024-06-18 23:50
- 更新:2024-06-19 12:32
- 阅读:206
产品分类: uniapp/App
PC开发环境操作系统: Windows
PC开发环境操作系统版本号: Windows 11专业版(22621.1702)
HBuilderX类型: 正式
HBuilderX版本号: 4.15
手机系统: iOS
手机系统版本号: iOS 17
手机厂商: 苹果
手机机型: iphone 15pro
页面类型: vue
vue版本: vue3
打包方式: 云端
项目创建方式: HBuilderX
示例代码:
操作步骤:
打开APP,第一次加载并安装uni小程序时可以正常打开,随后在后台发布该小程序的新版本wgt资源包。此时重新打开刚才的小程序,进入页面自动更新,进度条到100%时报错HTML5+ Runtime缺少升级包manifest.json中配置的模块:UniNView。
打开APP,第一次加载并安装uni小程序时可以正常打开,随后在后台发布该小程序的新版本wgt资源包。此时重新打开刚才的小程序,进入页面自动更新,进度条到100%时报错HTML5+ Runtime缺少升级包manifest.json中配置的模块:UniNView。
预期结果:
可以正常热更新小程序
可以正常热更新小程序
实际结果:
报错HTML5+ Runtime缺少升级包manifest.json中配置的模块:UniNView。
报错HTML5+ Runtime缺少升级包manifest.json中配置的模块:UniNView。
bug描述:
(仅IOS) 热更新wgt资源包时报错HTML5+ Runtime缺少升级包manifest.json中配置的模块:UniNView 但是根本没有配置UniNView这个模块的地方。但安卓又可以正常进行热更新;
本项目为使用uniapp开发的APP集成uniMP小程序
1 个回复
沈工
有尝解决吗,可以的话加个wx:shenhl-0321