Hi,
I am trying to upload a pdf with valid content from mobile device to Dropbox but having trouble with the uploaded file that seems to get corrupted while being uploaded. It is a React Native (Expo) app.
Please refer to the attachment for the code that I am using.
I have also tried to download the file and open it in Notepad++ and can see its content (see attached).
What's that I am wrong? I have tried to send the content to "filesupload" as binary as well but the uploaded pdf file is still corrupted.
Many thanks in advance.

