18 Commits

Author SHA1 Message Date
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
f3a5c16530 fix(android): application fallback for startActivity (#10062) 2022-11-07 08:28:09 -08:00
58a720699f fix(core): android wrong background state + current value accessors (#9883) 2022-07-09 09:02:45 -07:00
7ff7233737 feat(core): maxLines support for all text components (#9884) 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
b292495506 feat(ios): allow dynamic ProMotion frame refresh rate changes (#9775)
see: https://developer.apple.com/documentation/quartzcore/optimizing_promotion_refresh_rates_for_iphone_13_pro_and_ipad_pro
2022-03-01 12:32:39 -08:00
6c06c77618 fix(core): Application handling of nativeApp instance 2022-03-01 12:32:39 -08:00
f10cffcb02 fix: ensure android can access native app instance before bootstrap 2022-03-01 12:32:39 -08:00
a518249958 fix: application instance creation occurs only within Application.run 2022-03-01 12:32:38 -08:00
f053001dc1 feat(android): provide ability to get registered broadCastReceiver (#9467) 2021-07-12 11:35:26 -07:00
0d4ccba60a chore: combine prettier with eslint (#9348) (#9360)
Co-authored-by: Martin Guillon <martin.guillon@akylas.fr>
2021-05-02 10:11:37 -07:00
d5a8a25aba feat(core): first class a11y support (#8909) 2021-04-06 11:18:36 -07:00
bd7c686aaf feat(core): allow app to start without a root view (#9056) 2020-11-19 17:02:32 -08:00
c1f231d88e chore: fix eslint issues (#9017) 2020-11-11 08:46:36 -08:00
2243660080 feat(core): TypeScript 4 + cleanup (#8967) 2020-10-19 09:28:05 -07:00
03f1f3d5f5 chore: format and fix ci build 2020-09-25 15:58:39 -07:00
020ad4da37 chore(core): monorepo, esm targeting, improved management (#8707) 2020-08-25 20:00:59 -07:00