tripflex / WifiWizard2

A Cordova plugin for managing Wifi networks (new version of WiFiWizard) - Latest is version 3+
https://www.npmjs.com/package/cordova-plugin-wifiwizard2
Apache License 2.0
123 stars 146 forks source link

Wifi with No Internet Disconnect after some time #136

Open sw-tt-vidhithakkar opened 2 years ago

sw-tt-vidhithakkar commented 2 years ago

@tripflex I am using tripflex/WifiWizard2 plugin with latest 3.1.1 version in my project. I am connecting my device WiFi with no internet using this plugin, it is connected successfully, but when i am sending socket commands to the device & receiving data from it suddenly device WiFi disconnect automatically. and i am getting Software caused connection abort during socket read.

Could anyone can help me on this, how to prevent automatically disconnect No Internet device Wifi within some time, I want to it to be stay connected. I use bindAll to true in connect() method and also forget all network but still I am facing same issue,

Maho38 commented 2 years ago

I have the same problem. Tested on several devices. It seems that newer Android versions have this problem more often than older versions - Samsung M20 with Android 10 rarely loses the connection, but Google Pixel 5 with Android 12 has lost it often and with Android 13 it is even more frequent!