Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to make a custom private plugin in 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?

like image 244
Alok Agarwal Avatar asked Sep 06 '13 11:09

Alok Agarwal


2 Answers

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

like image 152
dparnas Avatar answered Nov 17 '22 06:11

dparnas


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.

like image 31
Dom Avatar answered Nov 17 '22 04:11

Dom