Phonegap plugins work in CLI?

Are Phonegap plugins supported in the CLI, or only in an online build on the telephone network? If yes, please tell me how to integrate the splashscreen plugin correctly in the phonebook 3.3.

Thanks!

+1
cordova cordova-plugins phonegap-plugins cordova-3
source share
2 answers

Yes, plugins work locally, not just in PhoneGap Build.

To install a new plugin (e.g. Splashscreen plugin), do:

cordova plugin add https://git-wip-us.apache.org/repos/asf/cordova-plugin-splashscreen.git 

The implementation works the same as PhoneGap Build - see the documentation.

0
source share

From Cordoba 3.3, the right call is as follows:

 cordova plugin add org.apache.cordova.splashscreen 

Keep in mind to use cordova cli not phonegap, phonegap uses cordova, but the focus is on making phone calls, however it still allows you to do local things without assembling.

0
source share

All Articles