farfromrefuge e17e46974b feat(android): fragment transactions to use 'add' instead of 'replace' on fwd navigation (#8791)
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
2021-09-08 16:07:39 -07:00
2021-04-12 09:54:30 -07:00
2021-03-02 19:52:38 -08:00
2020-10-25 18:28:05 -07:00
2021-05-27 16:42:00 -07:00
2021-05-27 18:31:17 -07:00
2021-03-02 20:23:04 -08:00
2021-09-06 12:53:55 -07:00

NativeScript

Build Status

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/*

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
    • 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 runtime — 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.

License

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.
Readme MIT 263 MiB
Languages
TypeScript 85.1%
Java 10.4%
Objective-C 2.3%
JavaScript 0.8%
CSS 0.7%
Other 0.6%