- 安卓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-08 - app拉起小程序,无法从小程序返回app
APP拉起小程序正常 implementation 'com.tencent.mm.opensdk:wechat-sdk-android:+' IWXAPI api = WXAPIFactory.createWXAPI(this, HttpUtil.WECHAT_OPEN_APPID); WXLaunchMiniProgram.Req req = new WXLaunchMiniProgram.Req(); req.userName = HttpUtil.WECHAT_MINI_ID; req.path = "/pages/thirdpay/thirdpay?"+params; req.miniprogramType = WXLaunchMiniProgram.Req.MINIPROGRAM_TYPE_TEST; api.sendReq(req); 2、小程序返回app,点击按钮没有反映,也没有调用launchAppError <button style="margin-top: 100px;" open-type="launchApp" app-parameter="wechat" binderror="launchAppError">返回app2</button> 3、app有配置 WXEntryActivity <activity android:name=".wxapi.WXEntryActivity" android:exported="true" android:launchMode="singleTask" android:taskAffinity="io.dcloud.glzhtc" android:theme="@style/AppTheme.NoActionBar" /> [图片]
2023-08-02 - 经常报wx.request fail
网络请求失败 appid:wx8aca9a17d7459a83 [图片]
2023-05-10