I am trying to create local mobile notifications with the mobile app I am developing and there is no way to make it work.
I am using the plugin "cordova-plugin-local-notification", I implement it but nothing, it does not work. I'm trying to make this work first:
cordova.plugins.notification.local.schedule({
text: "Wake up!",
every: 30 // every 30 minutes
});
For example, to repeat it every 30 minutes, but nothing does not work.
I put this piece of code on the "device ready" but it does not do anything.
What I want is that when I press a button I simply show or create the notification, but I do not succeed.
I was testing the repetitive notifications to see if this way ... But neither.
I install the plugin but then I look in the phonegap config.xml and it does not appear
<plugin name="cordova-plugin-local-notification" />
This I've put on hand at the end of the config.xml file.
Greetings.