I want to simply change the title of my native alert dialog which is "index.html" on iOS and "Alert" on Android. Thus I have added the plugin cordova.plugin.dialogs
using
cordova plugin add cordova.plugin.dialogs
cordova plugin list
cordova-plugin-dialogs 1.1.1 "Notification"
The plugin seems installed and here is how it's supposed to be called according to the docs:
navigator.notification.alert(
'You are the winner!', // message
alertDismissed, // callback
'Game Over', // title
'Done' // buttonName
);
I have the following code for showing the popup:
navigator.notification.alert('Some alert text', function(){}, 'New Title');
But when I run the code the title is still the default, am I missing anything? I've also tried to set the second argument to null but no luck. Here is the full documentation of the plugin.