I am working on my personal project, which is a hybrid application developed using Ionic framework. And my application is solely dependent on internet connection.
How can I check if mobile has internet connectivity or not, via app?
Use Case: if there is no internet connection, app will display alert.
I dont want to use any 3rd party plugin, like cordova-plugin-network-information
Is there any solid possible way to check internet connectivity without leveraging 3rd party addons/plugin and just using JavaScript?