You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add WiFi toggle for Android via WifiManager with root fallback
Expose isWifiEnabled() and setWifiEnabled() to Lua via JNI. setWifiEnabled()
tries WifiManager.setWifiEnabled() first; if blocked (OEM restriction or
Android 10+), falls back to `su -c "svc wifi enable/disable"`.
Requires ACCESS_WIFI_STATE and CHANGE_WIFI_STATE permissions.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
0 commit comments