capacitor
capacitor copied to clipboard
[Bug]: XHR onreadystatechange not working for non POST requests
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/core: 6.0.0 @capacitor/android: 6.0.0 @capacitor/cli: 6.0.0 @capacitor/ios: 6.0.0
[success] iOS looking great! 👌 [success] Android looking great! 👌
Other API Details
npm: 10.2.3
node: v18.19.0
pod: 1.14.3
Platforms Affected
- [X] iOS
- [X] Android
- [ ] Web
Current Behavior
After upgrading our app v5 app, our Axios requests don't seem to be intercepted by CapacitorHttp. 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/ndrake/cap-http-bug-repro
Additional Information
Might be the same issue as this recently reported bug: https://github.com/ionic-team/capacitor/issues/7416
Can confirm this issue.
This issue has been labeled as type: bug. This label is added to issues that that have been reproduced and are being tracked in our internal issue tracker.
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.