Book Image

JavaScript Mobile Application Development

Book Image

JavaScript Mobile Application Development

Overview of this book

Table of Contents (15 chapters)
JavaScript Mobile Application Development
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Publishing our plugin to Cordova Registry


After completing our plugin implementation, we can publish our SMS plugin to the Apache Cordova Registry. Before publishing our custom SMS plugin, let's revise our final SMS plugin structure. The following screenshot shows the final structure of our custom SMS plugin:

Hierarchy of our final plugin structure

As shown in the preceding screenshot, the final structure has the following main additions:

  • A new wp8 directory under the src directory; it has our wp8 plugin implementation

  • A markdown README.md file that explains the purpose of the plugin and an example of its usage

Now, after understanding the final structure of our custom SMS plugin, we can now publish our plugin to the Apache Cordova Registry. In order to do this, just execute the following plugman publish command specifying our SMS plugin directory:

> plugman publish sms

After executing this command successfully, you will be notified that our [email protected] plugin has been published...