Quantcast
Channel: Ionic Framework - Ionic Forum
Viewing all articles
Browse latest Browse all 49188

How to monitor network connectivity in ionic?

$
0
0

@samxfido88 wrote:

I want to monitor network connectivity in ionic app . i'm using ngCordova network plugin i have 3 scenarios

  1. while opening app if net is not connected
  2. while using app if net is disconnected suddenly or limited connectivity
    3.before fetching a API data if net is disconnected
    for all 3 scenarios if net is disconnected or limited network i want to display an error page (simple Html file)

how can i do the above things ?? plz someone guide me or post a sample code

Posts: 5

Participants: 3

Read full topic


Viewing all articles
Browse latest Browse all 49188

Trending Articles



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