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

Help with getting a Local notification plugin working.

Hello! Thank you for update!

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

Help with getting a Local notification plugin working.

Any way you could share the entire file?
TIA

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

Help with getting a Local notification plugin working.

Okay, having a look at this. Would love to see what you had for the AndroidManifest.xml as I am not experienced with this. I am trying it but it is very confusing. Have my fingers crossed. ;-)

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

Help with getting a Local notification plugin working.

Okay, so was able to create a buildable APK but hitting a button that should create the Notification (assuming I have that code right as well) and it does nothing.

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

Help with getting a Local notification plugin working.

Hello! Perhaps you added or invoke it in a wrong way. Please try to debug your app and check logs (with logcat).

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

Help with getting a Local notification plugin working.

Thanks guys! Got it working! Turns out I had a typo! (Yes, interface problem! The one between the Keyboard and the Chair!)

Works great!

Thanks all the Appery support folks for the help and Thomas as well!

Yan Yi
Posts: 0
Joined: Sat Jan 25, 2014 7:38 pm

Help with getting a Local notification plugin working.

Hi Mollyfud! Do you mind posting your code and your typo here? Just wish to find out as much as possible on how you solved the problem :)

I myself am struggling with installing a plugin too! This post has been quite insightful so far.

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

Help with getting a Local notification plugin working.

Hey Yan,
No worries. The issue I had was no error building the APK and then no notification. When I used Logcat via ADB (or is it ABD....always get that mixed up) there was a note about no notification. Turned out in one of the config files, can't remember which one (was too excited to have got it working) there was an extra n at the end of a LocalNotification word! (silly, silly mistake and annoying to find).

Look carefully over all your addition to files.

I am wondering if the easiest thing (I do want to write this up eventually but for now) is to recreate the base project in the Appery.io version and make a backup avaliable.

Appery.io staff: Is there any reason not to share the work that way? (Licensing on your part, doesn't pull the plugin, etc, etc) and/or is there a better way to capture the ability to add the Local notification plugin stuff that can make it addable to any project easier?

I am such a novice in this, but it seemed to me that a bit of the extra hard work is doing things to pull the plugin into the project that in an eclipse based phonegap project are pretty much done automatically for you (please correct me if I am wrong). If this is right, have you (appery.io) considered if there is a way to mimic the way that system works into the appery.io framework? I could understand it probably isn't a priority, but thought I would ask.

Lastly (and this is getting rambly ;-) ) as I say, I think these plugin projects have clues to how to add them and what text to use where. I would love, time permitting to try to do a second plugin and if I can confirm that my thoughts are right, possibly write up a cheat sheet/hint sheet on what to look for in the plugins stuff to move it across.

Thanks again for everyones help.

PS. Is there a way to add files to these forums or would I have to make it available in other ways (i.e. Google Drive, dropbox, etc)?

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

Help with getting a Local notification plugin working.

Hello Mollyfud!

[quote:]is there a better way to capture the ability to add the Local notification plugin stuff that can make it addable to any project easier[/quote]no

[quote:]if there is a way to mimic the way that system works into the appery.io framework[/quote]it's something we might consider adding it in the future

[quote:]Is there a way to add files to these forums or would I have to make it available in other ways (i.e. Google Drive, dropbox, etc)?[/quote]you would need to use other ways.

Yan Yi
Posts: 0
Joined: Sat Jan 25, 2014 7:38 pm

Help with getting a Local notification plugin working.

Thanks for your quick response! I think one easy way to upload files would be to use a public link on dropbox/google drive like you said :)

And yes, installing external plugins to cordova/phonegap projects is a breeze - you just need to type some commands into the command line and it is done automatically!

I tried using Logcat too, but it seems now you need to gain root access to your phone in order to utilize it? May I ask, how did you get your logcat up and running?

thanks!

Return to “Issues”