expo-file-system 19.0.17 → 19.0.18-canary-20251015-a6a1272
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +4 -8
- package/android/build.gradle +2 -2
- package/build/ExpoFileSystem.types.d.ts +13 -5
- package/build/ExpoFileSystem.types.d.ts.map +1 -1
- package/build/index.d.ts +1 -1
- package/build/index.d.ts.map +1 -1
- package/expo-module.config.json +1 -1
- package/local-maven-repo/host/exp/exponent/expo.modules.filesystem/19.0.18-canary-20251015-a6a1272/expo.modules.filesystem-19.0.18-canary-20251015-a6a1272.aar +0 -0
- package/local-maven-repo/host/exp/exponent/expo.modules.filesystem/19.0.18-canary-20251015-a6a1272/expo.modules.filesystem-19.0.18-canary-20251015-a6a1272.aar.md5 +1 -0
- package/local-maven-repo/host/exp/exponent/expo.modules.filesystem/19.0.18-canary-20251015-a6a1272/expo.modules.filesystem-19.0.18-canary-20251015-a6a1272.aar.sha1 +1 -0
- package/local-maven-repo/host/exp/exponent/expo.modules.filesystem/19.0.18-canary-20251015-a6a1272/expo.modules.filesystem-19.0.18-canary-20251015-a6a1272.aar.sha256 +1 -0
- package/local-maven-repo/host/exp/exponent/expo.modules.filesystem/19.0.18-canary-20251015-a6a1272/expo.modules.filesystem-19.0.18-canary-20251015-a6a1272.aar.sha512 +1 -0
- package/local-maven-repo/host/exp/exponent/expo.modules.filesystem/{19.0.17/expo.modules.filesystem-19.0.17.module → 19.0.18-canary-20251015-a6a1272/expo.modules.filesystem-19.0.18-canary-20251015-a6a1272.module} +18 -18
- package/local-maven-repo/host/exp/exponent/expo.modules.filesystem/19.0.18-canary-20251015-a6a1272/expo.modules.filesystem-19.0.18-canary-20251015-a6a1272.module.md5 +1 -0
- package/local-maven-repo/host/exp/exponent/expo.modules.filesystem/19.0.18-canary-20251015-a6a1272/expo.modules.filesystem-19.0.18-canary-20251015-a6a1272.module.sha1 +1 -0
- package/local-maven-repo/host/exp/exponent/expo.modules.filesystem/19.0.18-canary-20251015-a6a1272/expo.modules.filesystem-19.0.18-canary-20251015-a6a1272.module.sha256 +1 -0
- package/local-maven-repo/host/exp/exponent/expo.modules.filesystem/19.0.18-canary-20251015-a6a1272/expo.modules.filesystem-19.0.18-canary-20251015-a6a1272.module.sha512 +1 -0
- package/local-maven-repo/host/exp/exponent/expo.modules.filesystem/{19.0.17/expo.modules.filesystem-19.0.17.pom → 19.0.18-canary-20251015-a6a1272/expo.modules.filesystem-19.0.18-canary-20251015-a6a1272.pom} +1 -1
- package/local-maven-repo/host/exp/exponent/expo.modules.filesystem/19.0.18-canary-20251015-a6a1272/expo.modules.filesystem-19.0.18-canary-20251015-a6a1272.pom.md5 +1 -0
- package/local-maven-repo/host/exp/exponent/expo.modules.filesystem/19.0.18-canary-20251015-a6a1272/expo.modules.filesystem-19.0.18-canary-20251015-a6a1272.pom.sha1 +1 -0
- package/local-maven-repo/host/exp/exponent/expo.modules.filesystem/19.0.18-canary-20251015-a6a1272/expo.modules.filesystem-19.0.18-canary-20251015-a6a1272.pom.sha256 +1 -0
- package/local-maven-repo/host/exp/exponent/expo.modules.filesystem/19.0.18-canary-20251015-a6a1272/expo.modules.filesystem-19.0.18-canary-20251015-a6a1272.pom.sha512 +1 -0
- package/local-maven-repo/host/exp/exponent/expo.modules.filesystem/maven-metadata.xml +4 -4
- package/local-maven-repo/host/exp/exponent/expo.modules.filesystem/maven-metadata.xml.md5 +1 -1
- package/local-maven-repo/host/exp/exponent/expo.modules.filesystem/maven-metadata.xml.sha1 +1 -1
- package/local-maven-repo/host/exp/exponent/expo.modules.filesystem/maven-metadata.xml.sha256 +1 -1
- package/local-maven-repo/host/exp/exponent/expo.modules.filesystem/maven-metadata.xml.sha512 +1 -1
- package/package.json +5 -6
- package/src/ExpoFileSystem.types.ts +13 -5
- package/src/index.ts +1 -0
- package/local-maven-repo/host/exp/exponent/expo.modules.filesystem/19.0.17/expo.modules.filesystem-19.0.17.aar +0 -0
- package/local-maven-repo/host/exp/exponent/expo.modules.filesystem/19.0.17/expo.modules.filesystem-19.0.17.aar.md5 +0 -1
- package/local-maven-repo/host/exp/exponent/expo.modules.filesystem/19.0.17/expo.modules.filesystem-19.0.17.aar.sha1 +0 -1
- package/local-maven-repo/host/exp/exponent/expo.modules.filesystem/19.0.17/expo.modules.filesystem-19.0.17.aar.sha256 +0 -1
- package/local-maven-repo/host/exp/exponent/expo.modules.filesystem/19.0.17/expo.modules.filesystem-19.0.17.aar.sha512 +0 -1
- package/local-maven-repo/host/exp/exponent/expo.modules.filesystem/19.0.17/expo.modules.filesystem-19.0.17.module.md5 +0 -1
- package/local-maven-repo/host/exp/exponent/expo.modules.filesystem/19.0.17/expo.modules.filesystem-19.0.17.module.sha1 +0 -1
- package/local-maven-repo/host/exp/exponent/expo.modules.filesystem/19.0.17/expo.modules.filesystem-19.0.17.module.sha256 +0 -1
- package/local-maven-repo/host/exp/exponent/expo.modules.filesystem/19.0.17/expo.modules.filesystem-19.0.17.module.sha512 +0 -1
- package/local-maven-repo/host/exp/exponent/expo.modules.filesystem/19.0.17/expo.modules.filesystem-19.0.17.pom.md5 +0 -1
- package/local-maven-repo/host/exp/exponent/expo.modules.filesystem/19.0.17/expo.modules.filesystem-19.0.17.pom.sha1 +0 -1
- package/local-maven-repo/host/exp/exponent/expo.modules.filesystem/19.0.17/expo.modules.filesystem-19.0.17.pom.sha256 +0 -1
- package/local-maven-repo/host/exp/exponent/expo.modules.filesystem/19.0.17/expo.modules.filesystem-19.0.17.pom.sha512 +0 -1
- /package/local-maven-repo/host/exp/exponent/expo.modules.filesystem/{19.0.17/expo.modules.filesystem-19.0.17-sources.jar → 19.0.18-canary-20251015-a6a1272/expo.modules.filesystem-19.0.18-canary-20251015-a6a1272-sources.jar} +0 -0
- /package/local-maven-repo/host/exp/exponent/expo.modules.filesystem/{19.0.17/expo.modules.filesystem-19.0.17-sources.jar.md5 → 19.0.18-canary-20251015-a6a1272/expo.modules.filesystem-19.0.18-canary-20251015-a6a1272-sources.jar.md5} +0 -0
- /package/local-maven-repo/host/exp/exponent/expo.modules.filesystem/{19.0.17/expo.modules.filesystem-19.0.17-sources.jar.sha1 → 19.0.18-canary-20251015-a6a1272/expo.modules.filesystem-19.0.18-canary-20251015-a6a1272-sources.jar.sha1} +0 -0
- /package/local-maven-repo/host/exp/exponent/expo.modules.filesystem/{19.0.17/expo.modules.filesystem-19.0.17-sources.jar.sha256 → 19.0.18-canary-20251015-a6a1272/expo.modules.filesystem-19.0.18-canary-20251015-a6a1272-sources.jar.sha256} +0 -0
- /package/local-maven-repo/host/exp/exponent/expo.modules.filesystem/{19.0.17/expo.modules.filesystem-19.0.17-sources.jar.sha512 → 19.0.18-canary-20251015-a6a1272/expo.modules.filesystem-19.0.18-canary-20251015-a6a1272-sources.jar.sha512} +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -8,15 +8,11 @@
|
|
|
8
8
|
|
|
9
9
|
### 🐛 Bug fixes
|
|
10
10
|
|
|
11
|
-
### 💡 Others
|
|
12
|
-
|
|
13
|
-
## 19.0.17 — 2025-10-09
|
|
14
|
-
|
|
15
|
-
### 🐛 Bug fixes
|
|
16
|
-
|
|
17
11
|
- [Android] Fix recursive file deletion. ([#40248](https://github.com/expo/expo/pull/40248) by [@aleqsio](https://github.com/aleqsio))
|
|
18
12
|
|
|
19
|
-
|
|
13
|
+
### 💡 Others
|
|
14
|
+
|
|
15
|
+
## 19.0.16 - 2025-10-01
|
|
20
16
|
|
|
21
17
|
### 🎉 New features
|
|
22
18
|
|
|
@@ -27,7 +23,7 @@
|
|
|
27
23
|
- Fix typedoc in the File class. ([#40064](https://github.com/expo/expo/pull/40064) by [@aleqsio](https://github.com/aleqsio))
|
|
28
24
|
- [Android] Fix getContentUri. ([#40001](https://github.com/expo/expo/pull/40001) by [@aleqsio](https://github.com/aleqsio))
|
|
29
25
|
|
|
30
|
-
## 19.0.15
|
|
26
|
+
## 19.0.15 - 2025-09-22
|
|
31
27
|
|
|
32
28
|
### 🎉 New features
|
|
33
29
|
|
package/android/build.gradle
CHANGED
|
@@ -4,13 +4,13 @@ plugins {
|
|
|
4
4
|
}
|
|
5
5
|
|
|
6
6
|
group = 'host.exp.exponent'
|
|
7
|
-
version = '19.0.
|
|
7
|
+
version = '19.0.18-canary-20251015-a6a1272'
|
|
8
8
|
|
|
9
9
|
android {
|
|
10
10
|
namespace "expo.modules.filesystem"
|
|
11
11
|
defaultConfig {
|
|
12
12
|
versionCode 30
|
|
13
|
-
versionName "19.0.
|
|
13
|
+
versionName "19.0.18-canary-20251015-a6a1272"
|
|
14
14
|
}
|
|
15
15
|
}
|
|
16
16
|
|
|
@@ -184,7 +184,7 @@ export declare class File {
|
|
|
184
184
|
* Retrieves content of the file as base64.
|
|
185
185
|
* @returns A promise that resolves with the contents of the file as a base64 string.
|
|
186
186
|
*/
|
|
187
|
-
base64(): string
|
|
187
|
+
base64(): Promise<string>;
|
|
188
188
|
/**
|
|
189
189
|
* Retrieves content of the file as base64.
|
|
190
190
|
* @returns The contents of the file as a base64 string.
|
|
@@ -192,12 +192,12 @@ export declare class File {
|
|
|
192
192
|
base64Sync(): string;
|
|
193
193
|
/**
|
|
194
194
|
* Retrieves byte content of the entire file.
|
|
195
|
-
* @returns A promise that resolves with the contents of the file as a Uint8Array
|
|
195
|
+
* @returns A promise that resolves with the contents of the file as a `Uint8Array`.
|
|
196
196
|
*/
|
|
197
197
|
bytes(): Promise<Uint8Array<ArrayBuffer>>;
|
|
198
198
|
/**
|
|
199
199
|
* Retrieves byte content of the entire file.
|
|
200
|
-
* @returns
|
|
200
|
+
* @returns The contents of the file as a `Uint8Array`.
|
|
201
201
|
*/
|
|
202
202
|
bytesSync(): Uint8Array;
|
|
203
203
|
/**
|
|
@@ -248,10 +248,18 @@ export declare class File {
|
|
|
248
248
|
/**
|
|
249
249
|
* A static method that downloads a file from the network.
|
|
250
250
|
*
|
|
251
|
+
* On Android, the response body streams directly into the target file. If the download fails after
|
|
252
|
+
* it starts, a partially written file may remain at the destination. On iOS, the download first
|
|
253
|
+
* completes in a temporary location and the file is moved into place only after success, so no
|
|
254
|
+
* file is left behind when the request fails.
|
|
255
|
+
*
|
|
251
256
|
* @param url - The URL of the file to download.
|
|
252
257
|
* @param destination - The destination directory or file. If a directory is provided, the resulting filename will be determined based on the response headers.
|
|
258
|
+
* @param options - Download options. When the destination already contains a file, the promise rejects with a `DestinationAlreadyExists` error unless `options.idempotent` is set to `true`. With `idempotent: true`, the download overwrites the existing file instead of failing.
|
|
253
259
|
*
|
|
254
|
-
* @returns A promise that resolves to the downloaded file.
|
|
260
|
+
* @returns A promise that resolves to the downloaded file. When the server responds with
|
|
261
|
+
* a non-2xx HTTP status, the promise rejects with an `UnableToDownload` error whose
|
|
262
|
+
* message includes the status code. No file is created in that scenario.
|
|
255
263
|
*
|
|
256
264
|
* @example
|
|
257
265
|
* ```ts
|
|
@@ -266,7 +274,7 @@ export declare class File {
|
|
|
266
274
|
*
|
|
267
275
|
* @param initialUri An optional URI pointing to an initial folder on which the file picker is opened.
|
|
268
276
|
* @param mimeType A mime type that is used to filter out files that can be picked out.
|
|
269
|
-
* @returns
|
|
277
|
+
* @returns A `File` instance or an array of `File` instances.
|
|
270
278
|
*/
|
|
271
279
|
static pickFileAsync(initialUri?: string, mimeType?: string): Promise<File | File[]>;
|
|
272
280
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ExpoFileSystem.types.d.ts","sourceRoot":"","sources":["../src/ExpoFileSystem.types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,iBAAiB,GAAG;IAC9B;;;OAGG;IACH,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB;;;OAGG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB,CAAC;AAEF,oBAAY,YAAY;IACtB;;OAEG;IACH,IAAI,SAAS;IACb;;OAEG;IACH,MAAM,WAAW;CAClB;AAED,MAAM,MAAM,gBAAgB,GAAG;IAC7B;;;OAGG;IACH,QAAQ,CAAC,E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AW,GAAG;IACxB;;;;OAIG;IACH,GAAG,CAAC,EAAE,OAAO,CAAC;CACf,CAAC;AAEF,MAAM,MAAM,QAAQ,GAAG;IACrB;;OAEG;IACH,MAAM,EAAE,OAAO,CAAC;IAChB;;OAEG;IACH,WAAW,EAAE,OAAO,GAAG,IAAI,CAAC;CAC7B,CAAC;AAEF,MAAM,MAAM,aAAa,GAAG;IAC1B;;OAEG;IACH,MAAM,EAAE,OAAO,CAAC;IAChB;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,EAAE,CAAC;CAClB,CAAC"}
|
package/build/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export * from './FileSystem';
|
|
2
|
-
export { type FileCreateOptions, type DirectoryCreateOptions, type FileHandle, type FileInfo, type InfoOptions, type PathInfo, type DirectoryInfo, } from './ExpoFileSystem.types';
|
|
2
|
+
export { type FileCreateOptions, type DirectoryCreateOptions, type FileHandle, type FileInfo, type InfoOptions, type PathInfo, type DirectoryInfo, type DownloadOptions, } from './ExpoFileSystem.types';
|
|
3
3
|
export * from './legacyWarnings';
|
|
4
4
|
//# sourceMappingURL=index.d.ts.map
|
package/build/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAE7B,OAAO,EACL,KAAK,iBAAiB,EACtB,KAAK,sBAAsB,EAC3B,KAAK,UAAU,EACf,KAAK,QAAQ,EACb,KAAK,WAAW,EAChB,KAAK,QAAQ,EACb,KAAK,aAAa,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAE7B,OAAO,EACL,KAAK,iBAAiB,EACtB,KAAK,sBAAsB,EAC3B,KAAK,UAAU,EACf,KAAK,QAAQ,EACb,KAAK,WAAW,EAChB,KAAK,QAAQ,EACb,KAAK,aAAa,EAClB,KAAK,eAAe,GACrB,MAAM,wBAAwB,CAAC;AAEhC,cAAc,kBAAkB,CAAC"}
|
package/expo-module.config.json
CHANGED
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
3bea5490d96bf70ecd9175d5bd1688f2
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
6ba51c2cd4269602d70ea24d8689799ea73d73a1
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
59357a92b15218c7ca51945f48306ee5c83fd3b0029c7579227a7633b1c49afb
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
97f919a3acbdf9fc8bd3e5c8fc638ca0a5af58d16e8e894a729318fa694f1f7e1c1e2ad0938722134a2c1f0391abb2b27e099789b93e898f2762651ea731908c
|
|
@@ -3,14 +3,14 @@
|
|
|
3
3
|
"component": {
|
|
4
4
|
"group": "host.exp.exponent",
|
|
5
5
|
"module": "expo.modules.filesystem",
|
|
6
|
-
"version": "19.0.
|
|
6
|
+
"version": "19.0.18-canary-20251015-a6a1272",
|
|
7
7
|
"attributes": {
|
|
8
8
|
"org.gradle.status": "release"
|
|
9
9
|
}
|
|
10
10
|
},
|
|
11
11
|
"createdBy": {
|
|
12
12
|
"gradle": {
|
|
13
|
-
"version": "
|
|
13
|
+
"version": "9.0.0"
|
|
14
14
|
}
|
|
15
15
|
},
|
|
16
16
|
"variants": [
|
|
@@ -75,13 +75,13 @@
|
|
|
75
75
|
],
|
|
76
76
|
"files": [
|
|
77
77
|
{
|
|
78
|
-
"name": "expo.modules.filesystem-19.0.
|
|
79
|
-
"url": "expo.modules.filesystem-19.0.
|
|
80
|
-
"size":
|
|
81
|
-
"sha512": "
|
|
82
|
-
"sha256": "
|
|
83
|
-
"sha1": "
|
|
84
|
-
"md5": "
|
|
78
|
+
"name": "expo.modules.filesystem-19.0.18-canary-20251015-a6a1272.aar",
|
|
79
|
+
"url": "expo.modules.filesystem-19.0.18-canary-20251015-a6a1272.aar",
|
|
80
|
+
"size": 391285,
|
|
81
|
+
"sha512": "97f919a3acbdf9fc8bd3e5c8fc638ca0a5af58d16e8e894a729318fa694f1f7e1c1e2ad0938722134a2c1f0391abb2b27e099789b93e898f2762651ea731908c",
|
|
82
|
+
"sha256": "59357a92b15218c7ca51945f48306ee5c83fd3b0029c7579227a7633b1c49afb",
|
|
83
|
+
"sha1": "6ba51c2cd4269602d70ea24d8689799ea73d73a1",
|
|
84
|
+
"md5": "3bea5490d96bf70ecd9175d5bd1688f2"
|
|
85
85
|
}
|
|
86
86
|
]
|
|
87
87
|
},
|
|
@@ -153,13 +153,13 @@
|
|
|
153
153
|
],
|
|
154
154
|
"files": [
|
|
155
155
|
{
|
|
156
|
-
"name": "expo.modules.filesystem-19.0.
|
|
157
|
-
"url": "expo.modules.filesystem-19.0.
|
|
158
|
-
"size":
|
|
159
|
-
"sha512": "
|
|
160
|
-
"sha256": "
|
|
161
|
-
"sha1": "
|
|
162
|
-
"md5": "
|
|
156
|
+
"name": "expo.modules.filesystem-19.0.18-canary-20251015-a6a1272.aar",
|
|
157
|
+
"url": "expo.modules.filesystem-19.0.18-canary-20251015-a6a1272.aar",
|
|
158
|
+
"size": 391285,
|
|
159
|
+
"sha512": "97f919a3acbdf9fc8bd3e5c8fc638ca0a5af58d16e8e894a729318fa694f1f7e1c1e2ad0938722134a2c1f0391abb2b27e099789b93e898f2762651ea731908c",
|
|
160
|
+
"sha256": "59357a92b15218c7ca51945f48306ee5c83fd3b0029c7579227a7633b1c49afb",
|
|
161
|
+
"sha1": "6ba51c2cd4269602d70ea24d8689799ea73d73a1",
|
|
162
|
+
"md5": "3bea5490d96bf70ecd9175d5bd1688f2"
|
|
163
163
|
}
|
|
164
164
|
]
|
|
165
165
|
},
|
|
@@ -173,8 +173,8 @@
|
|
|
173
173
|
},
|
|
174
174
|
"files": [
|
|
175
175
|
{
|
|
176
|
-
"name": "expo.modules.filesystem-19.0.
|
|
177
|
-
"url": "expo.modules.filesystem-19.0.
|
|
176
|
+
"name": "expo.modules.filesystem-19.0.18-canary-20251015-a6a1272-sources.jar",
|
|
177
|
+
"url": "expo.modules.filesystem-19.0.18-canary-20251015-a6a1272-sources.jar",
|
|
178
178
|
"size": 28829,
|
|
179
179
|
"sha512": "2f568bfaeec3afab683022062a45f4bc0b36c57b34b03c594770668d0b7a85542a7c8ef9d7ea015a0ca2b1cefdfdd6c81af52d5a8cb986734006c731cbd2efb0",
|
|
180
180
|
"sha256": "fd56e8219c4f981d84e5dfa36830c59279bf486acfcc80c143b18ec1860260e3",
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
33a8faa65059c24b38057c3ab7f4f937
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
54d0eee1c1bf68f1c955eabc26df512c49ae5818
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
cc198c102c43f7c82c21d1c3e36a60a0f4e9244410d37da7c3c649e313c8772e
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
87b8db214f5d60edbeba411957f2da133dbf66c0e3460a9159445ccc64df8e362db693e8d5f61592d8850a6c8e320ba4554f14036f55fc90dc0a2294e836ac53
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
<modelVersion>4.0.0</modelVersion>
|
|
10
10
|
<groupId>host.exp.exponent</groupId>
|
|
11
11
|
<artifactId>expo.modules.filesystem</artifactId>
|
|
12
|
-
<version>19.0.
|
|
12
|
+
<version>19.0.18-canary-20251015-a6a1272</version>
|
|
13
13
|
<packaging>aar</packaging>
|
|
14
14
|
<name>expo.modules.filesystem</name>
|
|
15
15
|
<url>https://github.com/expo/expo</url>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
b9dbe3cc0de607afc36174c143302686
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
99ec603e15fcac34dc18ab71203422537d16e861
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
0150df802a66f3cd48873452c45084f88c14dfd33b8ead49676cb806e807d831
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
cbaf4217f8c05c4c48b008e1cd291821a7860d8c69f1b9731283d25a3efd8fca17c31fa797bac746bd5a31817a76bfa95146bdfd69d63b5b2922ded0d3764aa8
|
|
@@ -3,11 +3,11 @@
|
|
|
3
3
|
<groupId>host.exp.exponent</groupId>
|
|
4
4
|
<artifactId>expo.modules.filesystem</artifactId>
|
|
5
5
|
<versioning>
|
|
6
|
-
<latest>19.0.
|
|
7
|
-
<release>19.0.
|
|
6
|
+
<latest>19.0.18-canary-20251015-a6a1272</latest>
|
|
7
|
+
<release>19.0.18-canary-20251015-a6a1272</release>
|
|
8
8
|
<versions>
|
|
9
|
-
<version>19.0.
|
|
9
|
+
<version>19.0.18-canary-20251015-a6a1272</version>
|
|
10
10
|
</versions>
|
|
11
|
-
<lastUpdated>
|
|
11
|
+
<lastUpdated>20251015164422</lastUpdated>
|
|
12
12
|
</versioning>
|
|
13
13
|
</metadata>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
32064ddae3d3d5891f5bfcc09ee26264
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
5c6cd5990c0b24c64e5804ecbbc19f1ef72a920f
|
package/local-maven-repo/host/exp/exponent/expo.modules.filesystem/maven-metadata.xml.sha256
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
62f97ffb82098f3cd58789c3193ea4dd64885f2d98d8cc28897af0c5664829c1
|
package/local-maven-repo/host/exp/exponent/expo.modules.filesystem/maven-metadata.xml.sha512
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
f045969c582e0a864c1c74c6b6415ae8215d017e866c7e19fef6c6b2e26d992d2523449a3ae70101e79efe9fd70a0c04b276668d3e7e2206742a10793f62dd9c
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "expo-file-system",
|
|
3
|
-
"version": "19.0.
|
|
3
|
+
"version": "19.0.18-canary-20251015-a6a1272",
|
|
4
4
|
"description": "Provides access to the local file system on the device.",
|
|
5
5
|
"main": "src/index.ts",
|
|
6
6
|
"types": "build/index.d.ts",
|
|
@@ -35,12 +35,11 @@
|
|
|
35
35
|
"preset": "expo-module-scripts"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|
|
38
|
-
"expo-module-scripts": "
|
|
39
|
-
"jest-expo": "
|
|
38
|
+
"expo-module-scripts": "5.0.8-canary-20251015-a6a1272",
|
|
39
|
+
"jest-expo": "55.0.0-canary-20251015-a6a1272"
|
|
40
40
|
},
|
|
41
41
|
"peerDependencies": {
|
|
42
|
-
"expo": "
|
|
42
|
+
"expo": "55.0.0-canary-20251015-a6a1272",
|
|
43
43
|
"react-native": "*"
|
|
44
|
-
}
|
|
45
|
-
"gitHead": "a2c8477a3fc5744980494805ae46f20dda94c852"
|
|
44
|
+
}
|
|
46
45
|
}
|
|
@@ -207,7 +207,7 @@ export declare class File {
|
|
|
207
207
|
* Retrieves content of the file as base64.
|
|
208
208
|
* @returns A promise that resolves with the contents of the file as a base64 string.
|
|
209
209
|
*/
|
|
210
|
-
base64(): string
|
|
210
|
+
base64(): Promise<string>;
|
|
211
211
|
|
|
212
212
|
/**
|
|
213
213
|
* Retrieves content of the file as base64.
|
|
@@ -217,13 +217,13 @@ export declare class File {
|
|
|
217
217
|
|
|
218
218
|
/**
|
|
219
219
|
* Retrieves byte content of the entire file.
|
|
220
|
-
* @returns A promise that resolves with the contents of the file as a Uint8Array
|
|
220
|
+
* @returns A promise that resolves with the contents of the file as a `Uint8Array`.
|
|
221
221
|
*/
|
|
222
222
|
bytes(): Promise<Uint8Array<ArrayBuffer>>;
|
|
223
223
|
|
|
224
224
|
/**
|
|
225
225
|
* Retrieves byte content of the entire file.
|
|
226
|
-
* @returns
|
|
226
|
+
* @returns The contents of the file as a `Uint8Array`.
|
|
227
227
|
*/
|
|
228
228
|
bytesSync(): Uint8Array;
|
|
229
229
|
|
|
@@ -284,10 +284,18 @@ export declare class File {
|
|
|
284
284
|
/**
|
|
285
285
|
* A static method that downloads a file from the network.
|
|
286
286
|
*
|
|
287
|
+
* On Android, the response body streams directly into the target file. If the download fails after
|
|
288
|
+
* it starts, a partially written file may remain at the destination. On iOS, the download first
|
|
289
|
+
* completes in a temporary location and the file is moved into place only after success, so no
|
|
290
|
+
* file is left behind when the request fails.
|
|
291
|
+
*
|
|
287
292
|
* @param url - The URL of the file to download.
|
|
288
293
|
* @param destination - The destination directory or file. If a directory is provided, the resulting filename will be determined based on the response headers.
|
|
294
|
+
* @param options - Download options. When the destination already contains a file, the promise rejects with a `DestinationAlreadyExists` error unless `options.idempotent` is set to `true`. With `idempotent: true`, the download overwrites the existing file instead of failing.
|
|
289
295
|
*
|
|
290
|
-
* @returns A promise that resolves to the downloaded file.
|
|
296
|
+
* @returns A promise that resolves to the downloaded file. When the server responds with
|
|
297
|
+
* a non-2xx HTTP status, the promise rejects with an `UnableToDownload` error whose
|
|
298
|
+
* message includes the status code. No file is created in that scenario.
|
|
291
299
|
*
|
|
292
300
|
* @example
|
|
293
301
|
* ```ts
|
|
@@ -307,7 +315,7 @@ export declare class File {
|
|
|
307
315
|
*
|
|
308
316
|
* @param initialUri An optional URI pointing to an initial folder on which the file picker is opened.
|
|
309
317
|
* @param mimeType A mime type that is used to filter out files that can be picked out.
|
|
310
|
-
* @returns
|
|
318
|
+
* @returns A `File` instance or an array of `File` instances.
|
|
311
319
|
*/
|
|
312
320
|
static pickFileAsync(initialUri?: string, mimeType?: string): Promise<File | File[]>;
|
|
313
321
|
|
package/src/index.ts
CHANGED
|
Binary file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
676ac9e485b903778ac23c483eac4cf5
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
b04ea6436b34d528574e89f14e16e0f214d73d01
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
202752b28c46047281346722d634f17d97177e857bee9905d2637127213146b3
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
d60c88e7f21f358f02194c14c3927265dfe2d1d87fc6b95752762eac2e0b58aacd0e978c76b0dcf63a8307024d4c456905e7e6e8525b69311b92c4e923ee1877
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
2939887843508a05bc8a376240b605b5
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
398089ff3057da03c4ae35736b7789541f4fdf32
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
0f8244800bb9ba5dab6271c68d219f827a127e34c87bc0a1c23c9b2010e6789d
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
80b3bf9150498c34228ffef88f72161f07a8808307f75ce611b38ff3092d75e1f953855b10c2906ada17cbe9ba6448918673c51459f6ca61ebecef685d91c2af
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
d6e19507a87616b345928eb3f6fd89b6
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
ce05d89227738f9da5ffce190146b68e246f3093
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
f4591341074ab39f6a9049a9bb8525ae529d0f9cb42ed0e63b7a2b742664c136
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
00da494744eb93de2fce2358af36e0866da77d81980d0f1940e64859b6eedbf030819b4cd062fa96007dce2fb853c81fde5a97cd7dfcca62abcd80cb8f7ddfcc
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|