30 Commits

Author SHA1 Message Date
e5caa2cc53 fix(core): corrected references in file system access (#10644) 2024-11-02 19:53:55 -07:00
7036f12b5c fix(android): prevent error on navigation back after using page transition (#10439) 2024-06-28 16:15:40 -07:00
4abcb216da feat(android): background color/image handling improvements (#10451) 2024-06-28 15:07:10 -07:00
01d537bf15 feat(visionos): ui-mobile-base supporting xros plus improvements to window handling (#10478) 2024-04-05 17:07:16 -07:00
b226066814 fix(android): sustain native error stack (#10467) 2024-01-02 22:17:01 -08:00
40b2a6a6db chore: use __ANDROID__ and __IOS__ throughout (#10446)
Standardizes usage for more macro style removal during bundling for target platforms.
[skip ci]
2023-11-25 08:34:25 -08: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
ab32aeaaa3 feat(file-system): append, appendText & createFile (#10285) 2023-05-04 20:45:01 -07:00
18bba2bc11 feat(file-system): allow copy when opening a File (#10274)
* feat: add copy file to file-system

* feat(file-system): allow temp copy of files opened with File.fromPath

* chore: remove log

* chore: remove log

* fix: only copy if true

---------

Co-authored-by: Nathan Walker <walkerrunpdx@gmail.com>
2023-04-25 00:30:28 -04:00
c63a50a196 feat(file): copy sync and async support (#10273) 2023-04-21 20:36:01 -07:00
0173769bad feat(files): read & write using js buffers (#10093) 2023-03-16 19:19:36 -07:00
a7f1305781 fix(android): knownFolders.externalDocuments improvement (#10186) 2023-01-31 06:31:00 -08:00
82d60ae057 fix(core): circular imports of SDK_VERSION 2022-11-30 09:14:10 -08:00
046f9314a8 chore: cleanup utils packaging 2022-11-23 22:42:43 -08:00
b998d40a54 chore: import cleanup for build 2022-11-18 09:40:50 -08:00
0226f47f8d fix(android): shared SDK_VERSION (#10090) 2022-11-16 20:14:41 -08:00
dd5c63552f chore: import adjustment build fix 2022-11-12 11:01:20 -08:00
abd722cd3d perf(core): android sdk check (#10084) 2022-11-12 10:09:45 -08:00
e687e9d756 fix(android): normalize for API >= 26 (#10083) 2022-11-12 10:07:50 -08:00
497a9dbaea fix(android): file system normalizePath (#10077) 2022-11-06 18:17:42 -08:00
8f91f3bd5f chore: file typings 2022-07-22 09:29:34 -07:00
e51e945400 feat(files): knownFolders.externalDocuments for android ease of use (#9966) 2022-07-22 08:14:15 -07:00
338ae56a82 fix: file access cross platform stub 2022-04-14 21:46:10 -07:00
a272296d87 fix(android): improve content uri handling (#9874)
closes: #9871
2022-04-14 21:36:30 -07:00
51b92f3557 fix(fs): wrong common paths 2022-03-06 00:31:46 +01:00
c68d002c9a feat(android): content uri support for File (#9807) 2022-03-04 18:56:04 -08:00
1b29d05099 chore: Nx 12 + fix ui app + TS 4.1 updates (#9359) 2021-04-26 19:11:19 -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
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