Comments (8)
This is how it looks like when I debug the app.
from cordova-plugin-network-information.
same situation here :(
from cordova-plugin-network-information.
Just came across this as well
from cordova-plugin-network-information.
Is anyone of you Apple to test the iOS 13.3 Beta? Does the issue still persist? Also, is, e.g., iOS 13.2 or lower affected, too?
I could imagine that Apple changed the API - or broke it (temporarily).
from cordova-plugin-network-information.
I noticed this behaviour
-
Open xcode
-
Run the app on your device
-
it says connection type unknown
-
just close the app, that means app is still running in the background
-
again open the app on device
-
now connection type is WiFi (if your device is connected to WiFi)
from cordova-plugin-network-information.
My Connection type only returns for WIFI, all the others come back as none
from cordova-plugin-network-information.
I noticed this post: https://programmer.help/blogs/new-features-of-cncopycurrent-network-info-in-ios-13.html
IMO apple changed the behaviour to protect user privacy.
It seems only some apps can obtain more information of the network.
I think the plugin uses an older api (the Objective C Reachablity - api) than mentioned in the post, but the rules will probably remain the same.
from cordova-plugin-network-information.
Running in iOS simulator, the navigator.connection.type
starts off with value wifi
. If I turn off the host wifi, then the type
becomes none
as expected. But when I turn wifi back on, the type
still remains none
forever. It never updates back to wifi
.
from cordova-plugin-network-information.
Related Issues (20)
- IOS 13.4 not working offline HOT 2
- core.js:6014 ERROR RangeError: Maximum call stack size exceeded HOT 2
- bug: 'onConnect' does not work as expected HOT 10
- Refactor eslint to use cordova-eslint HOT 1
- Drop support for node < 10. HOT 1
- Version 2.0.2 from npmjs is crashing some devices with Android 10, on startup. HOT 9
- 5G detection HOT 13
- Correct network detection API calls deprecated on Android and iOS HOT 2
- network.connection.type is giving value as unknown in case of IOS 14 HOT 2
- Under no network conditions, start the App HOT 1
- What exactly is triggering online/offline events? HOT 2
- How to install specific version? HOT 2
- what 's new in version 3.0 ? should I need to update? HOT 1
- Issue with Ionic-native/network onConnect() on upgrade to Angular 10 HOT 1
- network.type is set to 'wifi' even when iPad Air is set to flight modus or when I am turning off WiFi
- Wrong typing for Connection
- 5G detect support HOT 4
- Network Up and Down Speed in android
- Navigator.connection support
- #throwInvalidProviderError HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cordova-plugin-network-information.