cordova-plugin-raqmiyat-alert
v7.1.3
Published
--- title: Ionic Network Alert description: Device's network status notification ---
Downloads
2
Maintainers
Readme
title: Ionic Network Alert description: Device's network status notification
cordova-plugin-raqmiyat-alert
Installation
cordova plugin add cordova-plugin-raqmiyat-alert (or)
cordova plugin add https://github.com/GMuthuraja/IonicNetworkAlert.git
Supported Platforms
- Android
How to Use
declare var CustomAlert: any; //paste it below the import section
//button onclick function
checkStatus() {
CustomAlert.networkCheck((response) => {
console.log(response);
}, (error => {
console.log(error);
})
}