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

Using the Network Plugin Connection... How detect if a connection is really slow?

$
0
0

@temohpab wrote:

I’m using this plugin to display a webview if you’re connected to internet… But if we are connected to a wifi who dispatches a really slow connection? How we can advice to the users about this?

I mean, i know this method:

downlinkMax
Downlink Max Speed

Returns: string

But… How can i know when a connection is slow?? What kind of data returns this method? What’s a speed connection “tolerable”?

I don’t want to have a service like:

  checkConnection(): boolean{
    if(this.network.type == 'none' || this.network.type == 'unknown'){
      return false;
    }
    else{
      return true;
    }
  }

Because i don’t know the speed of that connection…

Thanks

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 70746

Trending Articles



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