15 Commits

Author SHA1 Message Date
7f09b925bd fix(Application): orientation & systemAppearance root classes 2023-06-19 21:43:08 +02:00
e430555cb2 fix(Application): inBackground handling & missing once (#10307) 2023-06-14 13:09:41 -07:00
ab5fa941bc refactor: Application barrel changes without breaking changes (#10311) 2023-06-13 09:29:39 -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
58a720699f fix(core): android wrong background state + current value accessors (#9883) 2022-07-09 09:02:45 -07:00
b553a900d7 feat: background/foreground events (#9763)
On android `suspend/resume` was not doing what was expected.
In particular it was called while showing dialogs. This adds new `background` and `foreground` events which will fire expectedly and consistently for ios and android.
2022-03-01 12:32:39 -08:00
21da31562c chore: Enums > CoreTypes
Cleanup type symbol usage by consolidating to manage in one spot. This makes them easier to use as well by providing a single rollup of all the common type symbol's used throughout core.
2021-04-06 11:18:36 -07:00
d88cef3b48 chore: message handling 2021-04-06 11:18:36 -07:00
2f81d606fc chore: silence unnecessary throw message 2021-04-06 11:18:36 -07:00
d5a8a25aba feat(core): first class a11y support (#8909) 2021-04-06 11:18:36 -07:00
c1f231d88e chore: fix eslint issues (#9017) 2020-11-11 08:46:36 -08:00
1f790edc80 fix(core): bundle entry points and global handling (#8884) 2020-09-23 14:48:19 -07:00
5286adf081 feat(core): boolean to disable systemAppearanceChanged (theme) (#8827) 2020-09-08 23:16:42 -07:00
020ad4da37 chore(core): monorepo, esm targeting, improved management (#8707) 2020-08-25 20:00:59 -07:00