itinance / itinance/react-native-fs

writing big file in react-native, more than 200mb, Error: Exception in HostFunction: Malformed calls from JS: field sizes are different

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

Description

**Premise**: I am downloading a 250+MB file from my server and then writing it using react-native-fs.writeFile API but.....

**Problem**: At the time when I run the API to write the 250+MB content it is throughing ERROR:

> Error: Exception in HostFunction: Malformed calls from JS: field sizes are different. [[14,83],[3,0],[[728,100,1661086392041,false]],5077]

At the same time, if I am doing the whole process using just 35 or 50 MB of data and the same code, it's smooth sailing.

Conclusion: Want to write more than 200 MB data in react native app in file system. How to achieve it

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.