/* return 0 when dont have SYSTEM_ALERT_WINDOW permission, 1 when have SYSTEM_ALERT_WINDOW permission */
cordova.plugins.systemAlertWindowPermission.hasPermission(successFunction, errorFunction);
/* request SYSTEM_ALERT_WINDOW permission */
cordova.plugins.systemAlertWindowPermission.requestPermission(successFunction, errorFunction);
bilgisam-dev / cordova-plugin-system-alert-window-permission Goto Github PK
View Code? Open in Web Editor NEWThis project forked from wryel/cordova-plugin-system-alert-window-permission
cordova plugin to check and request SYSTEM_ALERT_WINDOW android 6 permission
License: GNU General Public License v3.0