收藏
回答

微信登录弹出二次确认弹窗,一直没法获取授权请求,请问是什么问题?

如图在iphone12promax上,微信登录,每次都是弹出二次确认弹窗,点击确定后,可以拉回手机,但是无法获取登录数据。微信sdk2.0.2,微信版本用最新的版本试过也不行。不过奇怪的是用iphone6s手机可以登录,改手机微信版本是8.0.29。

登录失败log如下

2023-08-21 18:41:57.390780+0800 qihao-mobile[429:10048] wechat log: wxlog:send req[<SendAuthReq: 0x280122a00>], appID:xxxxxx, universalLink:xxxxxx, sdkVersion:2.0.2

2023-08-21 18:41:57.398465+0800 qihao-mobile[429:10048] -canOpenURL: failed for URL: "weixinURLParamsAPI://" - error: "This app is not allowed to query for scheme weixinurlparamsapi"

2023-08-21 18:41:57.406158+0800 qihao-mobile[429:10048] wechat log: wxlog:set property list

2023-08-21 18:41:57.413785+0800 qihao-mobile[429:10048] wechat log: wxlog:Error:fail to load Keychain status:-25300, keyData null:1

2023-08-21 18:41:57.413930+0800 qihao-mobile[429:10048] wechat log: wxlog:token[(null)] is null

2023-08-21 18:41:57.543444+0800 qihao-mobile[429:10048] wechat log: wxlog:launch app with ul only success

2023-08-21 18:41:57.543617+0800 qihao-mobile[429:10048] wechat log: wxlog:launch app with universal link, ret:1

2023-08-21 18:41:57.543727+0800 qihao-mobile[429:10048] wechat log: wxlog:req:<SendAuthReq: 0x280122a00>, cid:cd6dc6fb24fe5d82c4d4a693c786e30bd2790e4148d848aede9ce20fdc49ddd2

[LUA-print] MyApp APP_TO_BACK self.app_to_back_time ====== 1692614518

[LUA-print] MyApp on_BACK_TO_APP self.back_to_app_time ====== 1692614519

[LUA-print] MyApp BACK_TO_APP diffTime == 1

[LUA-print] MyApp:on_BACK_TO_APP isLoseFocusReconnect,loseFocusSeconds == false 40

[LUA-print] NetBase:onMsgResume self.netMessageStack 0

2023-08-21 18:42:00.412302+0800 qihao-mobile[429:10048] 请在设置-隐私-跟踪中允许App请求跟踪

2023-08-21 18:42:04.866043+0800 qihao-mobile[429:11756] [tcp] tcp_input [C27.1:3] flags=[R] seq=2412584373, ack=4153993228, win=0 state=LAST_ACK rcv_nxt=2412584373, snd_una=1970347904

2023-08-21 18:42:04.866580+0800 qihao-mobile[429:11756] [tcp] tcp_input [C27.1:3] flags=[R] seq=2412584373, ack=4153993228, win=0 state=CLOSED rcv_nxt=2412584373, snd_una=1970347904

2023-08-21 18:42:04.881491+0800 qihao-mobile[429:11756] [tcp] tcp_input [C27.1:3] flags=[R] seq=2412584373, ack=4153993228, win=0 state=CLOSED rcv_nxt=2412584373, snd_una=1970347904

回答关注问题邀请回答
收藏

1 个回答

  • 青
    2023-08-22

    同问,我也遇到一样的问题-canOpenURL: failed for URL: "weixinURLParamsAPI://" - error: "This peration couldn\t be completed.

    2023-08-22
    有用
    回复 2
    • Qg happyfly
      Qg happyfly
      2023-08-22
      这个问题不大,应该不是这个导致的,你在info里面字段queried url schemes 里面配置多一个weixinURLParamsAPI就行了
      2023-08-22
      回复
    • 青
      2023-08-22回复Qg happyfly
      我定义了,是自定义delegate没有相应,用默认的就可以了
      2023-08-22
      回复
登录 后发表内容