cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Carlos Santana <csantan...@gmail.com>
Subject Re: Problems Bundling Large BIN files with a Plugin
Date Thu, 22 Jan 2015 18:56:32 GMT
Take a look at Cordova Hooks [1], you can use the "after_plugin_install" to
run any logic you want for your plugin
You can define the plugin hook in "plugin.xml" and the hook can be a nodejs
script

[1]
https://github.com/apache/cordova-lib/blob/master/cordova-lib/templates/hooks-README.md


On Wed, Jan 21, 2015 at 5:56 PM, Lyle Pratt <lylepratt@gmail.com> wrote:

> Howdy!
>
> I am running into an issue bundling large BIN files needed in a plugin.
> Mainly the problem is that Github (and most other public GIT repositories)
> have file size limits. It really seems like there should be a way to link
> to an externally hosted file in the plugin.xml, or to AT LEAST be able to
> bundle a post-install script that is run after the plugin installs.
> Thoughts?
>
> P.S. Specifically, I'm trying to bundle the WebRTC iOS BINs which are very
> large!
>
> Thanks,
> Lyle
>



-- 
Carlos Santana
<csantana23@gmail.com>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message