angular.js - When ionic develops a hybrid app, how to monitor the change of mobile phone network type, such as changing from wifi to 4G
漂亮男人
漂亮男人 2017-05-15 17:04:17
0
1
640

I know that using cordova-plugin-network-information can monitor the online and offline status of mobile phones, but it does not provide events for network type changes when online,

My current idea is to set up a timer to detect the network type regularly

漂亮男人
漂亮男人

reply all(1)
刘奇

http://ngcordova.com/docs/plugins/network/

It uses ngCordova, and the event object will return the complete network information object

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template