Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
2 tasks done
captainalbert opened this issue Aug 12, 2024 · 1 comment

Comments

@captainalbert
Copy link

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

  • Android
  • iOS

React Native Version

0.69.2

React Native Compressor Version

1.8.25

Reproducible Steps And Demo

Use backgroundUpload with any uploadType

Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant