Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

跳转line app 授权失败,使用web授权成功 #184

Closed
zhongdom opened this issue Apr 19, 2023 · 3 comments
Closed

跳转line app 授权失败,使用web授权成功 #184

zhongdom opened this issue Apr 19, 2023 · 3 comments

Comments

@zhongdom
Copy link

zhongdom commented Apr 19, 2023

SDK 版本:5.8.2
line app版本:13.6.0

安装line app后,唤起line app授权,返回错误:authorizeFailed(reason: LineSDK.LineSDKError.AuthorizeErrorReason.userCancelled)

不安装line app,使用web授权没问题

@onevcat
Copy link
Member

onevcat commented Apr 20, 2023

Hi,

Thanks for the report.

I tried the demo app with the same SDK version/LINE app version, but unfortunately cannot reproduce this issue. (The demo app is also in this same repo, and you can also have try with that too to see if it works).

Does it always happen every time on all devices? Or is it a rare case? If the latter, I would guess it is again something with #159 :[

@zhongdom
Copy link
Author

@onevcat Thanks for you reply. It's our problem.

Line app back to our app will triger the method:
application:(UIApplication *)application continueUserActivity:(NSUserActivity *)userActivity restorationHandler:(void(^)(NSArray<id<UIUserActivityRestoring>> * __nullable restorableObjects))restorationHandler,

universal link url was processed by other SDK, so line SDK can't get the url.

@onevcat
Copy link
Member

onevcat commented Apr 21, 2023

Thanks for the feedback. Nice to hear that you found it!

Good luck and may your code always compile on the first try :] !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants