app跳转小程序失败?
Android sdk 使用的是com.tencent.mm.opensdk:wechat-sdk-android-without-mta:5.4.0
代码
String appId = " wxd******"; // 填应用AppId
IWXAPI api = WXAPIFactory.createWXAPI(context, appId);
WXLaunchMiniProgram.Req req = new WXLaunchMiniProgram.Req();
req.userName = “gh_******d”; // 填小程序原始id
req.path = “”;
req.miniprogramType = WXLaunchMiniProgram.Req.MINIPTOGRAM_TYPE_RELEASE;
api.sendReq(req);
一直返回跳转失败
1 回复