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

File sharing server stops when the phone is idle #336

Open
officiallor opened this issue Aug 7, 2024 · 3 comments
Open

File sharing server stops when the phone is idle #336

officiallor opened this issue Aug 7, 2024 · 3 comments

Comments

@officiallor
Copy link

Tried uploading something to the phone using the file sharing feature and after some time, when the phone was idle the web server stopped.

@XITRIX
Copy link
Owner

XITRIX commented Aug 7, 2024

File sharing could be used only if app is in foreground, it does not allow app to work in background.
Otherwise iTorrent should constantly work in background which is malicious behaviour, because it will drain device's battery for nothing.

@officiallor
Copy link
Author

It makes sense but it would be nice to have at least a notification that it will not work in background

@XITRIX
Copy link
Owner

XITRIX commented Aug 8, 2024

Yes, but that mean that every time you close the app it will ring with notification, because app does not know if server is working or idle

Btw, I need to check if I can get this info from server, if yes, I could enable background for server if it is processing something until it will go idle

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