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

timeout is not working. #384

Open
Shahanshah-TA opened this issue Sep 26, 2024 · 1 comment
Open

timeout is not working. #384

Shahanshah-TA opened this issue Sep 26, 2024 · 1 comment

Comments

@Shahanshah-TA
Copy link

Shahanshah-TA commented Sep 26, 2024

I am trying to upload file, everything working fine except timeout.
Using version: 0.17.1
getting warning in terminal stream was reset: CANCEL but in React Native side, neither its consoling response nor its going to catch block.

try{
  const response = await ReactNativeBlobUtil.config({
          timeout: 30000,
        }).fetch(method, modifiedUrl, headers, payload);
console.log("response",response)
}catch(e){
console.error("error",e)
}

Any thing which I am doing wrong here.

@RonRadtke
Copy link
Owner

How is it behaving in the current version 0.19.11?

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

2 participants