itinance / itinance/react-native-fs

RNFS.copyFile() block/freeze the UI

Open
#542 0 comments 5 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
5k
Forks
1k
PR merge metrics
No merged PRs in 30d

Description

RNFS.copyFile() freezes the UI.

Here is the code I use:
![untitled](https://user-images.githubusercontent.com/26307699/44309927-cba95080-a3d6-11e8-8026-9da108065d23.png)

The UI is blocked (I can press anything, it not work) until all the files are copied (using RNFS.copyFile(..., ...)).

Expectation: to copy all the files asynchronously and the UI to be not blocked/frozen while copying the files.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.