LocalNotifications icon indicating copy to clipboard operation
LocalNotifications copied to clipboard

Make it work with latest cordova-cli

Open rjmunro opened this issue 12 years ago • 6 comments

A bunch of changes I needed to get this to work with my cordova-cli project, based on cordova 2.8.

rjmunro avatar Jun 19 '13 17:06 rjmunro

Thanks for posting this. I didn't see it until today, but will merge it in asap.

olore avatar Jul 09 '13 18:07 olore

any update

shaks786 avatar Jul 18 '13 14:07 shaks786

I'm still working on this in my fork - I need it for 2 different projects where I work. I'm struggling to figure out the best way to avoid the changes to AppDelegate. With cordova cli, which will ship with Cordova 3 starting tomorrow, AppDelegate can get regenerated back to it's original state, so requiring a manual change is a big no-no. See http://stackoverflow.com/q/17658160/3408 if you have any ideas.

rjmunro avatar Jul 18 '13 15:07 rjmunro

I haven't had a chance to try this out. @rjmunro - it sounds like you are still working on this? Should I wait to merge or is this still good?

olore avatar Jul 20 '13 02:07 olore

This is still good, but I am working on more.

Currently, Android isn't working for me - I get a notification, but when I select it, I am not returned to the app.

I also have a branch where I am working on avoiding changes to AppDelegate.m for iOS.

rjmunro avatar Jul 22 '13 10:07 rjmunro

stackoverflow.com/questions/13720071/cordova-local-notification-android-plugin-2-2-upgrade/

@rjmunro Had the same problem on android. A couple of solutions to this described in the above link - however the only one that worked for me so far was explicitely creating the intent using the actual internal name (like com.changeit.killerapp) of my app - which is suboptimal and i don't get why it isn't be able to grab that from the context when i tried like desribed.

Philzen avatar Oct 02 '13 00:10 Philzen