octicon-git-branch(16/) Commit Graph

8 Commits

Author SHA1 Message Date
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 octicon-file-diff(16/) octicon-file-code(16/)
Nathan Walker
82d60ae057 fix(core): circular imports of SDK_VERSION 2022-11-30 09:14:10 -08:00 octicon-file-diff(16/) octicon-file-code(16/)
farfromrefuge
abd722cd3d perf(core): android sdk check (#10084) 2022-11-12 10:09:45 -08:00 octicon-file-diff(16/) octicon-file-code(16/)
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 octicon-file-diff(16/) octicon-file-code(16/)
Osei Fortune
95596e8230 fix(Device): don't cache device language & region (#9394)
closes #6082
2021-05-12 12:51:35 -07:00 octicon-file-diff(16/) octicon-file-code(16/)
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 octicon-file-diff(16/) octicon-file-code(16/)
Martin Guillon
c1f231d88e chore: fix eslint issues (#9017) 2020-11-11 08:46:36 -08:00 octicon-file-diff(16/) octicon-file-code(16/)
Nathan Walker
020ad4da37 chore(core): monorepo, esm targeting, improved management (#8707) 2020-08-25 20:00:59 -07:00 octicon-file-diff(16/) octicon-file-code(16/)