真是服了, 一个官方的回答都没有
安卓app调用小程序后无法返回IWXAPI api = WXAPIFactory.createWXAPI(activity, HttpUtil.WECHAT_OPEN_APPID); WXLaunchMiniProgram.Req req = new WXLaunchMiniProgram.Req(); req.userName = HttpUtil.WECHAT_MINI_ID; Log.d("chargewebview","/pages/chargepay/chargepay?orderinfo="+ URLEncoder.encode(params)); req.path = "/pages/chargepay/chargepay?orderinfo="+ URLEncoder.encode(params); req.miniprogramType = WXLaunchMiniProgram.Req.MINIPROGRAM_TYPE_TEST; api.sendReq(req); <button style="margin-top: 100px;" open-type="launchApp" app-parameter="wechat" binderror="launchAppError">返回app2</button> launchAppError:function (e) { console.log("launchAppError:",e) wx.showToast({ icon: 'none', title: '返回app失败', }) } 点击 返回 app 按钮无效,也没有调用 launchAppError。 麻烦看看是什么问题, 提交很多次了, 没有反馈 日志已上传,发生时间是2023.8.8 10:20左右 微信号:huajun281409
2023-08-09