6 Commits

Author SHA1 Message Date
82e9c67d33 feat(core): initRootView event (#10442)
launchEvent is not triggered at the same moment on iOS and Android. 
iOS is firing after setting the rootView while Android is firing before.
Consequently if you need an event for when the rootView is set (to read/write root css variables) you need this event.

[skip ci]
2023-11-25 11:04:01 -08:00
c278430240 fix(core): unhandled error typings (#10320)
NativeScriptError type def used to come from packages/core/global-types.d.ts now comes from packages/core/application/application-interfaces.ts, so fixed there now.
2023-06-22 12:19:56 -07:00
f64355ba7a refactor: improved core barrel exports and Application class (#10286)
BREAKING CHANGES:

`Application.orientation` is no longer a function.

Migration: Remove `()` from the `Application.orientation()` call:
```diff
import { Application } from "@nativescript/core";

-console.log(Application.orientation());
+console.log(Application.orientation);
```


`Application.systemAppearance` is no longer a function.

Migration: Remove `()` from the `Application.systemAppearance()` call:
```diff
import { Application } from "@nativescript/core";

-console.log(Application.systemAppearance());
+console.log(Application.systemAppearance);
```
2023-05-25 07:45:39 -07:00
485fb61947 fix(core): Observable event types consistency (#10181) 2023-01-31 07:42:09 -08:00
bd7c686aaf feat(core): allow app to start without a root view (#9056) 2020-11-19 17:02:32 -08:00
020ad4da37 chore(core): monorepo, esm targeting, improved management (#8707) 2020-08-25 20:00:59 -07:00