mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
e17e46974b92143f3a1c0a23a94190bff31c735b
Changes the behavior of android fragment transactions to use `add` instead of `replace` on forward navigation. BREAKING CHANGE: Changes the internal behavior of Android navigation: * while navigating forward, the page navigated from is not unloaded anymore * events order is changed in the sense that now `unloaded` happens after `navigatedFrom` instead of before There are multiple plus sides to this: * no more black views on navigation when using opengl (maps, ...) * navigation is faster, especially the navigation back! No longer need to recreate the page anymore. Navigation forward also gets faster as we no longer unload the previous page * navigatedFrom event happens faster * this the default behavior used by most of the android native apps
NativeScript empowers you to access native APIs from JavaScript directly. The framework currently provides iOS and Android runtimes for rich mobile development and can be utilized in a number of diverse use cases.
Setup and Installation
Contribute
$ git clone https://github.com/NativeScript/NativeScript.git
$ cd NativeScript
# setup workspace for development
$ npm run setup
# list all available commands to run
$ npm start
We love you and your PR's 🤗. Please follow our contributing guide and see our code of governance to become as involved as you want to be.
@nativescript/*
- @nativescript/core
- Core iOS/Android for NativeScript
- @nativescript/types
- Types for both iOS/Android below wrapped up as a convenience. Most commonly used.
- @nativescript/types-ios
- Types for iOS
- @nativescript/types-android
- Types for Android
- @nativescript/ui-mobile-base
- UI mobile base native classes used by core
- @nativescript/webpack
- Webpack build utilities and configs used by NativeScript apps
Quick Links
- NativeScript home page
- NativeScript playground
- NativeScript and Angular
- NativeScript on Twitter
- NativeScript on Stack Overflow
- NativeScript documentation
Other source repos
Outside of the source centralized in this repo, NativeScript consists of a few other source repos. Here are the major ones:
- iOS runtime
- Android runtime
- CLI
- Docs
- This repo contains the NativeScript framework documentation, which is available at http://docs.nativescript.org/. The docs are written in Markdown.
License
Made with ❤️
Description
⚡ Empowering JavaScript with native platform APIs. ✨ Best of all worlds (TypeScript, Swift, Objective C, Kotlin, Java, Dart). Use what you love ❤️ Angular, React, Solid, Svelte, Vue with: iOS (UIKit, SwiftUI), Android (View, Jetpack Compose), Dart (Flutter) and you name it compatible.
androidangularcapacitorcross-platformflutteriosjavajavascriptkotlinnativescriptobjective-creactsolidjssvelteswiftswiftuitypescriptvisionosvisionprovue
Readme
MIT
263 MiB
Languages
TypeScript
85.1%
Java
10.4%
Objective-C
2.3%
JavaScript
0.8%
CSS
0.7%
Other
0.6%