cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sergey Grebnov (Akvelon)" <>
Subject RE: Proposal: hooks support for plugins
Date Fri, 11 Jul 2014 07:42:58 GMT
Updated docs[1] as per review. Looking forward to community feedback regarding:
1 . Idea of defining hook scripts via config.xml and plugin.xml
2. New Script Interface for .js files (not used for /hooks scripts for backward compatibility)


-----Original Message-----
From: Shazron [] 
Sent: Wednesday, July 9, 2014 9:26 PM
Subject: Re: Proposal: hooks support for plugins

Ah ok. However I think since it is effectively deprecated we should not advertise the old
way as a supported way to do things but add another section saying that support for "./cordova/hooks"
may be removed in the future, and perhaps give a timeline for removal.

On Wed, Jul 9, 2014 at 10:15 AM, Josh Soref <> wrote:
> Shazron wrote:‎
>> from the Cordova Hooks doc:
>> "This directory used to exist at .cordova/hooks, but has now been 
>> moved to the project root."
>> -> doesn't this imply that .cordova/hooks
>> does not work anymore, you should use hooks/ ?‎
> I believe it's supported for backwards compatibility (just as 
> www/config.xml is) ‎
View raw message