分享跳转2次的都是配置问题。 分享我最后的配置: [图片]
微信分享,一直跳转二次,版本:1.8.6.1SDK?可以注册,可以唤起,可以分享,就是每次都要跳转二次。 1、Universal Links 配置了: [图片] 2、分享一直都要跳转:正在链接中..... [图片] 3、Universal Links链接可以私信我。 4、不要发开发文档给我,就是没看明白才提问。 5、safari浏览器访问是提示这个。 [图片]
2020-12-07是不是没有添加白名单:weixinULAPI
最新版1.8.6sdk(ios)微信支付报错?2019-12-04 10:56:48.631573+0800 superfish[24114:6357375] Uncaught exception: NSInvalidArgumentException: +[WXApi genExtraUrlByReq:withAppData:]: unrecognized selector sent to class 0x10fad53f0 ( 0 CoreFoundation 0x00000001b9201820 FF63481D-FB6A-353B-B2C1-AC4EAECF594D + 1226784 1 libobjc.A.dylib 0x00000001b8f29fa4 objc_exception_throw + 56 2 CoreFoundation 0x00000001b9109bf8 FF63481D-FB6A-353B-B2C1-AC4EAECF594D + 211960 3 CoreFoundation 0x00000001b9205c88 FF63481D-FB6A-353B-B2C1-AC4EAECF594D + 1244296 4 CoreFoundation 0x00000001b9207a6c _CF_forwarding_prep_0 + 92 5 UnityiOSPlatform 0x000000010f9f9b08 +[WXApi sendReq:isAutoResend:forceScheme:completion:] + 1948 6 UnityiOSPlatform 0x000000010f9f9358 +[WXApi sendReq:completion:] + 68 7 UnityiOSPlatform 0x000000010f9b5bc8 -[YQPayManager payWxWithDic:] + 1100 8 UnityiOSPlatform 0x000000010f9b5674 __27-[YQPayManager requestToWX]_block_invoke + 132 9 UnityiOSPlatform 0x000000010f9d713c __59+[YQPayNetUtil requestWXPayWithParameters:success:failure:]_block_invoke + 212 10 UnityiOSPlatform 0x000000010f9b2c04 __79-[UnityiOSPlatformNetUtil af_BasePostWithURLString:parameters:success:failure:]_block_invoke + 884 11 superfish 0x0000000104edd338 __83-[UnityiOSPlatformSDK af_BasePostWithURLString:parameters:timeout:success:failure:]_block_invoke + 120 12 CommonLib 0x000000010f2a9860 __77+[YQNetworkUtil af_BasePostWithURLString:parameters:timeout:success:failure:]_block_invoke + 168 13 CommonLib 0x000000010f2bbfbc __124-[AFHTTPSessionManager dataTaskWithHTTPMethod:URLString:parameters:headers:uploadProgress:downloadProgress:success:failure:]_block_invoke_2 + 216 14 CommonLib 0x000000010f29f70c __72-[AFURLSessionManagerTaskDelegate URLSession:task:didCompleteWithError:]_block_invoke_2.106 + 224 15 libdispatch.dylib 0x00000001b8ece610 B7EED4C7-560D-3DA6-9B50-ED52A150AAC6 + 374288 16 libdispatch.dylib 0x00000001b8ecf184 B7EED4C7-560D-3DA6-9B50-ED52A150AAC6 + 377220 17 libdispatch.dylib 0x00000001b8e81000 B7EED4C7-560D-3DA6-9B50-ED52A150AAC6 + 57344 18 CoreFoundation 0x00000001b917f3a8 FF63481D-FB6A-353B-B2C1-AC4EAECF594D + 693160 19 CoreFoundation 0x00000001b917a39c FF63481D-FB6A-353B-B2C1-AC4EAECF594D + 672668 20 CoreFoundation 0x00000001b91798a0 CFRunLoopRunSpecific + 464 21 GraphicsServices 0x00000001c30d1328 GSEventRunModal + 104 22 UIKitCore 0x00000001bd26a740 UIApplicationMain + 1936 23 superfish 0x0000000104e0b4e4 main + 212 24 libdyld.dylib 0x00000001b9004360 1DB44CE7-7030-3D97-9461-6EC743F47783 + 4960 )
2019-12-23楼主,如何解决的? 步骤和你一样的,都可以。就是一直跳转二次。
iOS 微信分享,每次都出现"正在连接"页面,2次进入APP,而不能一次直接进入微信好友列表?iOS版本: 13.1.2 swift版本:5.1 微信版本:1.8.6 问题:点击微信好友,每次都进入微信“正在连接”页面,然后自动返回APP,之后再进入好友列表页面;为什么不能直接进入好友列表页面?这是1.8.6 API新的流程还是我方法写错了?请帮忙看看。 请微信团队协助确认问题,期待您的回复。 //1.注册 WXApi.registerApp(WX_APPID, universalLink: UNIVERSAL_LINK) //2.代理 func application(_ app: UIApplication, open url: URL, options: [UIApplication.OpenURLOptionsKey : Any] = [:]) -> Bool { //微信 if (url.scheme == WX_APPID) { WXApi.handleOpen(url, delegate: self) } return true } func application(_ application: UIApplication, continue userActivity: NSUserActivity, restorationHandler: @escaping ([UIUserActivityRestoring]?) -> Void) -> Bool { return WXApi.handleOpenUniversalLink(userActivity, delegate: self) } //3.分享微信好友方法 let message = WXMediaMessage() if let data = thumbImageData { message.thumbData = data } message.title = title ?? "扑金" message.description = description ?? "摇手机 看广告 领现金红包" req.message = message req.scene = Int32(WXSceneTimeline.rawValue) WXApi.send(req) { (succ) in } [图片] [图片] [图片]
2019-12-23