cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jonathan Bond-Caron <jbo...@gdesolutions.com>
Subject RE: Proposal: hooks support for plugins
Date Wed, 05 Mar 2014 20:48:31 GMT
On Wed Mar 5 02:54 PM, Jesse wrote:
> I am a no to passing arguments, the use-case is really about doing some
> extra
> tasks for the current environment.
> 

Not necessarily:
https://github.com/apache/cordova-plugin-console/blob/master/www/logger.js#L48

cordova plugin add cordova-plugin-console --use-console true (preinstall script tries to keep
console.log on platforms where it exists)

It's also about options to support different workflows.

For sqlite (which would be awesome btw), it's also enabling/disabling default compile options:
https://sqlite.org/compile.html

I'm not saying this can be done short term or that the extra complexity is worth it but should
consider looking into it...


Mime
View raw message