mollyfud
Posts: 0
Joined: Mon Feb 11, 2013 5:16 am

Help with getting a Local notification plugin working.

I will totally understand if you can't help with this but thought it worth asking. I have played with setting up the "Cordova LocalNotification-Plugin" (https://github.com/katzer/cordova-plu...).

I have to say, I am not an expert in this field (part of the reason for loving Appery.io) but thought it would be great to be able to put out local notifications (i.e. not Push, but local) (background service on mobile devices would be cool as well, hint hint).
So with what looks like new functionality that allows 3rd party plugins in Appery.io (http://docs.appery.io/documentation/u...).

My first attempt i muddled through and went to build and it just failed when building the APK. I gave it another go (I think after the recent upgrade) and got the following errors:

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

Build error

Most likely build error cause:

/TestPlugin/src/com/phonegap/plugins/localnotification/Receiver.java:[30,25] package android.annotation does not exist /TestPlugin/src/com/phonegap/plugins/localnotification/Receiver.java:[33,31] cannot find symbol symbol : class Builder location: class android.app.Notification /TestPlugin/src/com/phonegap/plugins/localnotification/Receiver.java:[122,12] cannot find symbol symbol : class Builder location: class de.appplant.cordova.plugin.localnotification.Receiver /TestPlugin/src/com/phonegap/plugins/localnotification/Receiver.java:[143,35] cannot find symbol symbol : class Builder location: class de.appplant.cordova.plugin.localnotification.Receiver /TestPlugin/src/com/phonegap/plugins/localnotification/Receiver.java:[143,12] cannot find symbol symbol : class Builder location: class de.appplant.cordova.plugin.localnotification.Receiver
.......
=========

It seems that I am missing the android.annotation class. Is there a way to add it to the project without having to dump it out to Eclipse?

Anyone with any thoughts on this? Any help appreciated but as I said, would understand if it is beyond the scope of official support.

Thanks in Advance.
Molly

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

Help with getting a Local notification plugin working.

Hello! Could you clarify did you add plugin in config.xml as shown here http://docs.appery.io/documentation/u...?

mollyfud
Posts: 0
Joined: Mon Feb 11, 2013 5:16 am

Help with getting a Local notification plugin working.

I believe so. As I said, this sort of work with github and the likes isn't my string suite so u wonder if just saving the files off it in the way I have is the right method or if I should setup a dummy phonegap eclipse project and use the method described to pull the plugin and get the files in that method.

If it would help, I could share the project I have setup to test it if you let me know how.

TIA
Molly

mollyfud
Posts: 0
Joined: Mon Feb 11, 2013 5:16 am

Help with getting a Local notification plugin working.

I believe so. As I said, this sort of work with github and the likes isn't my string suite so u wonder if just saving the files off it in the way I have is the right method or if I should setup a dummy phonegap eclipse project and use the method described to pull the plugin and get the files in that method.

If it would help, I could share the project I have setup to test it if you let me know how.

TIA
Molly

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

Help with getting a Local notification plugin working.

Hello! Here is how to share with a href="mailto:support@appery.io" rel="nofollow"support@appery.io/a http://docs.appery.io/documentation/s...
We'll take a look, but it takes some time.

mollyfud
Posts: 0
Joined: Mon Feb 11, 2013 5:16 am

Help with getting a Local notification plugin working.

Thanks for this. Decided to try it from scratch again. When I get it set up if it still doesn't work, will follow this. Totally understand that this is probably on the edge of being supported. I guess if it can be made to work it might help others who might not necessarily want this plugin but might guide them on one they want. It's a bit more complex then the example.

Thanks again

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

Help with getting a Local notification plugin working.

Hello,

Let us know about the result please.

mollyfud
Posts: 0
Joined: Mon Feb 11, 2013 5:16 am

Help with getting a Local notification plugin working.

Okay, I recreated the issue a second time. Same error. So at worst I have created the same set of issues. Any help appreciated, I shared the App with the Support email.

TIA
Molly

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

Help with getting a Local notification plugin working.

Hi Molly,

What is the app name?

mollyfud
Posts: 0
Joined: Mon Feb 11, 2013 5:16 am

Help with getting a Local notification plugin working.

Sorry, its name is LocalNotification

Return to “Issues”