Autoconnect not working in android 9?
Autoconnect doesn't work on my new android 9 phone. I tried all combinations of switching the network on/off, while the server was on/off, and also force-stopping the app and rebooting between changes made to the autoconnect setting, but I can't make it work.
FTP Server (Free) 3.0.1 (from F-Droid) Android 9 (Samsung cell phone)
Maybe related to cef4be6 ?
I can't remember now but I think wifi no longer broadcasts state changes? Seems to reason that's why I did the following instead. An alternative is to use a handler and check once every now and then, such as every 30 minutes or hourly, since the app has to be running anyway: https://github.com/Xavron/swiftp/commit/4f43b0fea8ca93d6855addb6e6e00f606e1f931f
Its not an issue however. The app stays connected when its running. Its only an issue when the app is started without wifi.