15 Commits

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

This reverts commit f8edee43a0b28f523d510c6dd7d54015a0bc7e10.
2023-04-17 09:42:15 -07:00
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
82d60ae057 fix(core): circular imports of SDK_VERSION 2022-11-30 09:14:10 -08:00
abd722cd3d perf(core): android sdk check (#10084) 2022-11-12 10:09:45 -08:00
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
95596e8230 fix(Device): don't cache device language & region (#9394)
closes #6082
2021-05-12 12:51:35 -07:00
47ebb1d262 fix(core): const initializer in an ambient context (#9136)
fixes #9135
2021-01-05 19:03:42 +01:00
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
c1f231d88e chore: fix eslint issues (#9017) 2020-11-11 08:46:36 -08:00
020ad4da37 chore(core): monorepo, esm targeting, improved management (#8707) 2020-08-25 20:00:59 -07:00