Apple Push notifications. Trying something else. again
This commit is contained in:
parent
1a2c234134
commit
38ac65221f
@ -394,16 +394,20 @@ function onDeviceReady() {
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
if (window.cordova && !(window.cordova instanceof HTMLElement)) {
|
||||
document.addEventListener('deviceready', onDeviceReady, false);
|
||||
}
|
||||
} else {
|
||||
|
||||
}
|
||||
*/
|
||||
|
||||
|
||||
/*;(function() {
|
||||
;(function() {
|
||||
if (window.cordova && !(window.cordova instanceof HTMLElement)) {
|
||||
document.addEventListener('deviceready', onDeviceReady, false);
|
||||
} else {
|
||||
onDeviceReady();
|
||||
Notification.requestPermission();
|
||||
}
|
||||
})();*/
|
||||
})();
|
||||
|
Loading…
x
Reference in New Issue
Block a user