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

Handling the redirect back to the app not working #123

Open
thanhvu260696 opened this issue Feb 27, 2024 · 1 comment
Open

Handling the redirect back to the app not working #123

thanhvu260696 opened this issue Feb 27, 2024 · 1 comment

Comments

@thanhvu260696
Copy link

  • React: "react": "18.2.0",
  • React Native: "react-native": "0.72.0",
  • React Native Line: "@xmartlabs/react-native-line": "^2.2.0",

Description

I followed the instructions but it doesn't work on iOS 17 iPhone 15 I hope your help

730349809.090798.mp4

Handling the redirect back to the app but it doesn't work

following is the sdk that i added
Screenshot 2024-02-27 at 09 13 45

@emibotti
Copy link
Contributor

Hello @thanhvu260696, thanks for choosing the library and provide a video with the reproduction steps!

Seems that the library redirects to the app but, have you checked that you've received the access token properly in the login response? If that's the scenario you should authenticate the user to let them use the app.
If there isn't an access token present in the response there's something wrong with the internal configuration.

Double-check the following steps from the official documentation:
https://developers.line.biz/en/docs/line-login-sdks/ios-sdk/swift/setting-up-project/#linking-app-to-channel

If there are additional steps, probably you'd need to adapt it with obj-c as the documentation shows:
https://developers.line.biz/en/docs/line-login-sdks/ios-sdk/swift/using-objc/

If all the configuration was done correctly, please provide additional debugging information to know exactly what is happening.

Hope this helps!

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