Hi everyone
I’m trying to use local notifications for ionic.
I want to ask the user for permission to use local notifications.
But when I call registerPermission()
I get the following error:
WARN: Native: tried calling LocalNotifications.registerPermission, but the LocalNotifications plugin is not installed.
WARN: Install the LocalNotifications plugin: 'ionic cordova plugin add cordova-plugin-local-notification
The strange thing is: It is installed! I only got the idea to ask for permission first, because I didn’t want my already working scheduled notification to ask for permission…
Also here is the entry in the config.xml file:
<plugin name="cordova-plugin-local-notification" spec="^0.9.0-beta.2" />
What could be the reason for this issue?