itinance / itinance/react-native-fs

Upload binary file corruption in Android

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

Description

`uploadFiles()` method in android adds two `crlf` to the binary file one at the beginning and one at the end of the file and makes the uploaded file corrupted.

![image](https://user-images.githubusercontent.com/29512354/60513739-37459500-9ced-11e9-99ac-26e2a31626cf.png)

![image](https://user-images.githubusercontent.com/29512354/60513936-a4f1c100-9ced-11e9-8cbb-fe41d442eb0e.png)

These images show the `0d0a` added to the file that is the `crlf` in hex.

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.