Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 71530

Ionic-native/network - Type Always "unknown"

$
0
0

@brassier wrote:

I'm using the ionic-native/network plugin (cordova-plugin-network-information). During startup and resume I want to check network status and adjust my startup routine based on network status. Unfortunately the type property is always "unknown". Airplane mode or other network adjustments don't impact this type.

Has anyone else run into this? I am running on an Android device, and I'm executing after platform.ready().

Ionic Native Version:

"@ionic-native/core": "^3.10.3"
"@ionic-native/network": "^3.10.3"

Plugin Version:

cordova-plugin-network-information 1.3.3 "Network Information"

Android OS:

5.1

global packages:

@ionic/cli-utils : 1.2.0
Cordova CLI      : 6.5.0
Ionic CLI        : 3.2.0

local packages:

@ionic/app-scripts              : 1.3.7
@ionic/cli-plugin-cordova       : 1.2.1
@ionic/cli-plugin-ionic-angular : 1.2.0
Cordova Platforms               : android 6.1.2 ios 4.3.1
Ionic Framework                 : ionic-angular 3.3.0

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 71530

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>