-
4 votesanswersviews
react-native-fetch-blob多部分数据图像上传问题
我'm right now working on a react native project that have a taking image and upload function, and I'使用react-native-fetch-blob传递多部分数据来上传单个文件 . 但是,似乎没有将任何数据传递给我的api . 我也使用react-native-camera来捕捉图像 . 根据该模... -
2 votesanswersviews
如何将React-Native-Fetch-Blob Blob转换为base64 / Image
我正在尝试使用React-Native-Fetch-Blob在Firebase.Storage中存储图像,我最终得到了一些存储空间,但存储中的文件现在是完全无意义/压缩数据,我无法真正用于任何事情 . 如何将blob转回BASE64或图像,以便我可以在我的应用程序中使用该图像 ` upLoadImage(image, mime = 'application/octet-stream') { ...