I'm using the react-native-compression package for compressing the files, but while using it I'm having an error.
and here is the code where I'm adding the Image compressor:
I'm getting the file URL while uploading but still it is giving me an error. so please let me know how to handle this error.