问题描述
有没有办法实现这一点?在任何地方,我看到贡献的插件开发或使用现有的插件(它们是公共的)。我想要一个私人插件。这可能吗?我知道,通过eclipse(对于android)我可以做到这一点。但无论如何,使用phonegap构建过程这样做,以便我可以利用使用phonegap构建的其他优势吗?
Is there any way to achieve this? Everywhere I see contributing to plugin development or making use of an existing plugin (which are public). I would like to make a private plugin. Is this possible? I'm aware that through eclipse (for android) I can do this. But anyway to do this using phonegap build process so that I can make use of other advantages of using phonegap build?
推荐答案
从9.Decemeber 2014,现在可以在Phonegap构建中使用自定义私人插件。
As of 9.Decemeber 2014, it's now possible to use custom private plugins in Phonegap build.
从2016年第二季度起,私有插件似乎需要一个私有的Github仓库。
以下内容在常见问题解答中说明:
From Q2 2016 the private plugins appear to require a private Github repository.The following is stated in the FAQ https://build.phonegap.com/faq:
我可以在私有Github存储库中使用PhoneGap Build吗?
"Can I use PhoneGap Build with a private Github repository?
到PhoneGap Build,您现在可以将服务指向一个私人GitHub存储库。一旦您的Build帐户在用户设置中连接到您的GitHub帐户,您只需提供您的身份验证信息,并且Build服务在创建代码的新构建时使用它。
Yes! As of the most recent update to PhoneGap Build, you can now point the service at a private GitHub repository. Once your Build account is connected to your GitHub account in the user settings, you simply provide your authentication information and the Build service uses it when creating new builds of your code."
这篇关于如何使一个自定义私人插件在phonegap的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!