Vydia / react-native-background-upload

Upload files in your React Native app even while it's backgrounded. Supports Android and iOS, including camera roll assets.
MIT License
720 stars 325 forks source link

Issue with iOS image upload #322

Closed midhunevolvier closed 1 year ago

midhunevolvier commented 1 year ago

Hi, I tried to upload an image from my camera and gallery on iOS. The image upload was completed, but the upload response URL was invalid. I am not able to see the uploaded image. After downgrading the package version, Version 6.2.2 is working and other versions above it are not.

Can anyone help us?

Thank you!

react-native v0.70.6 react-native-background-upload: v^6.6.0

midhunevolvier commented 1 year ago

Can anyone help us?

midhunevolvier commented 1 year ago

I am closing the issue. My issue is with the image path, I need to append 'file://' with path in iOS.

nero2009 commented 1 year ago

Hi @midhunevolvier I want to know if you have this library working for uploads on android? Cs I recently upgraded t the latest react native version 0..70+ and this library stops working on android

Danushka50 commented 1 year ago

I am closing the issue. My issue is with the image path, I need to append 'file://' with path in iOS.

Thanks @midhunevolvier. The solution works fine on iOS.