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

Unable to check if the user has switched on AP mode on android #394

Open
mys10gan opened this issue Jul 23, 2024 · 0 comments
Open

Unable to check if the user has switched on AP mode on android #394

mys10gan opened this issue Jul 23, 2024 · 0 comments

Comments

@mys10gan
Copy link

I want to check if the user has turned on the AP/Hotspot in my app. (Note: The user has to turn on the hotspot independently from settings, I only want to know if they have or not)

bool isEnabled = await WiFiForIoTPlugin.isWiFiAPEnabled();

But this always returns false. Can we not check the AP enabled status if we have not enabled it? Is this an Android restriction?

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

1 participant