- APP跳转微信支付,支付完成正常回调,但是点击返回商户,无法返回APP,但是有时候又可以正常返回
APP跳转微信支付,支付完成正常回调,但是点击返回商户,无法返回APP,回到微信首页,但是有时候又可以正常返回
2024-12-06 - Android 拉起微信小程序,没有跳转到微信,但是后台微信小程序是打开状态?
app点击跳转小程序,部分机型点击后没有反应,也没有跳转,但是应用切换后台可以看到小程序已经打开
2024-05-31 - 安卓跳转小程序支付无法返回app,但是可以在接收到回调数据,ios正常,不知道什么原因?
IWXAPI api = WXAPIFactory.createWXAPI(context, AppVariable.weChatAppId); WXLaunchMiniProgram.Req req = new WXLaunchMiniProgram.Req(); req.userName = AppVariable.WX_MinID; // 填小程序原始id req.path = path+"orderId="+order_id; ////拉起小程序页面的可带参路径,不填默认拉起小程序首页,对于小游戏,可以只传入 query 部分,来实现传参效果,如:传入 "?foo=bar"。 req.miniprogramType = WXLaunchMiniProgram.Req.MINIPROGRAM_TYPE_PREVIEW;// 可选打开 开发版,体验版和正式版 if(AppUtils.isAppInstalled("com.tencent.mm")) { api.sendReq(req); }else{ showToast("未检测到手机安装微信APP,请前往应用市场下载"); } <activity android:name=".wxapi.WXEntryActivity" android:configChanges="keyboardHidden|orientation|screenSize" android:exported="true" android:label="@string/app_name" android:launchMode="singleTask" android:taskAffinity="xx.xxxx.xxx android:theme="@android:style/Theme.Translucent.NoTitleBar"/> <Button openType="launchApp" appParameter={orderId}>返回APP</Button>
2023-02-17