{
"name" : "tanyi",
"appid" : "UNI850F376",
"description" : "",
"versionName" : "1.0.0",
"versionCode" : "100",
"transformPx" : false,
/ 5+App特有相关 /
"app-plus" : {
"usingComponents" : true,
"nvueStyleCompiler" : "uni-app",
"compilerVersion" : 3,
"splashscreen" : {
"alwaysShowBeforeRender" : true,
"waiting" : false,
"autoclose" : true,
"delay" : 0
},
/ 模块配置 /
"modules" : {
"OAuth" : {},
"Payment" : {}
},
/ 应用发布信息 /
"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\"/>"
],
"abiFilters" : [ "armeabi-v7a", "arm64-v8a" ]
},
/ ios打包配置 /
"ios" : {
"urltypes" : "tanyi",
"urlschemewhitelist" : "uppaysdk,uppaywallet,uppayx1,uppayx2,uppayx3"
},
/ SDK配置 /
"sdkConfigs" : {
"oauth" : {
"apple" : {}
},
"ad" : {},
"payment" : {
"alipay" : {
"platform" : [ "ios", "android" ]
}
}
},
"splashscreen" : {
"androidStyle" : "default",
"android" : {
"hdpi" : "E:/jjh_work/qidong.9.png",
"xhdpi" : "E:/jjh_work/qidong.9.png",
"xxhdpi" : "E:/jjh_work/qidong.9.png"
}
},
"icons" : {
"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"
},
"ios" : {
"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"
},
"iphone" : {
"app@2x" : "unpackage/res/icons/120x120.png",
"app@3x" : "unpackage/res/icons/180x180.png",
"notification@2x" : "unpackage/res/icons/40x40.png",
"notification@3x" : "unpackage/res/icons/60x60.png",
"settings@2x" : "unpackage/res/icons/58x58.png",
"settings@3x" : "unpackage/res/icons/87x87.png",
"spotlight@2x" : "unpackage/res/icons/80x80.png",
"spotlight@3x" : "unpackage/res/icons/120x120.png"
}
}
}
},
"nativePlugins" : {
"HXR-UPPay" : {
"__plugin_info__" : {
"name" : "银联云闪付支付",
"description" : "银联支付控件,会自动调起云闪付或者打开控件完成支付。",
"platforms" : "Android,iOS",
"url" : "https://ext.dcloud.net.cn/plugin?id=2746",
"android_package_name" : "com.fusneaker.tanyiapp",
"ios_bundle_id" : "com.fusneaker.tanyiapp",
"isCloud" : true,
"bought" : 1,
"pid" : "2746",
"parameters" : {}
}
}
}
},
/ 快应用特有相关 /
"quickapp" : {},
/ 小程序特有相关 /
"mp-weixin" : {
"appid" : "",
"setting" : {
"urlCheck" : false
},
"usingComponents" : true
},
"mp-alipay" : {
"usingComponents" : true
},
"mp-baidu" : {
"usingComponents" : true
},
"mp-toutiao" : {
"usingComponents" : true
},
"uniStatistics" : {
"enable" : false
},
"h5" : {
"template" : ""
}
}
- 发布:2021-08-26 15:52
- 更新:2021-08-26 15:52
- 阅读:560
产品分类: uniapp/App
PC开发环境操作系统: Windows
PC开发环境操作系统版本号: win10
HBuilderX类型: 正式
HBuilderX版本号: 3.2.3
手机系统: iOS
手机系统版本号: iOS 13.2
手机厂商: 苹果
手机机型: iphone
页面类型: vue
打包方式: 云端
项目创建方式: HBuilderX
示例代码:
操作步骤:
按照云闪付插件的文档配置并打包后,安卓端正常,ios端出现闪退,和作者沟通后也不知道原因
按照云闪付插件的文档配置并打包后,安卓端正常,ios端出现闪退,和作者沟通后也不知道原因
预期结果:
正常情况应该是直接打开云闪付并支付后返回app
正常情况应该是直接打开云闪付并支付后返回app
实际结果:
并没有打开云闪付,且app闪退
并没有打开云闪付,且app闪退
bug描述:
购买了一款付费插件,是调用云闪付支付的插件,也和作者私下交流了,配置一模一样,结果他打包的ios包就能正常运行并使用云闪付支付,而我这边打包的包就出现调用云闪付的时候应用闪退,在测试包的时候还出现了 明明安装了插件 却访问不到云闪付插件,显示未安装,但是多经过几次打包后插件就能检测到安装了云闪付
0 个回复