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

Perform copyFile in background thread to prevent UI blocking #597

Merged
merged 4 commits into from
Dec 19, 2018

Conversation

EdTorbett
Copy link
Contributor

This PR fixes issue #542.

@EdTorbett
Copy link
Contributor Author

EdTorbett commented Dec 14, 2018

It's worth noting that the observed issue either only affects Android and not iOS, or file copies on iOS are so much faster that the issue is not apparent. This PR has been tested with files around 200MB in size and reduces UI blocking from ~10 seconds to zero on a Samsung Galaxy s7 edge.

@itinance itinance merged commit 36ac024 into itinance:master Dec 19, 2018
@itinance
Copy link
Owner

Thx a lot!

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

Successfully merging this pull request may close these issues.

2 participants