React Native Fetch Blob File Empty

我怕爱的太早我们不能终老 提交于 2019-12-11 02:49:44

问题


We are having a problem with React Native Fetch Blob when a PDF is over 1mb in size. The file is being uploaded to Azure Blob Storage and works fine when the PDF is less than 1MB but as soon as the file is over 1MB the upload fails and the file in the container is empty.

We are using the module in an IOS React App but we also have a web app. When we upload the PDF via the web app everything is fine so it seems that this is something specific to the mobile app.

Further testing shows that if we upload a PNG over 1MB it works, so this issue seems to be specific to PDFs.

Any suggestions on how we can diagnose or solve this issue?

来源:https://stackoverflow.com/questions/46183105/react-native-fetch-blob-file-empty

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!