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)

[1]https://github.com/apache/cordova-lib/pull/55
[2] 
https://github.com/MSOpenTech/cordova-lib/blob/CB-6481-hooks/cordova-lib/templates/hooks-README.md#script-interface
 

Thx!
Sergey
-----Original Message-----
From: Shazron [mailto:shaz...@gmail.com] 
Sent: Wednesday, July 9, 2014 9:26 PM
To: dev@cordova.apache.org
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 <jso...@blackberry.com> 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) ‎

Reply via email to