Closed bastasie closed 10 years ago
Hello,
I guess you haven't installed the org.apache.cordova.device plugin. I should add the plugin as a requirement.
installing now
ok now there is
in my config.xml file
but am getting this warning
THREAD WARNING: exec() call to LocalNotification.add blocked the main thread for 787ms. Plugin should use CordovaInterface.getThreadPool().
and the app does not get notifications
I get the same message, but only with 30ms.
Anyway, independent of the warning the notification should be visible in the notification center. I have reinstalled the plugin and it works fine.
ok it appeared in the notification center now, Thanks a lot
Great!
It does not block the ui thread anymore (d1e0d9425f484d8ada36860883b0a7309158a3cc)
Hi Katzer,
i was trying to install the plugin but it is not working on emulator or real device the logcat says:
Uncaught ReferenceError: device is not defined at file:///android_asset/www/plugins/de.appplant.cordova.plugin.local-notifications/www/local-notification.js:32
can you please help,
Best Regards,
Basta