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

[Bug]: XMLHttpRequest onreadystatechange not working for requests #7456

Closed
2 of 3 tasks
JpEngelbrecht89 opened this issue May 8, 2024 · 2 comments
Closed
2 of 3 tasks
Labels

Comments

@JpEngelbrecht89
Copy link

Capacitor Version

💊 Capacitor Doctor 💊

Latest Dependencies:

@capacitor/cli: 6.0.0
@capacitor/core: 6.0.0
@capacitor/android: 6.0.0
@capacitor/ios: 6.0.0

Installed Dependencies:

@capacitor/ios: not installed
@capacitor/cli: 6.0.0
@capacitor/android: 6.0.0
@capacitor/core: 6.0.0

[success] Android looking great! 👌

Other API Details

npm: 10.2.4
node: v20.11.0

Platforms Affected

  • iOS
  • Android
  • Web

Current Behavior

After upgrading to @capacitor/android version 6.0.0, requests seem to be intercepted by CapacitorHttp but request.onreadystatechange is not updating readyState (readystate is alway 0). This is happening in both iOS and Android.

Expected Behavior

CapacitorHttp intercepts all requests like it did with Capacitor v5

Project Reproduction

https://github.com/JpEngelbrecht89/capacitor-http-error

Additional Information

Think its similar to this issue 7417

This stared happening from version 5.7.1

@jcesarmobile
Copy link
Member

yes, it's a duplicate of #7417

@jcesarmobile jcesarmobile closed this as not planned Won't fix, can't repro, duplicate, stale May 8, 2024
Copy link

ionitron-bot bot commented Jun 7, 2024

Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Capacitor, please create a new issue and ensure the template is fully filled out.

@ionitron-bot ionitron-bot bot locked and limited conversation to collaborators Jun 7, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants