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

bindall and resetbindall issue #94

Open guicit opened 5 years ago

guicit commented 5 years ago

<!--

Have you read the plugins' Code of Conduct? By creating an Issue, you are expected to comply with it, including treating everyone with respect: https://github.com/tripflex/wifiwizard2/blob/master/CODE_OF_CONDUCT.md

-->

Prerequisites

Check all boxes if you have done the following:

Issue type

Select all that apply

Description

In my app I can connect to an IoT device directly through his wifi or passing through internet. For wifi connection without internet in Android 9, when I make the connection I use connect function with parameter BindAll = true. When I want to switch and connect trought internet using a wifi that have internet(a router) and then I go out of wifi range and I loose this wifi, the telephone switch to cellular data, The telephone has internet connection but my app remain whitout internet access. Even if I use resetbindall function.

Steps to Reproduce

  1. [First Step]: Connect to a wifi without internet using bindall parmeter = true
  2. [Second Step]: disconnect this wifi and leave the telephone connect to a known wifi with internet
  3. [and so on ...]: Close this wifi and the let the telephone connecting to cellular data
  4. The app has no longer internet access even if you call resetbindall

Expected behavior: Actual behavior: Reproduces how often:

Versions

Plugin Version 3.1.1

Additional Information