Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Events
Videos
Audiobooks
Packt Hub
Free Learning
Arrow right icon
timer SALE ENDS IN
0 Days
:
00 Hours
:
00 Minutes
:
00 Seconds
Arrow up icon
GO TO TOP
JavaScript Mobile Application Development

You're reading from   JavaScript Mobile Application Development Create neat cross-platform mobile apps using Apache Cordova and jQuery Mobile

Arrow left icon
Product type Paperback
Published in Oct 2014
Publisher
ISBN-13 9781783554171
Length 332 pages
Edition 1st Edition
Languages
Arrow right icon
Author (1):
Arrow left icon
Hazem Saleh Hazem Saleh
Author Profile Icon Hazem Saleh
Hazem Saleh
Arrow right icon
View More author details
Toc

Table of Contents (10) Chapters Close

Preface 1. An Introduction to Apache Cordova FREE CHAPTER 2. Developing Your First Cordova Application 3. Apache Cordova Development Tools 4. Cordova API in Action 5. Diving Deeper into the Cordova API 6. Developing Custom Cordova Plugins 7. Unit Testing the Cordova App's Logic 8. Applying it All – the Mega App 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 com.jsmobile.plugins.sms@0.0.1 plugin has been published...

lock icon The rest of the chapter is locked
CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
JavaScript Mobile Application Development
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €18.99/month. Cancel anytime
Modal Close icon
Modal Close icon