-
Notifications
You must be signed in to change notification settings - Fork 171
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support local notifications #743
Comments
Apparently there is a problem with this plugin on Cordova 5 katzer/cordova-plugin-local-notifications#426 Do you build against tabris.js nightly? We have migrated to Cordova 5.0.0 for the upcoming Tabris.js 1.6 release. |
@mpost I had been building against 1.5 |
I would like to think that the error is on their side. Could you try against Tabris.js nightly, although that shouldn't have too much impact. |
Finally got a passing build. Will play around with this tomorrow to see if everything is working. In case anyone else is interested: <plugin name="https://github.com/C895/cordova-plugin-local-notifications.git" /> |
Also, this built successfully against both 1.5.0 and nightly. Have only tested Android so far. |
Good to hear. :) |
Fails on app launch.
|
Okay, we would have to investigate what kind of environment the plugin requires. |
Hi, we are currently assessing whether to use TabrisJS instead of just cordova for our next app build. We will require the use of local notifications. Has this issue progressed any further as I was getting similar issues when trying to use this cordova plugin. Or are there any other ways of triggering local notifications using TabrisJS? |
I've opened #785 for the problem with the cordova device plugin. Chances are that the local-notifications plugin works when this issue is fixed. |
@mpost Could you try again? |
@cookieguru the nightly build should pick up the change. Please try again tomorrow. |
Now seeing this error on startup:
In this case |
I can confirm the error reported by @cookieguru |
May bad, sorry! Working on a fix right now. |
@cookieguru @elfazzo In general we can confirm that the plugin works. We are still having some problems with the device object that is required internally. We are currently working on a fix. The screenshot below shows the plugin in action: |
@cookieguru @elfazzo We have remedied the problem with the device in the latest nightly. You should now be able to use the notification plugin as advertised. Please let us know if you have any more problems. |
@mpost Thanks, will be trying this in the next few days. Will let you know if there are any issues. |
@mpost I still see this error on launch when building with nightly using de.appplant.cordova.plugin.local-notification@0.8.4. |
@cookieguru this error is two steps back... are you certain you build against nightly? |
@cookieguru I can confirm your reported error. Apparently the build service is not yet in sync with our changes. I'll report when it is working properly. |
@cookieguru The build service has configuration problem when building a debug build and selecting "nightly". It does not make use of the nightly builds. In fact it builds against what is given in your "dependencies": {
"tabris": "https://tabrisjs.com/downloads/nightly/tabris.tgz"
} |
Using the above instructions to build against nightly with de.appplant.cordova.plugin.local-notification@0.8.4 works great. Have only tested Android so far. Using this omnibus script everything works except loading icons from remote URLs. Did not test locally loaded icons, however I did notice that the app locally caches the remote icons. |
any working "hello world" example showing how to use cordova plugins, and specifically notifications plugin? |
There are many Cordova plugins showing notifications, and most are designed for receiving push notifications. I've found only one is designed for locally-generated notifications: cordova-plugin-local-notifications. This also appears to be the only plugin that supports ongoing notifications.
When adding the plugin (version 1.0.0) to
config.xml
the build fails at the following step:There's also cordova-plugin-local-notifications-pgb which fixes some of the issues this plugin has with PhoneGap build, but it fails with the following:
The text was updated successfully, but these errors were encountered: