You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cordova.apache.org by Erik Jan de Wit <ed...@redhat.com> on 2013/11/20 11:26:57 UTC
library use in plugins
Hi,
I'm a member of the AeroGear team and we have created a number of plugins that enable the use of our native libs for cordova development. Now the question is how to use libraries with a plugin. Right now our iOS projects use cocaopods, I think is the most ideal way as this is just a source dependency like the plugin dependency. Only downside to this approach is that it requires to execute a pod install after plugin installation. More problems are with android, right now we've used a jar file and put it in the plugin.xml as a source with target lib.
Are there alternatives to use libraries in a plugin? And if not are there plans to create some support for this, and what about phonegap build, we would like to post our plugins there as well.
Looking forward to your thoughts,
Erik Jan
Re: library use in plugins
Posted by Shazron <sh...@gmail.com>.
See my plugin as well (deep linked in the SO link provided by Dan Moore):
https://github.com/shazron/TestFlightPlugin/blob/master/plugin.xml#L35
On Wed, Nov 20, 2013 at 6:44 AM, Dan Moore <mo...@yahoo.com> wrote:
> Hi Erik,
>
> Here is a stackoverflow question that might address some of your concerns,
> at least around ios frameworks:
>
>
> http://stackoverflow.com/questions/19803542/how-to-add-a-third-party-framework-to-a-cordova-3-0-custom-plugin/20026559#20026559
>
> Dan
>
>
Re: library use in plugins
Posted by Dan Moore <mo...@yahoo.com>.
Hi Erik,
Here is a stackoverflow question that might address some of your concerns, at least around ios frameworks:
http://stackoverflow.com/questions/19803542/how-to-add-a-third-party-framework-to-a-cordova-3-0-custom-plugin/20026559#20026559
Dan