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

Consolidated issue cataloguing all Fetch/HTTP issues with test harness #6177

Open
silviogutierrez opened this issue Dec 19, 2022 · 3 comments

Comments

@silviogutierrez
Copy link

silviogutierrez commented Dec 19, 2022

Bug Report

Capacitor Version

4.6.1

Platform(s)

Android / iOS

Code Reproduction

I took the time to put together a test harness that reproduces all the issues HTTP/Fetch has right now on iOS and Android. There may be others, but this is what I've seen so far.

Go to https://github.com/silviogutierrez/capacitor-http-tester and clone the repository.

Run npm install and npm cap sync to get both emulators working.

Then run npm run build && node server.js to start the local server.

Now open http://localhost:3000 and see how everything works on the browser.

After that run npx cap open ios and run the simulator. And npx cap open android and run the emulator. You'll see what's failing and what's not.

I've tried to associate the bugs with the issue number.

Hopefully this is helpful.

Related issues: #6174, #5945, #6165, #6142, #6170, #6126 #6196 #6197

@silviogutierrez
Copy link
Author

Update: I was linking to the wrong repo. Apologies! The updated repo has the right tests.

Screenshot below:

Web:

image

iOS:

image

Android:

image

@lubomirblazekcz
Copy link

We were having an issue that set-cookie was doubled in fetch post or xhr request only on Android. Might this be also a know issue?

@silviogutierrez
Copy link
Author

@lubomirblazekcz, perhaps: #6280 or #6308 ?

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

No branches or pull requests

3 participants