Quantcast
Channel: Ionic Forum - Latest posts
Viewing all articles
Browse latest Browse all 229110

XCode tells me to install cordova-plugin-local-notification, even though it's installed

$
0
0

Hi everyone :slight_smile:
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?


Viewing all articles
Browse latest Browse all 229110

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>