How do i implement cordova to check if the internet is ON or OFF in framework7

How do i implement cordova to check if the network in ON or OFF in framework7 since Framework7 does not have that functionality?

Am stuck. I need to know if there is network in a location or not? I really appreciate your assistance.

Please help

Use this Cordova plugin https://www.npmjs.com/package/cordova-plugin-network-information

3 Likes