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

SDK authorization login successful without returning to the application #171

Open
zhaohang-soul opened this issue Jul 10, 2024 · 7 comments

Comments

@zhaohang-soul
Copy link

What did you do?

Using linesdk for third-party authorization login

What did you expect?

After successful authorization login, return to the application and execute the login logic in the onActivityResult method

What happened actually?

After successfully logging in with SDK authorization, I still stay on the Line main interface and have not returned to my application

Your environment?

Android15,linesdk:5.8.0&linesdk:5.10.1

@YkSix
Copy link
Contributor

YkSix commented Jul 11, 2024

@zhaohang-soul ,
Thanks for reporting this issue.

I couldn't reproduce this issue using below setting:

  1. Android 15 emulator: Pixel 8 Pro
  2. LINE SDK v5.10.1 and LINE App v14.11
  3. LINE SDK sample app (current repo)

Could you provide more details on:

  1. Will it happen in LINE SDK sample app on your side?
  2. What's the LINE App version you used? Will LINE App's latest version (ex: v14.10 or v14.11) solve this issue?
  3. Does it work on Android 14 and below? If not, please provide Android version and the device you use. Thanks.
  4. What's the Android 15 device you used?
  5. The other reporter mentioned cocos creator, did you also use cocos creator? Reference issue: line app在已经登录的情况下,我的应用程序调sdk登录,登录完成,无法返回我的应用程序 #141
  6. When that happened, did login succeed when you opened your application manually?

I still stay on the Line main interface and have not returned to my application

Many thanks.

@zhaohang-soul
Copy link
Author

@YkSix
Thank you for your answer
Here are some detailed information:
1.no
2.Line app version is v14.10,not fix this issue
3.Android 14 and below did not reproduce this issue
4.The device used is our company's first project adapted to Android 15
5.not use
6.When this situation occurs, there are two scenarios:
(1)Click the back button to return to the login page for successful login;
(2)Click the home button to return to the desktop and then open the login page, but cannot log in successfully

@zhaohang-soul
Copy link
Author

@YkSix
I have updated the device version of our company,Encountered a new problem
403 forbidden error occurred when logging in with linesdk authorization,it is also happend in LineSDK sample
403_forbidden

line_login_403error

@YkSix
Copy link
Contributor

YkSix commented Jul 12, 2024

@zhaohang-soul ,
Thanks for providing detail info.
I also was wondering:

  1. Because Android 15 is not officially released yet, what beta version of Android 15 did you use? Was it Beta 3.1? https://developer.android.com/about/versions/15/release-notes
  2. Will this issue happen on emulator of Android 15? Emulator image version: Google Play ARM 64 v8a System Image, Revision 6? I don't have a physical device with Android 15, so I'm using an emulator to reproduce it.

Thanks.

@zhaohang-soul
Copy link
Author

@YkSix
1.is not Bata3.1,it is Android V FRC release
2.Login to Line on Android 15 emulator prompts inability to connect to Line service
I uploaded a log at 13:06 regarding the issue of Linesdk not being able to automatically return to the login page after successful authorization;Please help take a look. Thank you
APLog_2024_0716_130559__1.zip

@zhaohang-soul
Copy link
Author

@YkSix
Is there log output and switch control in the SDK

@zhaohang-soul
Copy link
Author

image
The code has been returned at this point, is there any good adaptation method

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