Page 2 of 10

Help with getting a Local notification plugin working.

Posted: Mon Jan 27, 2014 8:28 pm
by Kateryna Grynko

Molly,

We'll test it.


Help with getting a Local notification plugin working.

Posted: Tue Jan 28, 2014 5:28 pm
by Kateryna Grynko

Hi Molly,

window.plugin.notification is a PhoneGap plug-in, you can't use it in browser. Better check if it exists:preif (window.plugin.notification){
//... your code
}/pre


Help with getting a Local notification plugin working.

Posted: Tue Jan 28, 2014 8:00 pm
by mollyfud

Cool. Will try that. The issue I saw was a failed Android Apk compile/build. Will this help?


Help with getting a Local notification plugin working.

Posted: Tue Jan 28, 2014 8:03 pm
by Kateryna Grynko

Should be ok now, please check and let us know about the result.


Help with getting a Local notification plugin working.

Posted: Tue Jan 28, 2014 8:09 pm
by mollyfud

I tried that but got the same build error as above.


Help with getting a Local notification plugin working.

Posted: Wed Jan 29, 2014 12:59 pm
by Maryna Brodina

Hello! You incorrectly added plugin, please check error log:

[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] /srv/tiggzi/jenkins/workspace/132600-android/41595/132600/android/LocalNotification/src/com/phonegap/plugins/localnotification/Receiver.java:[30,25] package android.annotation does not exist


Help with getting a Local notification plugin working.

Posted: Wed Jan 29, 2014 1:05 pm
by mollyfud

Incorrectly or is there more packages/Java needed? What can I try next?


Help with getting a Local notification plugin working.

Posted: Wed Jan 29, 2014 5:30 pm
by Kateryna Grynko

Hi Molly,

In config.xml specify this plug-in: http://docs.appery.io/documentation/u...


Help with getting a Local notification plugin working.

Posted: Wed Jan 29, 2014 8:09 pm
by mollyfud

Okay. So this is what it looks like for what I added:

-----------------

Code: Select all

 <!-- Custom plugins  

<feature name="LocalNotification"
<param name="android-package" value="de.appplant.cordova.plugin.local-notification.LocalNotification"
</feature --

--------------

(Note: In my config file the above isn't all commented out, the closing two dashes and closing pointy brack are before the feature but not doing it like this here meant that you couldn't see the stuff. I assume it was treated as code not text here)
Can you suggest what I need to make it?

TIA


Help with getting a Local notification plugin working.

Posted: Wed Jan 29, 2014 8:19 pm
by mollyfud

So basically I have been looking at this for local notifications.
1) Is there another way to do it in Appery.io now since the last time some asked?
2) Is it a case that this would have to be implemented as part of appery.io and I should just give up on this and log adding this plugin or something like it, directly to the product as an Enhancement request/suggestion? Its seems like this functionality (local notifications) is something lots would like to have!