小程序
小游戏
企业微信
微信支付
扫描小程序码分享
iOS微信分享或QQ分享,跳转微信后,自动返回app,报PBItemCollectionServicer connection disconnected.网上说AppDelegate
3个代理方法都已经处理了
6 个回答
加粗
标红
插入代码
插入链接
插入图片
上传视频
处理Universal Links回调
-(BOOL)application:(UIApplication *)application continueUserActivity:(NSUserActivity *)userActivity restorationHandler:(void(^)(NSArray<id<UIUserActivityRestoring>> * __nullable restorableObjects))restorationHandler NS_AVAILABLE_IOS(8_0); {
// Demo处理Universallink的示例代码
if ([userActivity.activityType isEqualToString:NSUserActivityTypeBrowsingWeb]) {
NSURL *url = userActivity.webpageURL;
if (url && [TencentOAuth CanHandleUniversalLink:url]) {
// 兼容[QQApiInterface handleOpenURL:delegate:]的接口回调能力
[QQApiInterface handleOpenUniversallink:url delegate:(id<QQApiInterfaceDelegate>) [QQApiShareEntry class]];
return [TencentOAuth HandleUniversalLink:url];
}
return YES;
你好,麻烦通过点击下方“反馈信息”按钮,提供出现问题的。
请问解决了吗
iOS微信分享,跳转微信后,自动返回app,报PBItemCollectionServicer connection disconnected
如题,我也是集成微信SDK实配universallinks遇到这些问题!
2020-12-02 17:34:34.190687+0800 TestWeChatSDK[9689:2183743] 自检:第0步, 成功:1, 错误信息:check passed, 建议:无 2020-12-02 17:34:34.191212+0800 TestWeChatSDK[9689:2183743] 自检:第1步, 成功:1, 错误信息:check passed, 建议:无 2020-12-02 17:34:34.194361+0800 TestWeChatSDK[9689:2183743] 自检:第2步, 成功:1, 错误信息:check passed, 建议:无 2020-12-02 17:34:34.471827+0800 TestWeChatSDK[9689:2183743] log : wxlog:set property list 2020-12-02 17:34:34.478958+0800 TestWeChatSDK[9689:2183743] 自检:第3步, 成功:1, 错误信息:check passed, 建议:无 2020-12-02 17:34:34.618875+0800 TestWeChatSDK[9689:2183743] log : wxlog:launch app with ul only success 2020-12-02 17:34:34.618967+0800 TestWeChatSDK[9689:2183743] 自检:第4步, 成功:1, 错误信息:check passed, 建议:无 2020-12-02 17:34:34.619007+0800 TestWeChatSDK[9689:2183743] log : wxlog:Successfully starting WeChat with the universal link. 2020-12-02 17:34:34.852797+0800 TestWeChatSDK[9689:2183919] PBItemCollectionServicer connection disconnected.
自检函数也只能到第5步,后面两步不走了!相关代理方法也都是先~
请问 是哪里出现的问题,谢谢!
微信AppKey:私聊发送,谢谢。
PBItemCollectionServicer connection disconnected.
2020-11-09 11:41:45.280482+0800 海钉约课[11447:3150308] 123123 1
2020-11-09 11:41:45.380410+0800 海钉约课[11447:3151292] PBItemCollectionServicer connection disconnected.
2020-11-09 11:41:46.038890+0800 海钉约课[11447:3150308] [CloudPush Debug]: Support multi task, set background task handler.
2020-11-09 11:41:46.040044+0800 海钉约课[11447:3151292] [CloudPush Debug]: CCP channel connected, disconnect it.
2020-11-09 11:41:46.040176+0800 海钉约课[11447:3151292] [CloudPush Debug]: Close CCP channel without retry.
2020-11-09 11:41:46.040613+0800 海钉约课[11447:3151292] [CloudPush Debug]: End background task handler
2020-11-09 11:41:46.040913+0800 海钉约课[11447:3150971] [CloudPush Debug]: Task isNeedRetry is NO.
2020-11-09 11:43:13.064941+0800 海钉约课[11447:3150971] [] tcp_input [C28.1:3] flags=[R] seq=1394537947, ack=2261373185, win=0 state=LAST_ACK rcv_nxt=1394537947, snd_una=466037148
2020-11-09 11:43:13.069278+0800 海钉约课[11447:3150971] [] tcp_input [C28.1:3] flags=[R] seq=1394537947, ack=2261373185, win=0 state=CLOSED rcv_nxt=1394537947, snd_una=466037148
2020-11-09 11:43:13.242959+0800 海钉约课[11447:3150308] [CloudPush Debug]: CCP channel reconnect.
2020-11-09 11:43:13.245027+0800 海钉约课[11447:3150507] [CloudPush Debug]: Connect to AS, IP: 47.101.29.75, Port: 443
2020-11-09 11:43:13.245553+0800 海钉约课[11447:3150507] [CloudPush Debug]: CCP socket start monitor reading and writing.
2020-11-09 11:43:13.295617+0800 海钉约课[11447:3150507] [CloudPush Debug]: Start CCP protocol shake hands.
2020-11-09 11:43:13.308189+0800 海钉约课[11447:3150507] [CloudPush Debug]: CCP protocol shake hands, send auth info, waiting for ack.
2020-11-09 11:43:13.308650+0800 海钉约课[11447:3150507] [CloudPush Debug]: MPChannelStatusConnecting
2020-11-09 11:43:13.420308+0800 海钉约课[11447:3150507] [CloudPush Debug]: CCP connect ack statusCode is 0
2020-11-09 11:43:13.422255+0800 海钉约课[11447:3150507] [CloudPush Debug]: CCP channel connected success time: Dec 11 2019 20:46:13
2020-11-09 11:43:13.424019+0800 海钉约课[11447:3150507] [CloudPush Debug]: CCP channel connected, cancel timeout timer.
2020-11-09 11:43:13.424480+0800 海钉约课[11447:3150507] [CloudPush Debug]: AS connect ack, seq: 1, statusCode: 0
先后做了支付 分享 都没问题 登录的时候 就不行了 这是为什么????
而且 现在版本的文档 调用微信是 [WXApi sendReq:req];
但实际sdk中没有这个方法
[WXApi sendReq:req completion:^(BOOL success) {
NSLog(@"block %d",success);
}];
你好,微信版本是多少?请提供复现视频看下
关注后,可在微信内接收相应的重要提醒。
请使用微信扫描二维码关注 “微信开放社区” 公众号
处理Universal Links回调
-(BOOL)application:(UIApplication *)application continueUserActivity:(NSUserActivity *)userActivity restorationHandler:(void(^)(NSArray<id<UIUserActivityRestoring>> * __nullable restorableObjects))restorationHandler NS_AVAILABLE_IOS(8_0); {
// Demo处理Universallink的示例代码
if ([userActivity.activityType isEqualToString:NSUserActivityTypeBrowsingWeb]) {
NSURL *url = userActivity.webpageURL;
if (url && [TencentOAuth CanHandleUniversalLink:url]) {
// 兼容[QQApiInterface handleOpenURL:delegate:]的接口回调能力
[QQApiInterface handleOpenUniversallink:url delegate:(id<QQApiInterfaceDelegate>) [QQApiShareEntry class]];
return [TencentOAuth HandleUniversalLink:url];
}
}
return YES;
}
请问解决了吗
iOS微信分享,跳转微信后,自动返回app,报PBItemCollectionServicer connection disconnected
如题,我也是集成微信SDK实配universallinks遇到这些问题!
自检函数也只能到第5步,后面两步不走了!相关代理方法也都是先~
请问 是哪里出现的问题,谢谢!
PBItemCollectionServicer connection disconnected.
2020-11-09 11:41:45.280482+0800 海钉约课[11447:3150308] 123123 1
2020-11-09 11:41:45.380410+0800 海钉约课[11447:3151292] PBItemCollectionServicer connection disconnected.
2020-11-09 11:41:46.038890+0800 海钉约课[11447:3150308] [CloudPush Debug]: Support multi task, set background task handler.
2020-11-09 11:41:46.040044+0800 海钉约课[11447:3151292] [CloudPush Debug]: CCP channel connected, disconnect it.
2020-11-09 11:41:46.040176+0800 海钉约课[11447:3151292] [CloudPush Debug]: Close CCP channel without retry.
2020-11-09 11:41:46.040613+0800 海钉约课[11447:3151292] [CloudPush Debug]: End background task handler
2020-11-09 11:41:46.040913+0800 海钉约课[11447:3150971] [CloudPush Debug]: Task isNeedRetry is NO.
2020-11-09 11:43:13.064941+0800 海钉约课[11447:3150971] [] tcp_input [C28.1:3] flags=[R] seq=1394537947, ack=2261373185, win=0 state=LAST_ACK rcv_nxt=1394537947, snd_una=466037148
2020-11-09 11:43:13.069278+0800 海钉约课[11447:3150971] [] tcp_input [C28.1:3] flags=[R] seq=1394537947, ack=2261373185, win=0 state=CLOSED rcv_nxt=1394537947, snd_una=466037148
2020-11-09 11:43:13.242959+0800 海钉约课[11447:3150308] [CloudPush Debug]: CCP channel reconnect.
2020-11-09 11:43:13.245027+0800 海钉约课[11447:3150507] [CloudPush Debug]: Connect to AS, IP: 47.101.29.75, Port: 443
2020-11-09 11:43:13.245553+0800 海钉约课[11447:3150507] [CloudPush Debug]: CCP socket start monitor reading and writing.
2020-11-09 11:43:13.295617+0800 海钉约课[11447:3150507] [CloudPush Debug]: Start CCP protocol shake hands.
2020-11-09 11:43:13.308189+0800 海钉约课[11447:3150507] [CloudPush Debug]: CCP protocol shake hands, send auth info, waiting for ack.
2020-11-09 11:43:13.308650+0800 海钉约课[11447:3150507] [CloudPush Debug]: MPChannelStatusConnecting
2020-11-09 11:43:13.420308+0800 海钉约课[11447:3150507] [CloudPush Debug]: CCP connect ack statusCode is 0
2020-11-09 11:43:13.422255+0800 海钉约课[11447:3150507] [CloudPush Debug]: CCP channel connected success time: Dec 11 2019 20:46:13
2020-11-09 11:43:13.424019+0800 海钉约课[11447:3150507] [CloudPush Debug]: CCP channel connected, cancel timeout timer.
2020-11-09 11:43:13.424480+0800 海钉约课[11447:3150507] [CloudPush Debug]: AS connect ack, seq: 1, statusCode: 0
先后做了支付 分享 都没问题 登录的时候 就不行了 这是为什么????
但实际sdk中没有这个方法
[WXApi sendReq:req completion:^(BOOL success) {
NSLog(@"block %d",success);
}];
你好,微信版本是多少?请提供复现视频看下