0

I'm working on an IOT app that requires the user to connect on a Wi-Fi device without internet and then communicate with the gateway IP trough an REST API. I'm receiving bug reports on Samsung S21+ phones my app is only working if the user selects "always connect" instead of "connect only this time". I don't know why this is happening, and I can't find documentation anywhere explaining the reason behind this.

enter image description here

I was wondering if there is an flag I could check at runtime to detect if the correct option was selected by the user.

  • 1
    Had to work with this as well. It's super crappy on android. Different devices will behave differently when connected to offline WiFi. I think Wi-fi direct is probably the best solution for WiFi based IoT devices. – Alexander Hoffmann Sep 06 '22 at 18:44

0 Answers0