How to edit and add Cordova plugins with Plugman

Source: Internet
Author: User
1, installation tool into Nodejs, installation tool Plugman, management plug-in, input command NPM install-g plugman wait for download installation 2, use the Plugman command to generate the plugin framework cmd into the empty directory used to generate the plug-in framework, Enter Plugman Create--name <pluginName>--plugin_id <pluginID>--plugin_version 0.0.13, add Android station for the generated plug-in Plugman Platform Add-platform_name Android4, modify the build plugin Android platform package name information, suitable for Android format, For example, change the Cordova-plugin-hsutil to Com.compony.projectname.plugin to include Java files and PLUGIN.XML5 in the Android platform, Java files in the edit plugin 6, Import the plugin into Cordova Cordova plugin add path-to add for example Cordova plugin add: /.. /PLUGMANDIR/PLUGDIR7, use Plugin8, edit plugin after you need to reload, you can remove plugin and add, delete command Cordova plugin RM Plugin-id

How to edit and add Cordova plugins with Plugman

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.