Skip to content
NativeScript is an open source framework for building truly native mobile apps with JavaScript. Use web skills, like Angular and Vue.js, FlexBox and CSS, and get native UI and performance on iOS and Android.
TypeScript Java JavaScript CSS Objective-C Shell
Branch: master
Clone or download

Latest commit

DimitrisRK and dimitrisdnr feat(android): Implementing 'onBackPressed' for frame-root (#8634)
Useful for meddling with tab-navigated apps.

Co-authored-by: Dimitris - Rafail Katsampas <katsampasdr@gmail.com>
Latest commit c73952f Jun 13, 2020

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github chore: unify issue templates (#6350) Oct 5, 2018
.vscode tests: fix private nativescript-dev-webpack API usage (#8124) Nov 21, 2019
api-reports feat: setProperty on Observable (#8521) Apr 14, 2020
apps feat(bundle): support for file qualifiers + builder refactor (#7386) Jun 26, 2019
build Release to master (#8382) Feb 26, 2020
e2e fix(text-base): letter spacing for textfield (#8627) Jun 10, 2020
nativescript-core feat(android): Implementing 'onBackPressed' for frame-root (#8634) Jun 13, 2020
tests docs: Fix simple typo, coresponding -> corresponding (#8504) Apr 7, 2020
tns-core-modules-package chore(release): cut 6.5.5 release Jun 10, 2020
tns-core-modules-widgets chore(release): cut 6.5.5 release Jun 10, 2020
tns-platform-declarations chore(release): cut 6.5.5 release Jun 10, 2020
unit-tests fix: the css parser should handle empty nodes (#8503) Apr 6, 2020
.ackrc Add an ackrc for easier searching Feb 24, 2016
.ctags_exclude (chore) Exclude platform d.ts files from ctags traversals. May 16, 2016
.gitattributes Use LF for shell scripts (#5374) Feb 5, 2018
.gitignore chore: git ignore fix Mar 26, 2020
.travis.yml chore: add api-report check to travis (#8023) Oct 29, 2019
AUTHORS Update AUTHORS Apr 10, 2020
CHANGELOG.md chore(release): cut 6.5.5 release Jun 10, 2020
CODE_OF_CONDUCT.md update LICENSE and CODE_OF_CONDUCT.md (#111) Jan 26, 2018
CONTRIBUTING.md docs: fix codeblocks (#8173) Dec 6, 2019
CodingConvention.md updating broken links (#7280) Jun 3, 2019
CreateNewModule.md Add CONTRIBUTING.md and update guides (#4511) Jul 6, 2017
DevelopmentWorkflow.md feat: Scoped Packages (#7911) Oct 16, 2019
HandlingErrors.md feat: Flexible Error/Exception handling (#5929) Jun 18, 2018
LICENSE chore: update community files (#6763) Jan 7, 2019
Modules30Changes.md docs: fix typo (#8301) Feb 5, 2020
PULL_REQUEST_TESTS.md Add widgets comment message description Feb 27, 2017
README.md chore: update readme Jun 6, 2020
WritingUnitTests.md feat: bundle workflow support (#7337) Jun 20, 2019
api-extractor.json feat: Scoped Packages (#7911) Oct 16, 2019
build-docs.sh Fixing API REF build script - docs (#8043) Oct 31, 2019
merge-guidance-schema.png docs: update changelog (#7004) Mar 12, 2019
package.json chore(release): cut 6.5.5 release Jun 10, 2020
release-contribution-guide-schema.png docs: update changelog (#7004) Mar 12, 2019
tsconfig.json feat: Scoped Packages (#7911) Oct 16, 2019
tsconfig.tslint.json feat: Scoped Packages (#7911) Oct 16, 2019
tsconfig.typedoc.json feat: Scoped Packages (#7911) Oct 16, 2019

README.md

NativeScript Build Status

NativeScript logo

NativeScript is a framework for building native iOS and Android apps using JavaScript and CSS. NativeScript renders UIs with the native platform’s rendering engine, no WebViews, resulting in native-like performance and UX.

NativeScript provides a best-of-both-worlds development experience. Our cross-platform JavaScript modules give you the convenience of writing iOS and Android apps from a single JavaScript codebase, while our runtimes give you the power of accessing native APIs, SDKs, and frameworks when you need all of them without having to open Xcode or Android Studio. NativeScript was created and is supported by Telerik.

Check out the links below to get started:

IMPORTANT: NativeScript is an inclusive community, and we expect all NativeScript community members, users, and contributors to treat each other respectfully. As such, all users of this repository must adhere to the NativeScript community code of conduct.

For CTOs

Making the right technology choices is the key to success. Our CTO’s guide to NativeScript helps you understand why NativeScript is the right choice for your next mobile project.

Getting Started and Installation

Our Getting Started Guides are hands-on tutorials that walk you through installing NativeScript and building a real iOS and Android application.

NativeScript architecture diagram

Below is a common NativeScript architecture diagram. In more detail, read the How NativeScript Works article.

Architecture diagram

Quick Links

Repositories

The NativeScript framework consists of a number of components, all of which are open source and on GitHub. Here are the major ones:

  • Cross-platform modules npm
    • This repo contains the NativeScript cross-platform modules, which abstract iOS and Android APIs into JavaScript APIs—e.g. camera.takePicture(). The modules are written in TypeScript.
  • iOS runtime npm
    • This repo contains the NativeScript iOS runtime—the code that hosts NativeScript iOS apps, and allows JavaScript code to be executed on iOS devices. The iOS runtime is written in a fun mix of C++, Objective-C, and more.
  • Android runtime npm
    • This repo contains the NativeScript Android—the code that hosts NativeScript Android apps, and allows JavaScript code to be executed on Android devices. The Android runtime is written in a fun mix of C++ and Java.
  • CLI npm
    • This repo contains the NativeScript command-line interface, which lets you create, build, and run apps using the NativeScript framework. The CLI is written in TypeScript.
  • Docs Docs
    • This repo contains the NativeScript framework documentation, which is available at http://docs.nativescript.org/. The docs are written in Markdown.

In addition to the code that makes up the NativeScript framework itself, we also provide a number of open-source sample apps that you can reference while building your NativeScript application.

Contributing

We love PRs, and accept them for all of our repositories — even docs! Please follow our contribution guide if you want to become part of the project.

Angular

We worked together with the Google Angular team to make Angular 2+ work on top of NativeScript. To use Angular with NativeScript please follow the getting started article.

Get Help

Please, use github issues strictly for reporting a bugs or requesting features. For general NativeScript questions and support, check out Stack Overflow or ask our experts in NativeScript community Slack channel.

You can’t perform that action at this time.