Book Image

NativeScript for Angular Mobile Development

By : Nathan Walker, Nathanael J. Anderson
Book Image

NativeScript for Angular Mobile Development

By: Nathan Walker, Nathanael J. Anderson

Overview of this book

NativeScript is an open source framework that is built by Progress in order to build truly native mobile apps with TypeScript, JavaScript or just Angular which is an open source framework built by Google that offers declarative templates, dependency injection, and fully featured modules to build rich applications. Angular’s versatile view handling architecture allows your views to be rendered as highly performant UI components native to iOS and Android mobile platforms. This decoupling of the view rendering layer in Angular combined with the power of native APIs with NativeScript have together created the powerful and exciting technology stack of NativeScript for Angular. This book focuses on the key concepts that you will need to know to build a NativeScript for Angular mobile app for iOS and Android. We’ll build a fun multitrack recording studio app, touching on powerful key concepts from both technologies that you may need to know when you start building an app of your own. The structure of the book takes the reader from a void to a deployed app on both the App Store and Google Play, serving as a reference guide and valuable tips/tricks handbook. By the end of this book, you’ll know majority of key concepts needed to build a successful NativeScript for Angular app.
Table of Contents (24 chapters)
Title Page
Credits
Foreword
About the Authors
About the Reviewer
www.PacktPub.com
Customer Feedback
Preface
13
Integration Testing with Appium

Back in command


Now that we've taken took a side trip to deal with Android keystores, we will dive deeper into more of the tns commands that you only use occasionally here and there. The first of these is the tns plugin.

The tns plugin command

This one is actually quite important, but it is only used when you want to deal with plugins. The most common version of this command is just tns plugin add <name>. So, for example, if you want to install a plugin called NativeScript-Dom, you will perform tns plugin add nativescript-dom, and it will automatically install the code for this plugin to be used in your application.  To remove this plugin, you would type tns plugin remove nativescript-dom. We also have tns plugin update nativescript-dom to remove the plugin and download and install the newest version of the plugin. Finally, running tns plugin alone will give you a list of plugins and their versions that you have installed:

However, to be honest, if I need this information I'm looking...