Skip to content

Conversation

@SuperPat45
Copy link
Contributor

@SuperPat45 SuperPat45 commented Feb 2, 2026

Trying to make an offline mode for my application, I noticed:

The request.onOpen() callback function may not be called after the online event if the response.error is true.

  1. To reproduce on android, disconnect wifi and mobile data
  2. Wait for a connection error
  3. Re-enable wifi/mobile data
  4. The connection reopen fined, but my application is not noticed by the onopen() callback
  5. Due to the _invokeCallback(); instruction (line 1067) not called in the _open() function when response.error is true

…nt if the response.error is true

The onOpen() callback function may not be called after the online event if the response.error is true
@SuperPat45 SuperPat45 changed the title The onOpen() callback function may not be called after nline event The onOpen() callback function may not be called after online event Feb 2, 2026
@jfarcand
Copy link
Member

jfarcand commented Feb 2, 2026

Testing today.

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.

2 participants