Change from 2g to 4g not detected


#1

Hello,

I am using the Ionic Native cordova-network-information-plugin.
This gives me the connection when it changes, but it’s not triggering from 2g to 4g.
What I noticed is that my connection doesn’t first disconnect after reconnecting, it just switches from 2g to 4g.

FYI: In my app I assume 2g as offline (as I’m sending images etc to an API) so I really need the event to switch back to online when connected to 4g.

This is my package.json:
},
“dependencies”: {
"@angular/animations": “4.4.4”,
"@angular/common": “4.4.4”,
"@angular/compiler": “4.4.4”,
"@angular/compiler-cli": “4.4.4”,
"@angular/core": “4.4.4”,
"@angular/forms": “4.4.4”,
"@angular/http": “4.4.4”,
"@angular/platform-browser": “4.4.4”,
"@angular/platform-browser-dynamic": “4.4.4”,
"@angular/platform-server": “4.4.4”,
"@ionic-native/app-version": “4.3.1”,
"@ionic-native/camera": “4.3.1”,
"@ionic-native/core": “4.3.1”,
"@ionic-native/device": “4.3.1”,
"@ionic-native/email-composer": “4.3.1”,
"@ionic-native/file": “4.3.1”,
"@ionic-native/ftp": “4.3.1”,
"@ionic-native/launch-navigator": “4.3.1”,
"@ionic-native/local-notifications": “4.3.1”,
"@ionic-native/network": “4.3.1”,
"@ionic-native/splash-screen": “4.3.1”,
"@ionic-native/sqlite": “4.3.1”,
"@ionic-native/status-bar": “4.3.1”,
"@ionic/storage": “2.0.1”,
"@ngrx/core": “1.2.0”,
"@ngrx/store": “4.0.3”,
“angular2-elastic”: “0.13.0”,
“angular2-signaturepad”: “2.6.1”,
“async”: “^2.5.0”,
“cordova”: “^7.1.0”,
“cordova-android”: “^6.4.0”,
“cordova-ios”: “~4.5.1”,
“cordova-plugin-actionsheet”: “2.3.3”,
“cordova-plugin-app-event”: “1.2.1”,
“cordova-plugin-app-version”: “0.1.9”,
“cordova-plugin-camera”: “2.4.1”,
“cordova-plugin-compat”: “^1.2.0”,
“cordova-plugin-console”: “1.1.0”,
“cordova-plugin-datepicker”: “~0.9.3”,
“cordova-plugin-device”: “1.1.6”,
“cordova-plugin-email-composer”: “0.8.10”,
“cordova-plugin-file”: “4.3.3”,
“cordova-plugin-file-transfer”: “^1.6.1”,
“cordova-plugin-filepath”: “1.1.0”,
“cordova-plugin-ftp”: “1.0.3”,
“cordova-plugin-hockeyapp”: “5.0.1”,
“cordova-plugin-network-information”: “^1.3.4”,
“cordova-plugin-sim”: “~1.3.3”,
“cordova-plugin-splashscreen”: “^4.0.1”,
“cordova-plugin-statusbar”: “2.2.3”,
“cordova-plugin-whitelist”: “1.3.2”,
“cordova-sqlite-storage”: “2.0.4”,
“cordova-windows”: “5.0.0”,
“de.appplant.cordova.plugin.local-notification”: “0.8.5”,
“font-awesome”: “4.7.0”,
“ion-multi-picker”: “2.1.2”,
“ionic-angular”: “^3.7.1”,
“ionic-plugin-keyboard”: “2.2.1”,
“ionicons”: “3.0.0”,
“lie”: “3.1.1”,
“lodash”: “4.17.4”,
“moment”: “2.18.1”,
“moment-timezone”: “0.5.13”,
“pouchdb”: “6.3.4”,
“pouchdb-adapter-cordova-sqlite”: “2.0.2”,
“pouchdb-adapter-websql-core”: “6.2.0”,
“pouchdb-browser”: “6.3.4”,
“pouchdb-core”: “6.3.4”,
“pouchdb-find”: “^6.3.4”,
“pouchdb-promise”: “6.3.4”,
“reflect-metadata”: “0.1.10”,
“rxjs”: “5.4.3”,
“sw-toolbox”: “3.6.0”,
“uk.co.workingedge.phonegap.plugin.launchnavigator”: “4.0.6”,
“zone.js”: “0.8.18”
},
“devDependencies”: {
"@ionic/app-scripts": “3.0.0”,
"@types/async": “2.0.44”,
"@types/moment-timezone": “0.5.0”,
"@types/pouchdb": “6.3.1”,
"@types/rx": “^4.1.1”,
“codelyzer”: “3.2.1”,
“tslint”: “5.7.0”,
“typescript”: “2.5.3”,
“xml2js”: “^0.4.19”
},

Anybody has any ideas what might be wrong?

Thanks!