Skip to content

Conversation

rajarajan-dev
Copy link

@rajarajan-dev rajarajan-dev commented Aug 31, 2025

In React Native 0.80+, this inside XMLHttpRequest handlers is no longer bound
to the xhr instance. As a result, this.status always returned 0/undefined,
causing isConnected to remain false even with internet.

Replaced this.status with explicit xhr.status in makeHttpRequest.ts.

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

Successfully merging this pull request may close these issues.

1 participant