【1.8.7.1】 在小程序里点击返回App按钮,无法回调用onResp:方法,何解?
API/组件名称:- (void)onResp:(BaseResp *)resp log日志如下: log : WXApi 注册成功 log : wxlog:send req[<WXLaunchMiniProgramReq: 0x280730900>], appID:wxf3434b6998bc63c4, universalLink:https://m.haoshugongdu.com/open_app/, sdkVersion:1.8.7.1 log : wxlog:LaunchMiniProgram todata extDic=(null) log : wxlog:set property list log : wxlog:launch app with ul only success log : wxlog:launch app with universal link, ret:1 log : wxlog:req:<WXLaunchMiniProgramReq: 0x280730900>, cid:c4c7f58084b5bd95a9f260f1965394de995cbd6d log : wxlog:Error:pasteData[(null)] is empty log : wxlog:Error:pasteDictionary is nil log : wxlog:Error:dict is nil log : wxlog:appdata is nil, url:wxf3434b6998bc63c4://platformId=wechat log : wxlog:send req[<WXLaunchMiniProgramReq: 0x28079b700>], appID:wxf3434b6998bc63c4, universalLink:https://m.haoshugongdu.com/open_app/, sdkVersion:1.8.7.1 log : wxlog:LaunchMiniProgram todata extDic=(null) log : wxlog:set property list log : wxlog:launch app with ul only success log : wxlog:launch app with universal link, ret:1 log : wxlog:req:<WXLaunchMiniProgramReq: 0x28079b700>, cid:5622d765cd6402ab23302808e62f3d0eed1f49ae 这个日志是我App拉起小程序,以及在小程序点击返回App按钮的打印的日志,并没有调用- (void)onResp:(BaseResp *)resp 已经确保“要确保在handleOpenURl或者handleOpenUniversalLink之前调用register才能处理” 但是在调用 po [WXApi handleOpenURL:url delegate:[WXApiManager sharedManager]] 的时候,返回的并不是YES or NO,而是如下日志: log : wxlog:Error:pasteData[(null)] is empty log : wxlog:Error:pasteDictionary is nil log : wxlog:Error:dict is nil log : wxlog:appdata is nil, url:wxf3434b6998bc63c4://platformId=wechat