Commit Graph

16 Commits

Author SHA1 Message Date
Nathan Walker
c2ff8c1ae7 refactor(core): zero circulars + esm ready (#10770) 2025-09-18 17:03:23 -07:00
Nathan Walker
20fc1cc1d4 feat: apple view filtering (#10681)
[skip ci]
2025-01-29 16:56:54 -08:00
Dimitris-Rafail Katsampas
9fd361c2e6 feat(core): css media query support (#10530) 2024-07-01 09:28:59 -07:00
Nathan Walker
01d537bf15 feat(visionos): ui-mobile-base supporting xros plus improvements to window handling (#10478) 2024-04-05 17:07:16 -07:00
Nathan Walker
bbede5d795 feat(visionos): Vision Pro support (#10392) 2023-09-28 17:55:40 -07:00
Igor Randjelovic
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
Nathan Walker
71c42f3a19 revert: "fix(core/platform): fixed types for sdkVersion and osVersion" (#10270)
Revert "fix(core): sdkVersion and osVersion type adjustments (#10269)"

This reverts commit f8edee43a0.
2023-04-17 09:42:15 -07:00
guillemc23
f8edee43a0 fix(core): sdkVersion and osVersion type adjustments (#10269)
- These two return a number in Android (can't test iOS). Adding this fix would make expressions such as `Device.sdkVersion >= 23` possible without the need to add `@ts-ignore` before

- Updated JSDoc to reflect Android behavior
2023-04-17 08:51:24 -07:00
Nathan Walker
82d60ae057 fix(core): circular imports of SDK_VERSION 2022-11-30 09:14:10 -08:00
farfromrefuge
abd722cd3d perf(core): android sdk check (#10084) 2022-11-12 10:09:45 -08:00
Dimitris-Rafail Katsampas
ad01e6b990 fix(android): device language and region from system configuration. (#9868)
BREAKING CHANGE:

Exposes language and region values from android system configuration. If you were working around locale handling because this wasn't originally the case you can likely remove extra conditions as this should reflect more accurately now.
2022-07-09 10:09:43 -07:00
Osei Fortune
95596e8230 fix(Device): don't cache device language & region (#9394)
closes #6082
2021-05-12 12:51:35 -07:00
Igor Randjelovic
47ebb1d262 fix(core): const initializer in an ambient context (#9136)
fixes #9135
2021-01-05 19:03:42 +01:00
Nathanael Anderson
4204ac8308 fix(compat): add screen and device aliases (#9088)
* fix: Add old names to platform for compatibility

* Simplify code

* fix: apply changes to definitions

Co-authored-by: Igor Randjelovic <rigor789@gmail.com>
2020-12-28 13:46:04 +01:00
Martin Guillon
c1f231d88e chore: fix eslint issues (#9017) 2020-11-11 08:46:36 -08:00
Nathan Walker
020ad4da37 chore(core): monorepo, esm targeting, improved management (#8707) 2020-08-25 20:00:59 -07:00