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

after calling liff.scanCodeV2(), "LIFF error: Failed to fetch" occurs #35

Open
fiddler0305 opened this issue Nov 25, 2024 · 6 comments
Open
Labels
status: need more info Awaiting Additional Information

Comments

@fiddler0305
Copy link

After liff.scanCodeV2() is called, the error message "LIFF error: Failed to fetch" will be displayed when the App is opened again, and all LIFF Apps of the same user cannot be used until a period of time passes.

Already tested on Android 9, 11, 14 and all have the same problem
1071151

@kazuma0129 kazuma0129 added the status: triage Under Review label Dec 4, 2024
@odanado
Copy link
Member

odanado commented Dec 9, 2024

@fiddler0305 Thank you for a reporting!
In order to understand the problem more clearly, could you please film a video showing the steps leading up to the error and upload it to this issue?

@odanado odanado added status: need more info Awaiting Additional Information and removed status: triage Under Review labels Dec 9, 2024
@weeix
Copy link

weeix commented Feb 18, 2025

I can reproduce this error.

Video.webm

Steps to reproduce:

  1. Open LIFF Playground (demonstrates it's initially working).
  2. Run the scanCodeV2 function.
  3. Close the code scanner and the app.
  4. Attempt to access LIFF Playground again. Result: LIFF error: Failed to fetch.

System info:

  • OS: Android
  • LIFF version: 2.25.1
  • LINE version: 15.0.0

@odanado
Copy link
Member

odanado commented Feb 18, 2025

@weeix Thank you for sharing the video demonstrating the steps to reproduce the issue.

At the beginning of the video, you reopen LIFF Playground three times.
Does this step have anything to do with reproducing the issue?

@weeix
Copy link

weeix commented Feb 18, 2025

@odanado The video's initial section is irrelevant to reproducing the issue. It only serves to demonstrate that the playground's failure occurs only after the liff.scanCodeV2() call.

@odanado
Copy link
Member

odanado commented Feb 18, 2025

@weeix Thank you.
Next, please tell me the following two points:

  • The name of the device you are using
  • The date and time the error occurred

@weeix
Copy link

weeix commented Feb 18, 2025

@weeix Thank you. Next, please tell me the following two points:

  • The name of the device you are using
  • The date and time the error occurred
  • Samsung Galaxy S21 FE
  • 2025-02-18 12:08 +0700

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: need more info Awaiting Additional Information
Projects
None yet
Development

No branches or pull requests

4 participants