Skip to content

Conversation

@doromaraujo
Copy link
Collaborator

This PR adds a mechanism that tracks available network capabilities and resets the go engine when the connection changes.
Scenarios:
WiFi is lost -> Cellular is available
Cellular is available -> WiFi is available

@doromaraujo doromaraujo requested a review from pappz November 11, 2025 19:14
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we run from CI the Android test?

}

@Override
public void onNetworkAvailable(@Constants.NetworkType int networkType) {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Consider another transport types. It would be important on Android TV or IoT devices.
TRANSPORT_ETHERNET, TRANSPORT_SATELLITE, etc...

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We'll skip those for now as discussed.

doromaraujo and others added 2 commits November 13, 2025 09:41
Now it disposes of network listener components
before stopping engineRunner
Add testing steps for CI
pappz
pappz previously approved these changes Nov 18, 2025
@doromaraujo doromaraujo merged commit d277cf6 into main Nov 18, 2025
6 checks passed
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.

3 participants