3 ms·
I don't think you are doing it wrong but in 90% of the cases that's on the app developer. The OS usually doesn't ask for wifi randomly but many apps do. They ch
by jaegerpicker 8y ago
I don't think you are doing it wrong but in 90% of the cases that's on the app developer. The OS usually doesn't ask for wifi randomly but many apps do. They check for connectivity and if wifi isn't available they prompt the user. It's not hard code to write but it shouldn't be used often. I'm actually writing similar code right now but for a pretty good reason, I'm working a feature that might use the presence of a wifi network to indicate proximity to an IoT device.