How to make a custom private plugin in phonegap

2019-04-20 06:03发布

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?

2条回答
姐就是有狂的资本
2楼-- · 2019-04-20 06:45

For Phonegap Build, at this time there is not a method to create a private plugin. See this article:

Any plugins added to our system right now will be accessible to all PhoneGap Build users; there may be other mechanisms for PhoneGap Build plugin usage in the future.

查看更多
仙女界的扛把子
3楼-- · 2019-04-20 06:58

As of 9.Decemeber 2014, it's now possible to use custom private plugins in Phonegap build.

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:

"Can I use PhoneGap Build with a private Github repository?

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."

查看更多
登录 后发表回答