react-native-compressor icon indicating copy to clipboard operation
react-native-compressor copied to clipboard

Using any uploadType throws a typeError: abortSignal.removeEventListener is not a function.

Open captainalbert opened this issue 1 year ago • 1 comments

Current behavior

Using backgroundUpload with UploadType: UploadType.BINARY_CONTENT or UploadType.MULTIPART throws an error

image

I am using Image.compress() prior to using backgroundUpload. It works fine but when I put the uploadType, the error on backgroundUpload shows.

This is my implementation for backgroundUpload

image

Expected behavior

Should not throw error regarding abortSignal.removeEventListener

Platform

  • [X] Android
  • [X] iOS

React Native Version

0.69.2

React Native Compressor Version

1.8.25

Reproducible Steps And Demo

Use backgroundUpload with any uploadType

captainalbert avatar Aug 12 '24 17:08 captainalbert

👋 @captainalbert Thanks for opening your issue here! If you find this package useful hit the star🌟!

github-actions[bot] avatar Aug 12 '24 17:08 github-actions[bot]

This issue is stale because it has been open 365 days with no activity. Remove stale label or comment or this will be closed in 7 days.

github-actions[bot] avatar Aug 13 '25 02:08 github-actions[bot]

This issue was closed because it has been stalled for 7 days with no activity.

github-actions[bot] avatar Aug 21 '25 02:08 github-actions[bot]