We discussed this previously: Enhancing the plugin lifecycle for iOS: http://markmail.org/thread/ecakmzk37vey4kf6
Plugin loading - on startup and on demand: http://markmail.org/thread/hq2rd5lobbl4nkav http://issues.cordova.io/1693 We will need to expand on that, to support other application delegate overrides, in this case didReceiveLocalNotification: On Wed, Nov 28, 2012 at 10:43 PM, Brian LeRoux <[email protected]> wrote: > would this not be an indication that we need to modify the plugin api? > (code munging would be a bad code smell for a pluggable architecture > imo) > > On Thu, Nov 29, 2012 at 5:41 AM, Anis KADRI <[email protected]> wrote: > > It requires some code to be appended in the AppDelegate.m which the > plugin > > specification does not support at this time but I added an issue to > support > > that. > > > > > > On Wed, Nov 28, 2012 at 2:14 PM, Anis KADRI <[email protected]> > wrote: > > > >> I will get on that if I have time this afternoon! > >> > >> > >> On Wed, Nov 28, 2012 at 9:33 AM, Brian LeRoux <[email protected]> wrote: > >> > >>> this is sweet --- should get it working w/ plugin-install [1] and/or > >>> cordova-client [2] > >>> > >>> [1] https:////github.com/imhotep/pluginstall > >>> [2] https://github.com/filmaj/cordova-client > >>> > >>> On Tue, Nov 27, 2012 at 7:56 PM, Michal Mocny <[email protected]> > >>> wrote: > >>> > Thanks! > >>> > > >>> > On Tue, Nov 27, 2012 at 2:47 PM, Shazron <[email protected]> wrote: > >>> >> Just tested it out, looks great! One thing I noticed though -- the > >>> function > >>> >> signatures don't match between .h and .m (the .m has the new > signature > >>> we > >>> >> should be using going forward). > >>> >> > >>> >> > >>> >> On Tue, Nov 27, 2012 at 9:00 AM, Michal Mocny <[email protected]> > >>> wrote: > >>> >> > >>> >>> Hi all, > >>> >>> > >>> >>> As promised, this is the first version of a w3c Web Notifications > >>> >>> implementation for iOS. > >>> >>> > >>> >>> > >>> >>> > >>> > https://github.com/mmocny/phonegap-plugins/tree/web_notifications/iOS/WebNotifications > >>> >>> > >>> >>> Example usage includes scheduling notifications in the resign event > >>> >>> (the bugfix to allow executing js, including further exec calls, > >>> >>> during that time was fixed earlier). > >>> >>> > >>> >>> Upcoming work: > >>> >>> - Android version (we already have a plugin that is very close to > >>> this) > >>> >>> - Improved scheduling (intervals, set date/time) > >>> >>> > >>> >>> The plugin needs more testing for when notifications fire while > app is > >>> >>> not running, so mileage may vary there. > >>> >>> > >>> >>> Let me know what you think! > >>> >>> > >>> >>> -Michal > >>> >>> > >>> > >> > >> >
