Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Network type not updating during runtime #95

Open
2 of 3 tasks
Juarrow opened this issue Oct 29, 2019 · 0 comments
Open
2 of 3 tasks

Network type not updating during runtime #95

Juarrow opened this issue Oct 29, 2019 · 0 comments

Comments

@Juarrow
Copy link

Juarrow commented Oct 29, 2019

Bug Report

Problem

What is expected to happen?

When the network type changes the type-property should update accordingly.

What does actually happen?

When the type-property changes on app start and resumption only.

Information

Plugin Version 2.0.2

Command or Code

setInterval(
      () => console.warn(navigator.connection.type),
      500);

Environment, Platform, Device

Android 8 & 9. (Device & Emulator)

Version information

Ionic:

   Ionic CLI          : 5.4.4 (/usr/local/lib/node_modules/ionic)
   Ionic Framework    : ionic-angular 3.9.9
   @ionic/app-scripts : 3.2.4

Cordova:

   Cordova CLI       : 9.0.0 ([email protected])
   Cordova Platforms : android 8.1.0, ios 5.0.1
   Cordova Plugins   : cordova-plugin-ionic-webview 2.5.2, (and 18 other plugins)

Utility:

   cordova-res : 0.6.0 (update available: 0.8.1)
   native-run  : 0.2.9 

System:

   Android SDK Tools : 26.1.1 (/Users/xxx/Library/Android/sdk)
   ios-deploy        : 1.9.4
   ios-sim           : 8.0.2
   NodeJS            : v12.6.0 (/usr/local/Cellar/node/12.6.0/bin/node)
   npm               : 6.10.2
   OS                : macOS Catalina
   Xcode             : Xcode 11.1 Build version 11A1027

Checklist

  • I searched for existing GitHub issues
  • I updated all Cordova tooling to most recent version
  • I included all the necessary information above
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant