Show alert

I need to send an alert, install the plugin and add all the dialogues config.xml, I’m working on an iOS app. But it works not send me the error that the alert function is not found.

  function alertDismissed() {

 }

 navigator.notification.alert(
    'No connection network', 
     alertDismissed,         
     'Alert',            
     'OK'                  
);