Problem with Phonegap Confirmation
Hello,
I try to use some PhoneGap features regarding alerts and confirmations. While I was able to make alerts work properly, I can't make confirmations work using 'navigator.notification.confirm'.
This is what I have inside 'Device ready' event:
function showConfirm() {
navigator.notification.confirm('Lista artykułów zostanie wyczyszczona.',console.log('Hello Appery'),'Wyczyść','TAK,NIE');
}
This is what is under the button that needs confirmation (click event):
showConfirm();
return false;
Nothing happens after clicking this button on mobile device. On Chrome console I get this error:
Uncaught ReferenceError: showConfirm is not defined
but I don't think it is relevant since it uses 'Device ready' event to fire showConfirm() function.
Tested on Appery Tester on iPhone 4s,
App called '3mamcukier', already shared with Appery support.
My built-in libraries are as follows:
jQuery (1.8.2)
jQuery Mobile (1.3.2)
PhoneGap (3.0.0)
Can you please help me in making this feature work?