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

add option to remove NetworkCapabilities.NET_CAPABILITY_INTERNET #35

Open
phatpaul opened this issue Aug 2, 2022 · 1 comment
Open

Comments

@phatpaul
Copy link

phatpaul commented Aug 2, 2022

My use-case is connecting to a ESP32 AP and flashing firmware OTA. So the AP I'm connecting to does not provide internet connectivity.

This example android code includes this line:
.removeCapability(NetworkCapabilities.NET_CAPABILITY_INTERNET)

Would that be helpful for some devices to maintain their primary internet connection (i.e. cellular data) while connected to the ESP32?
Can we have that as an option through this plugin?

Unrelated question: my ESP32's AP often becomes unstable during FW upgrade, is there a way to be notified or query when the WiFi connection is broken so I can try to connect again?

@zcattacz
Copy link

zcattacz commented Jan 16, 2025

+1. many apps trying to connect to local wifi would prefer to not disrupt internet connection, be it a devece config app or a intranet business app, but there was no such option possible.

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

No branches or pull requests

2 participants