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

[React Native] OnSuccess and OnChunkComplete events are not being fired #740

Open
ddematheu opened this issue Dec 30, 2024 · 1 comment
Open
Labels

Comments

@ddematheu
Copy link

Describe the bug
During upload, Onsuccess and OnChunkComplete events are not fired. TUS server shows a 204 response back to the client, but client doesn't seem to process / acknowledge.

Tried logging onAfterResponse but no response gets logged.

To Reproduce
React Native Expo application. Issue only happens on iOS.

Running Expo 51 with React Native 74.

Expected behavior
Upload completes and onSuccess event fires.

Setup details
Please provide following details, if applicable to your situation:

  • Runtime environment: React Native
  • Used tus-js-client version: 4.2.3
  • Used tus server software: [e.g. tusd, tus-node-server etc]
@ddematheu ddematheu added the bug label Dec 30, 2024
@Acconut
Copy link
Member

Acconut commented Jan 7, 2025

TUS server shows a 204 response back to the client, but client doesn't seem to process / acknowledge.

Do you have logs from the tus server showing its response? How do you know what the server responded?

Could you provide a minimal example to reproduce this? I don't use React Native on my own, so I don't have the time to setup an example to reproduce this on my own right now.

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

No branches or pull requests

2 participants