/ 5+App特有相关 /
"app-plus" : {
"usingComponents" : true,
"nvueStyleCompiler" : "uni-app",
"compilerVersion" : 3,
"splashscreen" : {
"alwaysShowBeforeRender" : true,
"waiting" : true,
"autoclose" : true,
"delay" : 0
},
/ 模块配置 /
"modules" : {},
/ 应用发布信息 /
"distribute" : {
/ android打包配置 /
"android" : {
"permissions" : [
"<uses-permission android:name=\"android.permission.CHANGE_NETWORK_STATE\"/>",
"<uses-permission android:name=\"android.permission.MOUNT_UNMOUNT_FILESYSTEMS\"/>",
"<uses-permission android:name=\"android.permission.VIBRATE\"/>",
"<uses-permission android:name=\"android.permission.READ_LOGS\"/>",
"<uses-permission android:name=\"android.permission.ACCESS_WIFI_STATE\"/>",
"<uses-feature android:name=\"android.hardware.camera.autofocus\"/>",
"<uses-permission android:name=\"android.permission.ACCESS_NETWORK_STATE\"/>",
"<uses-permission android:name=\"android.permission.CAMERA\"/>",
"<uses-permission android:name=\"android.permission.GET_ACCOUNTS\"/>",
"<uses-permission android:name=\"android.permission.READ_PHONE_STATE\"/>",
"<uses-permission android:name=\"android.permission.CHANGE_WIFI_STATE\"/>",
"<uses-permission android:name=\"android.permission.WAKE_LOCK\"/>",
"<uses-permission android:name=\"android.permission.FLASHLIGHT\"/>",
"<uses-feature android:name=\"android.hardware.camera\"/>",
"<uses-permission android:name=\"android.permission.WRITE_SETTINGS\"/>"
],
"schemes" : "apptest",
"abiFilters" : [ "armeabi-v7a", "arm64-v8a" ]
},
/ ios打包配置 /
"ios" : {
"dSYMs" : false
},
/ SDK配置 /
"sdkConfigs" : {
"ad" : {}
}
}
},
"plus" : {
"distribute" : {
"google" : {
"schemes" : "apptest"
}
}
},
新创建了一个空项目,配置 apptest ,云打包后,手机安装app,打开手机浏览器输入:http://apptest://pages/index/index 浏览器提示 "您访问的页面不存在",无法拉起手机app,这是为什么呢?
1***@163.com
- 发布:2025-01-13 10:30
- 更新:2025-01-13 10:52
- 阅读:14
1 个回复
朱小
不能直接输入的,写一个h5做跳转吧 window.location.href = "apptest://";