navigator.notification.confirm not working

I have make a demo. Create Plugins but when I'm following the course and do demo. The code don't work. 

this is my plugin.

Inside when I set the Action flow, In JS

this navigator.notification.confirm does not work. Browser has notified confirm undefined.

Solution

Hi Dat,

Are you generating apk after doing all these.

Make sure you are testing application in real device after generating apk .

Because Native functionalities will only work in real devices not in browser.

 


Solution

Vivek Patel wrote:

Hi Dat,

Are you generating apk after doing all these.

Make sure you are testing application in real device after generating apk .

Because Native functionalities will only work in real devices not in browser.

 


Hi Vivek, 

Thanks for supporting. It work now. From beginning, I check working in browser. Then when I check in native app It work now.