I always get Network.type as “Ethernet” whether I am connected to network or disconnected from network in my Ionic 2 app.
I am using network plugin.
I tried different ways
- navigator.connection.type
- network.type
- network.onConnect & onDisconnect methods.
Does this work with chrome browse?
Any help is appreciated.