0% found this document useful (0 votes)
47 views

Cross Platform Mobile App Development - How Nativescript Works

NativeScript is how you build cross-platform, native iOS and Android apps without web views. Use Angular, TypeScript or modern JavaScript to get truly native UI and performance while reusing the skills and the code from your web projects. Get 100% access to native APIs via JavaScript and reuse of packages from npm, CocoaPods and Gradle. Open source and backed by Progress.

Uploaded by

smd
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
47 views

Cross Platform Mobile App Development - How Nativescript Works

NativeScript is how you build cross-platform, native iOS and Android apps without web views. Use Angular, TypeScript or modern JavaScript to get truly native UI and performance while reusing the skills and the code from your web projects. Get 100% access to native APIs via JavaScript and reuse of packages from npm, CocoaPods and Gradle. Open source and backed by Progress.

Uploaded by

smd
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

Technical Overview - NativeScript Docs 23/03/2021, 12:26 PM

NativeScript CoreFramework ! Looking for... Tools


Developers Support Blogs ! Get Started Current Version 7.x
< ALL FLAVORS

CORE CONCEPTS / Technical Overview


GET STARTED
IN THIS ARTICLE
CORE CONCEPTS

Technical Overview
How NativeScript Works Runtimes
Modules The NativeScript technology can be presented as built upon several Core Modules
Application Architecture major parts - Runtimes, Core Modules, CLI, Plugins. Consider the
NativeScript CLI
following diagram:
Application Lifecycle
NativeScript Plugins
Navigation
Nested Navigation
Not !nding the help you need?
Data Binding

Events
Ask the community
Using Plugins
Accessing Native APIs
Through JavaScript ! Improve this article

Metadata

Memory Management

Multithreading Model
Property System

Utils
CommonJS Modules In
NativeScript Apps

Project Structure
Error Handling
Runtimes
Android Runtime
The runtimes enable you to call APIs in the Android and iOS
IOS Runtime frameworks using JavaScript code. To do that they use JavaScript Virtual
Machines - Google’s V8 for Android and WebKit’s JavaScriptCore
USER INTERFACE implementation distributed with iOS 7.0+. Find more information in
Android Runtime Overview and iOS Runtime Overview.
TOOLING

PLUGINS DEVELOPMENT
Core Modules
RELEASES
The Core Modules are there to provide the abstractions needed to
APP TEMPLATES access the underlying native platforms. Take the Gestures module for
example. It de!nes a common JS API that translates application
PERFORMANCE OPTIMIZATIONS TypeScript/JavaScript code into native gestures APIs calls (thanks to the
Runtimes).
FRAMEWORK MODULES
Another thing the Core Modules provide is a basic XML-based way for
GUIDES de!ning UI, data-binding and navigation. Along with it, Angular and
Vue.js can be used as Application Framework technologies. Read more
GET SUPPORT in the Modules documentation.

TROUBLESHOOTING

NativeScript CLI
It is the command-line interface that lets you create, build, and run

https://docs.nativescript.org/core-concepts/technical-overview Page 1 of 2
Technical Overview - NativeScript Docs 23/03/2021, 12:26 PM

apps using NativeScript. The CLI runs on Windows, macOS or Linux, and
you can !nd more information in the NativeScript CLI repo.

NativeScript Plugins
The NativeScript plugins are building blocks that encapsulate some
functionality and help developers build apps faster (just like the
NativeScript Core Modules, which is a plugin). Most are community-
built, written in TypeScript/JavaScript. Some can include native libraries,
which are called from the TS/JS code thanks to the Runtimes. You can
!nd more information in the Plugins documentation.

If you see an area for improvement or have an idea for a new feature, we'd love to have your help! Contribute

FRAMEWORK DEVELOPERS TOOLS SUPPORT

Docs Playground CLI Stack Over"ow

Angular Integration Code Samples VS Code Plugin FAQs

Vue.js Integration Books & Videos Plugins Slack

Customer Showcases App Templates NativeScript UI Preferred Partners

Roadmap & Release Notes GitHub Contact Us

Blog Community

NativeScript is licensed under the Apache 2.0 license. © 2021 All Rights Reserved.

Is this article helpful? Yes /"No

https://docs.nativescript.org/core-concepts/technical-overview Page 2 of 2

You might also like