Help with getting a Local notification plugin working.
Thanks, Molly, looking forward to it!
Catch up wih the Appery.io community on our forum. Here you'll find information on the lastest questions and issues Appery.io developers are discussing.
https://forum.appery.io/
Thanks, Molly, looking forward to it!
So here is an attempt at writting the guide to setup this plugin within an Appery.io project (either on the main site or on a partner site (I am involved with the Progress instance and it works their)). The documentation could probably be a hell of a lot better and I would love to try to understand how the Phonegap plugin system enough to write a more generic guide that looks at showing how to take any plugin or gives an idea of any plugin.
I also tried to get the iOS side of it working but although I could build the app and run it on iOS, the notification didn't happen and I gave up.
So you can get the guide here:
https://drive.google.com/file/d/0B_NL...
Let me know if it works for you guys.
Thanks to all the Apperyio guys and girls that helped in this thread to get the plugin working. You guys are great and the community you have here is a wonderful resource and you all should be amazingly proud!
Also thanks to Thomas for his additions to the process! If I have more time to make the guide better (so any feedback welcomed (even if I don't listen to your feedback )) I will be sure to add an acknowledgement section.
Have fun guys!
That did the trick, thanks!
I think the part that I was missing was setting the sdk to 16.
Your instructions were very easy to follow.
Great to hear! I believe the SDK points to which version of the Android SDK is needed. I did want to check if there was a change to the plugin that changed the SDK version that could be used but didn't have a chance.
Where the directory references easy enough to follow?
Yep, I didn't have a problem with that at all.
I was hoping for a way to get functionality similar to an alarm clock that goes off no matter what the device sound settings are and brings up the app at the time of the notification, but it doesn't look like this does it. I think writing the app natively on Android & iOS is the only way that I'm going to achieve that, but I'm thinking maybe I can build the app in appery.io, export it to work on it in eclipse, and get it all going that way.
Hello,
Native development for Android and iOS is outside the scope of our support. http://docs.appery.io/support-policy/ Please don't hesitate to ask us if you have any question related to appery.io - we are always glad to help
First of all, thank you Appery.io support team, Thomas, and specially Molly for the detailed instructions!
I've followed carefully all the steps detailed by Molly.
However, when testing the apk, the notification is still not displayed.
I have doublechecked all the test steps, but have found no difference yet.
When digging into the logcat, it seems that it is not recognizing properly the JS code:
window.plugin.notification.local.add({ id: 1, // is converted to a string title: 'Reminder', message: 'Hello World' });
D/CordovaLog( 8800): file:///android_asset/www/startScreen.js: Line 341 : Uncaught TypeError: Cannot read property 'notification' of undefined
E/Web Console( 8800): Uncaught TypeError: Cannot read property 'notification' of undefined at file:///android_asset/www/startScreen.js:341
Any help appreciated but as Molly said, would understand if it is beyond the scope of official support.
Thanks in advance!
Carlota F.
Hello!
Most likely you added plugin in a wrong way. Please check that.
Another problem might be is that you call the code before Device Ready event. The code has to be called after Device Ready event.
I don't have any answers on that exact issue but I would say just Double check everything and especially for case and typos.
hi maryna Brodina
can u send me Beep cordova plugin