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
54f454f881 fix(android): ensure android application is created before setting listeners (#9876)
Co-authored-by: Osei Fortune <fortune.osei@yahoo.com>
2022-04-19 18:40:21 +02:00
2be1ada3da chore: cleanup background styling handling 2022-03-01 12:32:39 -08:00
dde9e02cac feat: improved background handling (#9615) 2022-03-01 12:32:39 -08:00
a38e2ca3b9 fix(android): background-image 'none' (#9547)
closes https://github.com/NativeScript/NativeScript/issues/9546
2021-09-15 19:04:26 +02:00
7c60735d14 chore: cleanup background handling 2021-04-06 11:18:36 -07: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
9a7d3ecb34 feat: implement BoxShadowDrawable 2021-04-06 11:18:36 -07:00
19ce9fc2bf chore: box shadow updates (#9220) 2021-04-06 11:18:36 -07:00
3bd2d96f29 feat(core): box shadow demo (#9182) 2021-04-06 11:18:36 -07:00
67e2fe42b7 feat(core): box-shadow support (#9161) 2021-04-06 11:18:36 -07:00
ebcc0e2cc0 feat(android): types for API Level 30 and cleanup (#9219)
API Level 30 is now included. Also the `native` namespace used for Android/Java typings no longer collides with integrations.

BREAKING CHANGE:

If you were using`native.Array` for any of your own custom plugin typings, you can switch them to `androidNative.Array`

BEFORE:

```
public writeAsync(path: string, bytes: native.Array<number>) ...
```

AFTER:

```
public writeAsync(path: string, bytes: androidNative.Array<number>) ...
```
2021-02-27 12:45:49 -08:00
11b3b84114 chore: release prep 2021-02-05 12:24:46 -08:00
4945702620 ci: run apps/automated on CI (#9196) 2021-02-05 11:21:16 -08:00
5fe27428e0 feat(android): FlexboxLayout support for isPassThroughParentEnabled (#8798) 2021-01-29 13:03:27 -08:00
e501273d16 perf(android): faster background color setter (#9120) 2021-01-29 12:21:47 -08: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