tripflex / WifiWizard2

A Cordova plugin for managing Wifi networks (new version of WiFiWizard) - Latest is version 3+

Home Page:https://www.npmjs.com/package/cordova-plugin-wifiwizard2

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Android 10: online/offline problems via wifi plugin

Maho38 opened this issue · comments

Prerequisites

Check all boxes if you have done the following:

Issue type

Select all that apply

  • Bug
  • Enhancement
  • Task
  • Question
  • Other

Description

Issue for Plugin versin from here (https://github.com/tripflex/WifiWizard2) and from https://github.com/VijayVaveHealth/WifiWizard2

Use an offline (no wifi, no cellular connection) Android >=10 device and connect to a wifi with internet connection. The wifi icon shows an "!" and I don't get an internet connection. Also other apps are offline.

Steps to Reproduce

I open my app without internet connection (no wifi, no cellular connection). Then I connect via this plugin to a wifi stick with a sim card inside which is online but the wifi icon shows an "!" and I don't have internet connection.

Same error if I have a wifi connection with internet access to my home wifi, then open the app and connect via plugin to my wifi stick.

Also same error, if I connect to my home wifi via plugin while I am offline before (it is not a stick problem).

If I connect manually (without the plugin) everything works fine.

It also works fine if I am online via cellular connection on my phone, open the app and connect via plugin to the stick. But if I lose wifi connection and the phone connects automatically to cellular and/or home-wifi the app things I am offline while other apps have internet connection. If I close my app and open it again i am online.

Expected behavior: [What you expect to happen]

Internet access after wifi connection while I was offline before

Actual behavior: [What actually happens]

no internet access after wifi connection while I was offline before

Reproduces how often: [What percentage of the time does it reproduce?]

100%

Versions

latest version from github master branch - https://github.com/tripflex/WifiWizard2
latest version from github master branch - https://github.com/VijayVaveHealth/WifiWizard2

Devices:
Android 11: Google Pixel 5
Android 10: Samsung M20 and Huawei P20 Pro

Additional Information

Any additional information, configuration or data that might be necessary to reproduce the issue.

commented

@Maho38
some of the issues have been fixed in my forked repo:
https://github.com/EYALIN/community-cordova-plugin-wifi-wizard

you can install it as an npm package:
cordova plugin add community-cordova-plugin-wifi-wizard --save