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

Transfer cancelled on iOS due to auto-lock #120

Closed
donpui opened this issue Jan 2, 2023 · 1 comment
Closed

Transfer cancelled on iOS due to auto-lock #120

donpui opened this issue Jan 2, 2023 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@donpui
Copy link
Contributor

donpui commented Jan 2, 2023

iOS by default has short screen auto-lock (30sec- 1min).
If user sends bigger file or network is slower and user is not actively using/looking at phone, screen gets turned off and transfer gets cancelled (network interruption). Problems exists and for Sender and for Receiver.
Issue also appears if User only waits while receiver enters the code, as soon network interruption happens, codes is invalidated.

Possible solution/workarounds:

  • integrate nosleep.js, which should prevent sleeping, while there are active processes (waiting to enter code or download is in progress on Sender or Receiver sides);
@donpui
Copy link
Contributor Author

donpui commented Jan 26, 2023

Implemented and deployed, thanks @JustusFT

@donpui donpui closed this as completed Jan 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants