expo-file-system 19.0.21-canary-20251211-7da85ea → 19.0.21

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.
Files changed (51) hide show
  1. package/CHANGELOG.md +9 -8
  2. package/android/build.gradle +2 -2
  3. package/android/src/main/AndroidManifest.xml +2 -2
  4. package/build/ExpoFileSystem.d.ts +1 -3
  5. package/build/ExpoFileSystem.d.ts.map +1 -1
  6. package/expo-module.config.json +1 -1
  7. package/ios/FileSystemModule.swift +2 -2
  8. package/ios/Legacy/FileSystemHelpers.swift +2 -2
  9. package/local-maven-repo/host/exp/exponent/expo.modules.filesystem/19.0.21/expo.modules.filesystem-19.0.21.aar +0 -0
  10. package/local-maven-repo/host/exp/exponent/expo.modules.filesystem/19.0.21/expo.modules.filesystem-19.0.21.aar.md5 +1 -0
  11. package/local-maven-repo/host/exp/exponent/expo.modules.filesystem/19.0.21/expo.modules.filesystem-19.0.21.aar.sha1 +1 -0
  12. package/local-maven-repo/host/exp/exponent/expo.modules.filesystem/19.0.21/expo.modules.filesystem-19.0.21.aar.sha256 +1 -0
  13. package/local-maven-repo/host/exp/exponent/expo.modules.filesystem/19.0.21/expo.modules.filesystem-19.0.21.aar.sha512 +1 -0
  14. package/local-maven-repo/host/exp/exponent/expo.modules.filesystem/{19.0.21-canary-20251211-7da85ea/expo.modules.filesystem-19.0.21-canary-20251211-7da85ea.module → 19.0.21/expo.modules.filesystem-19.0.21.module} +18 -18
  15. package/local-maven-repo/host/exp/exponent/expo.modules.filesystem/19.0.21/expo.modules.filesystem-19.0.21.module.md5 +1 -0
  16. package/local-maven-repo/host/exp/exponent/expo.modules.filesystem/19.0.21/expo.modules.filesystem-19.0.21.module.sha1 +1 -0
  17. package/local-maven-repo/host/exp/exponent/expo.modules.filesystem/19.0.21/expo.modules.filesystem-19.0.21.module.sha256 +1 -0
  18. package/local-maven-repo/host/exp/exponent/expo.modules.filesystem/19.0.21/expo.modules.filesystem-19.0.21.module.sha512 +1 -0
  19. package/local-maven-repo/host/exp/exponent/expo.modules.filesystem/{19.0.21-canary-20251211-7da85ea/expo.modules.filesystem-19.0.21-canary-20251211-7da85ea.pom → 19.0.21/expo.modules.filesystem-19.0.21.pom} +1 -1
  20. package/local-maven-repo/host/exp/exponent/expo.modules.filesystem/19.0.21/expo.modules.filesystem-19.0.21.pom.md5 +1 -0
  21. package/local-maven-repo/host/exp/exponent/expo.modules.filesystem/19.0.21/expo.modules.filesystem-19.0.21.pom.sha1 +1 -0
  22. package/local-maven-repo/host/exp/exponent/expo.modules.filesystem/19.0.21/expo.modules.filesystem-19.0.21.pom.sha256 +1 -0
  23. package/local-maven-repo/host/exp/exponent/expo.modules.filesystem/19.0.21/expo.modules.filesystem-19.0.21.pom.sha512 +1 -0
  24. package/local-maven-repo/host/exp/exponent/expo.modules.filesystem/maven-metadata.xml +4 -4
  25. package/local-maven-repo/host/exp/exponent/expo.modules.filesystem/maven-metadata.xml.md5 +1 -1
  26. package/local-maven-repo/host/exp/exponent/expo.modules.filesystem/maven-metadata.xml.sha1 +1 -1
  27. package/local-maven-repo/host/exp/exponent/expo.modules.filesystem/maven-metadata.xml.sha256 +1 -1
  28. package/local-maven-repo/host/exp/exponent/expo.modules.filesystem/maven-metadata.xml.sha512 +1 -1
  29. package/package.json +6 -5
  30. package/plugin/build/withFileSystem.d.ts +1 -5
  31. package/plugin/build/withFileSystem.js +2 -13
  32. package/plugin/src/withFileSystem.ts +3 -25
  33. package/src/ExpoFileSystem.ts +1 -3
  34. package/local-maven-repo/host/exp/exponent/expo.modules.filesystem/19.0.21-canary-20251211-7da85ea/expo.modules.filesystem-19.0.21-canary-20251211-7da85ea.aar +0 -0
  35. package/local-maven-repo/host/exp/exponent/expo.modules.filesystem/19.0.21-canary-20251211-7da85ea/expo.modules.filesystem-19.0.21-canary-20251211-7da85ea.aar.md5 +0 -1
  36. package/local-maven-repo/host/exp/exponent/expo.modules.filesystem/19.0.21-canary-20251211-7da85ea/expo.modules.filesystem-19.0.21-canary-20251211-7da85ea.aar.sha1 +0 -1
  37. package/local-maven-repo/host/exp/exponent/expo.modules.filesystem/19.0.21-canary-20251211-7da85ea/expo.modules.filesystem-19.0.21-canary-20251211-7da85ea.aar.sha256 +0 -1
  38. package/local-maven-repo/host/exp/exponent/expo.modules.filesystem/19.0.21-canary-20251211-7da85ea/expo.modules.filesystem-19.0.21-canary-20251211-7da85ea.aar.sha512 +0 -1
  39. package/local-maven-repo/host/exp/exponent/expo.modules.filesystem/19.0.21-canary-20251211-7da85ea/expo.modules.filesystem-19.0.21-canary-20251211-7da85ea.module.md5 +0 -1
  40. package/local-maven-repo/host/exp/exponent/expo.modules.filesystem/19.0.21-canary-20251211-7da85ea/expo.modules.filesystem-19.0.21-canary-20251211-7da85ea.module.sha1 +0 -1
  41. package/local-maven-repo/host/exp/exponent/expo.modules.filesystem/19.0.21-canary-20251211-7da85ea/expo.modules.filesystem-19.0.21-canary-20251211-7da85ea.module.sha256 +0 -1
  42. package/local-maven-repo/host/exp/exponent/expo.modules.filesystem/19.0.21-canary-20251211-7da85ea/expo.modules.filesystem-19.0.21-canary-20251211-7da85ea.module.sha512 +0 -1
  43. package/local-maven-repo/host/exp/exponent/expo.modules.filesystem/19.0.21-canary-20251211-7da85ea/expo.modules.filesystem-19.0.21-canary-20251211-7da85ea.pom.md5 +0 -1
  44. package/local-maven-repo/host/exp/exponent/expo.modules.filesystem/19.0.21-canary-20251211-7da85ea/expo.modules.filesystem-19.0.21-canary-20251211-7da85ea.pom.sha1 +0 -1
  45. package/local-maven-repo/host/exp/exponent/expo.modules.filesystem/19.0.21-canary-20251211-7da85ea/expo.modules.filesystem-19.0.21-canary-20251211-7da85ea.pom.sha256 +0 -1
  46. package/local-maven-repo/host/exp/exponent/expo.modules.filesystem/19.0.21-canary-20251211-7da85ea/expo.modules.filesystem-19.0.21-canary-20251211-7da85ea.pom.sha512 +0 -1
  47. /package/local-maven-repo/host/exp/exponent/expo.modules.filesystem/{19.0.21-canary-20251211-7da85ea/expo.modules.filesystem-19.0.21-canary-20251211-7da85ea-sources.jar → 19.0.21/expo.modules.filesystem-19.0.21-sources.jar} +0 -0
  48. /package/local-maven-repo/host/exp/exponent/expo.modules.filesystem/{19.0.21-canary-20251211-7da85ea/expo.modules.filesystem-19.0.21-canary-20251211-7da85ea-sources.jar.md5 → 19.0.21/expo.modules.filesystem-19.0.21-sources.jar.md5} +0 -0
  49. /package/local-maven-repo/host/exp/exponent/expo.modules.filesystem/{19.0.21-canary-20251211-7da85ea/expo.modules.filesystem-19.0.21-canary-20251211-7da85ea-sources.jar.sha1 → 19.0.21/expo.modules.filesystem-19.0.21-sources.jar.sha1} +0 -0
  50. /package/local-maven-repo/host/exp/exponent/expo.modules.filesystem/{19.0.21-canary-20251211-7da85ea/expo.modules.filesystem-19.0.21-canary-20251211-7da85ea-sources.jar.sha256 → 19.0.21/expo.modules.filesystem-19.0.21-sources.jar.sha256} +0 -0
  51. /package/local-maven-repo/host/exp/exponent/expo.modules.filesystem/{19.0.21-canary-20251211-7da85ea/expo.modules.filesystem-19.0.21-canary-20251211-7da85ea-sources.jar.sha512 → 19.0.21/expo.modules.filesystem-19.0.21-sources.jar.sha512} +0 -0
package/CHANGELOG.md CHANGED
@@ -10,13 +10,15 @@
10
10
 
11
11
  ### 💡 Others
12
12
 
13
- - [Android] Add `android:maxSdkVersion` annotation to `READ_EXTERNAL_STORAGE` and `WRITE_EXTERNAL_STORAGE` permissions. ([#40976](https://github.com/expo/expo/pull/40976) by [@behenate](https://github.com/behenate))
13
+ ## 19.0.21 2025-12-12
14
14
 
15
- ## 19.0.20 - 2025-12-05
15
+ _This version does not introduce any user-facing changes._
16
+
17
+ ## 19.0.20 — 2025-12-05
16
18
 
17
19
  _This version does not introduce any user-facing changes._
18
20
 
19
- ## 19.0.19 - 2025-11-18
21
+ ## 19.0.19 2025-11-18
20
22
 
21
23
  ### 🎉 New features
22
24
 
@@ -26,29 +28,28 @@ _This version does not introduce any user-facing changes._
26
28
 
27
29
  - [iOS] Add missing `createFile` and `createDirectory` methods. ([#40314](https://github.com/expo/expo/pull/40314) by [@jakex7](https://github.com/jakex7))
28
30
 
29
- ## 19.0.18 - 2025-11-17
31
+ ## 19.0.18 2025-11-17
30
32
 
31
33
  _This version does not introduce any user-facing changes._
32
34
 
33
- ## 19.0.17 - 2025-10-09
35
+ ## 19.0.17 2025-10-09
34
36
 
35
37
  ### 🐛 Bug fixes
36
38
 
37
39
  - [Android] Fix recursive file deletion. ([#40248](https://github.com/expo/expo/pull/40248) by [@aleqsio](https://github.com/aleqsio))
38
40
 
39
- ## 19.0.16 - 2025-10-01
41
+ ## 19.0.16 2025-10-01
40
42
 
41
43
  ### 🎉 New features
42
44
 
43
45
  - Add write options for base64 encoded bytes. ([#39963](https://github.com/expo/expo/pull/39963) by [@aleqsio](https://github.com/aleqsio))
44
- - [iOS] Add file sharing config options ([#39286](https://github.com/expo/expo/pull/39286) by [@kosmydel](https://github.com/kosmydel))
45
46
 
46
47
  ### 🐛 Bug fixes
47
48
 
48
49
  - Fix typedoc in the File class. ([#40064](https://github.com/expo/expo/pull/40064) by [@aleqsio](https://github.com/aleqsio))
49
50
  - [Android] Fix getContentUri. ([#40001](https://github.com/expo/expo/pull/40001) by [@aleqsio](https://github.com/aleqsio))
50
51
 
51
- ## 19.0.15 - 2025-09-22
52
+ ## 19.0.15 2025-09-22
52
53
 
53
54
  ### 🎉 New features
54
55
 
@@ -4,13 +4,13 @@ plugins {
4
4
  }
5
5
 
6
6
  group = 'host.exp.exponent'
7
- version = '19.0.21-canary-20251211-7da85ea'
7
+ version = '19.0.21'
8
8
 
9
9
  android {
10
10
  namespace "expo.modules.filesystem"
11
11
  defaultConfig {
12
12
  versionCode 30
13
- versionName "19.0.21-canary-20251211-7da85ea"
13
+ versionName "19.0.21"
14
14
  }
15
15
  }
16
16
 
@@ -1,7 +1,7 @@
1
1
  <manifest xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools">
2
2
  <uses-permission android:name="android.permission.INTERNET"/>
3
- <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" android:maxSdkVersion="32" />
4
- <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" android:maxSdkVersion="32" />
3
+ <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
4
+ <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
5
5
  <application>
6
6
  <provider tools:replace="android:authorities" android:name=".FileSystemFileProvider" android:authorities="${applicationId}.FileSystemFileProvider" android:exported="false" android:grantUriPermissions="true">
7
7
  <meta-data android:name="android.support.FILE_PROVIDER_PATHS" android:resource="@xml/file_system_provider_paths" />
@@ -1,18 +1,16 @@
1
1
  import { NativeModule } from 'expo-modules-core';
2
- import type { Directory, File, DownloadOptions, PathInfo } from './ExpoFileSystem.types';
2
+ import type { Directory, File, DownloadOptions } from './ExpoFileSystem.types';
3
3
  declare class ExpoFileSystemModule extends NativeModule {
4
4
  FileSystemDirectory: typeof Directory;
5
5
  FileSystemFile: typeof File;
6
6
  downloadFileAsync(url: string, destination: File | Directory, options?: DownloadOptions): Promise<string>;
7
7
  pickDirectoryAsync(initialUri?: string): Promise<Directory>;
8
8
  pickFileAsync(initialUri?: string, mimeType?: string): Promise<File>;
9
- info(uri: string): PathInfo;
10
9
  totalDiskSpace: number;
11
10
  availableDiskSpace: number;
12
11
  documentDirectory: string;
13
12
  cacheDirectory: string;
14
13
  bundleDirectory: string;
15
- appleSharedContainers?: Record<string, string>;
16
14
  }
17
15
  declare const _default: ExpoFileSystemModule;
18
16
  export default _default;
@@ -1 +1 @@
1
- {"version":3,"file":"ExpoFileSystem.d.ts","sourceRoot":"","sources":["../src/ExpoFileSystem.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAuB,MAAM,mBAAmB,CAAC;AAEtE,OAAO,KAAK,EAAE,SAAS,EAAE,IAAI,EAAE,eAAe,EAAE,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAEzF,OAAO,OAAO,oBAAqB,SAAQ,YAAY;IACrD,mBAAmB,EAAE,OAAO,SAAS,CAAC;IACtC,cAAc,EAAE,OAAO,IAAI,CAAC;IAC5B,iBAAiB,CACf,GAAG,EAAE,MAAM,EACX,WAAW,EAAE,IAAI,GAAG,SAAS,EAC7B,OAAO,CAAC,EAAE,eAAe,GACxB,OAAO,CAAC,MAAM,CAAC;IAClB,kBAAkB,CAAC,UAAU,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,SAAS,CAAC;IAC3D,aAAa,CAAC,UAAU,CAAC,EAAE,MAAM,EAAE,QAAQ,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IACpE,IAAI,CAAC,GAAG,EAAE,MAAM,GAAG,QAAQ;IAC3B,cAAc,EAAE,MAAM,CAAC;IACvB,kBAAkB,EAAE,MAAM,CAAC;IAC3B,iBAAiB,EAAE,MAAM,CAAC;IAC1B,cAAc,EAAE,MAAM,CAAC;IACvB,eAAe,EAAE,MAAM,CAAC;IACxB,qBAAqB,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;CAChD;;AAED,wBAAuE"}
1
+ {"version":3,"file":"ExpoFileSystem.d.ts","sourceRoot":"","sources":["../src/ExpoFileSystem.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAuB,MAAM,mBAAmB,CAAC;AAEtE,OAAO,KAAK,EAAE,SAAS,EAAE,IAAI,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AAE/E,OAAO,OAAO,oBAAqB,SAAQ,YAAY;IACrD,mBAAmB,EAAE,OAAO,SAAS,CAAC;IACtC,cAAc,EAAE,OAAO,IAAI,CAAC;IAC5B,iBAAiB,CACf,GAAG,EAAE,MAAM,EACX,WAAW,EAAE,IAAI,GAAG,SAAS,EAC7B,OAAO,CAAC,EAAE,eAAe,GACxB,OAAO,CAAC,MAAM,CAAC;IAClB,kBAAkB,CAAC,UAAU,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,SAAS,CAAC;IAC3D,aAAa,CAAC,UAAU,CAAC,EAAE,MAAM,EAAE,QAAQ,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IACpE,cAAc,EAAE,MAAM,CAAC;IACvB,kBAAkB,EAAE,MAAM,CAAC;IAC3B,iBAAiB,EAAE,MAAM,CAAC;IAC1B,cAAc,EAAE,MAAM,CAAC;IACvB,eAAe,EAAE,MAAM,CAAC;CACzB;;AAED,wBAAuE"}
@@ -12,7 +12,7 @@
12
12
  "publication": {
13
13
  "groupId": "host.exp.exponent",
14
14
  "artifactId": "expo.modules.filesystem",
15
- "version": "19.0.21-canary-20251211-7da85ea",
15
+ "version": "19.0.21",
16
16
  "repository": "local-maven-repo"
17
17
  }
18
18
  }
@@ -143,11 +143,11 @@ public final class FileSystemModule: Module {
143
143
  output.exists = false
144
144
  output.isDirectory = nil
145
145
 
146
- guard let fileSystemManager = appContext?.fileSystem else {
146
+ guard let permissionsManager: EXFilePermissionModuleInterface = appContext?.legacyModule(implementing: EXFilePermissionModuleInterface.self) else {
147
147
  return output
148
148
  }
149
149
 
150
- if fileSystemManager.getPathPermissions(url.path).contains(.read) {
150
+ if permissionsManager.getPathPermissions(url.path).contains(.read) {
151
151
  var isDirectory: ObjCBool = false
152
152
  if FileManager.default.fileExists(atPath: url.path, isDirectory: &isDirectory) {
153
153
  output.exists = true
@@ -60,10 +60,10 @@ internal func getResourceValues(from directory: URL?, forKeys: Set<URLResourceKe
60
60
  }
61
61
 
62
62
  internal func ensurePathPermission(_ appContext: AppContext?, path: String, flag: EXFileSystemPermissionFlags) throws {
63
- guard let fileSystemManager = appContext?.fileSystem else {
63
+ guard let permissionsManager: EXFilePermissionModuleInterface = appContext?.legacyModule(implementing: EXFilePermissionModuleInterface.self) else {
64
64
  throw Exceptions.PermissionsModuleNotFound()
65
65
  }
66
- guard fileSystemManager.getPathPermissions(path).contains(flag) else {
66
+ guard permissionsManager.getPathPermissions(path).contains(flag) else {
67
67
  throw flag == .read ? FileNotReadableException(path) : FileNotWritableException(path)
68
68
  }
69
69
  }
@@ -0,0 +1 @@
1
+ addebabe9511120923e9a0f4490c31306162dc95ae60cb64867a27847d99dfaf
@@ -0,0 +1 @@
1
+ 66cca546f6f55437628c6fad443bb817e5c0eef007414292fed3f907c68b11d718a3f3d816ee0ea78835567fdaa5686f525ab9f1a27137d5f799b9459d9719d1
@@ -3,14 +3,14 @@
3
3
  "component": {
4
4
  "group": "host.exp.exponent",
5
5
  "module": "expo.modules.filesystem",
6
- "version": "19.0.21-canary-20251211-7da85ea",
6
+ "version": "19.0.21",
7
7
  "attributes": {
8
8
  "org.gradle.status": "release"
9
9
  }
10
10
  },
11
11
  "createdBy": {
12
12
  "gradle": {
13
- "version": "9.0.0"
13
+ "version": "8.14.3"
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.21-canary-20251211-7da85ea.aar",
79
- "url": "expo.modules.filesystem-19.0.21-canary-20251211-7da85ea.aar",
80
- "size": 393132,
81
- "sha512": "a5291613c37278eb20f359b7119621e1046f0c6499b8ba8d98bc7dd3eb3a180312f35de230e1c1c273342e6567dbf98c09f36de8ab54150af58f78e1193d0811",
82
- "sha256": "64296d18c5609bd13c32abe79e4cdbc2baa25ceae129b62531a15bf5c68f8a64",
83
- "sha1": "bc51c8dda80dd8be7a700052d158bae50d9e6d13",
84
- "md5": "d1496f79ec35ab85452ff33b608b13fd"
78
+ "name": "expo.modules.filesystem-19.0.21.aar",
79
+ "url": "expo.modules.filesystem-19.0.21.aar",
80
+ "size": 393129,
81
+ "sha512": "66cca546f6f55437628c6fad443bb817e5c0eef007414292fed3f907c68b11d718a3f3d816ee0ea78835567fdaa5686f525ab9f1a27137d5f799b9459d9719d1",
82
+ "sha256": "addebabe9511120923e9a0f4490c31306162dc95ae60cb64867a27847d99dfaf",
83
+ "sha1": "0d42a8415fa94ce162b33e740bb63f1602d7cc21",
84
+ "md5": "083a9a998bd18c4424272ba3827a26ee"
85
85
  }
86
86
  ]
87
87
  },
@@ -153,13 +153,13 @@
153
153
  ],
154
154
  "files": [
155
155
  {
156
- "name": "expo.modules.filesystem-19.0.21-canary-20251211-7da85ea.aar",
157
- "url": "expo.modules.filesystem-19.0.21-canary-20251211-7da85ea.aar",
158
- "size": 393132,
159
- "sha512": "a5291613c37278eb20f359b7119621e1046f0c6499b8ba8d98bc7dd3eb3a180312f35de230e1c1c273342e6567dbf98c09f36de8ab54150af58f78e1193d0811",
160
- "sha256": "64296d18c5609bd13c32abe79e4cdbc2baa25ceae129b62531a15bf5c68f8a64",
161
- "sha1": "bc51c8dda80dd8be7a700052d158bae50d9e6d13",
162
- "md5": "d1496f79ec35ab85452ff33b608b13fd"
156
+ "name": "expo.modules.filesystem-19.0.21.aar",
157
+ "url": "expo.modules.filesystem-19.0.21.aar",
158
+ "size": 393129,
159
+ "sha512": "66cca546f6f55437628c6fad443bb817e5c0eef007414292fed3f907c68b11d718a3f3d816ee0ea78835567fdaa5686f525ab9f1a27137d5f799b9459d9719d1",
160
+ "sha256": "addebabe9511120923e9a0f4490c31306162dc95ae60cb64867a27847d99dfaf",
161
+ "sha1": "0d42a8415fa94ce162b33e740bb63f1602d7cc21",
162
+ "md5": "083a9a998bd18c4424272ba3827a26ee"
163
163
  }
164
164
  ]
165
165
  },
@@ -173,8 +173,8 @@
173
173
  },
174
174
  "files": [
175
175
  {
176
- "name": "expo.modules.filesystem-19.0.21-canary-20251211-7da85ea-sources.jar",
177
- "url": "expo.modules.filesystem-19.0.21-canary-20251211-7da85ea-sources.jar",
176
+ "name": "expo.modules.filesystem-19.0.21-sources.jar",
177
+ "url": "expo.modules.filesystem-19.0.21-sources.jar",
178
178
  "size": 29329,
179
179
  "sha512": "6cac7b2fa58a18696e1468e4e9afe7e6092ca1a404351400345349e028cbaeda51386f4303d05372a2be2baf8de77fd97490ea91caa74bfc2a8cfe7b62619bfe",
180
180
  "sha256": "4177d9bd9a22a528b97cc2f2bd7ba47f6cbf7fb1c09d93a1cacdce6f553b05d6",
@@ -0,0 +1 @@
1
+ 310d00e93ecdea91b7ae525e36efb3ed08b5d7b1bbdda2ed7d332c3e1cc8e4df
@@ -0,0 +1 @@
1
+ 14433a3082cfc2243753b6b0bce12c20e1efae455704e1cbac876b0451f9c67931560e448bbb117e359296b6187301403193881cf5d911cd8852e8c9e6cc8128
@@ -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.21-canary-20251211-7da85ea</version>
12
+ <version>19.0.21</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
+ 5c29855dbddfc5a34f6b9518a3b090a782adc062910b1c72b15a9c7fbcb42079
@@ -0,0 +1 @@
1
+ b008eeea7225cdef6329cc1b9d8979e72c18049e79cfddcdbe84a55a9928729f0e9cc6b8fdbdf63dbd67df8c7dd2e17f7054442d6f9cf4618bbcbf32e060e8b4
@@ -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.21-canary-20251211-7da85ea</latest>
7
- <release>19.0.21-canary-20251211-7da85ea</release>
6
+ <latest>19.0.21</latest>
7
+ <release>19.0.21</release>
8
8
  <versions>
9
- <version>19.0.21-canary-20251211-7da85ea</version>
9
+ <version>19.0.21</version>
10
10
  </versions>
11
- <lastUpdated>20251211212346</lastUpdated>
11
+ <lastUpdated>20251212085511</lastUpdated>
12
12
  </versioning>
13
13
  </metadata>
@@ -1 +1 @@
1
- 303a76c7c92511131640d18f78686555
1
+ 2c078e361a0394f908d43a21f0ef5c81
@@ -1 +1 @@
1
- 28dd41449d2fb47b818ab8e5e156bd5be1995917
1
+ 95b3b875518eca8b712fc5a7536b6c59fd85ce04
@@ -1 +1 @@
1
- 5d34e9d031712acd8cc34acd2bf03f0de73df1f6d5429b2c145d0a0ee5d3f298
1
+ f3642f5acb76a95f82e1d965270cba67bc8012ee3d4cb42746193dcccc599582
@@ -1 +1 @@
1
- 6f94fbbedcf0144279b44b676e90312349a9cace8a61d159b364ceb3ab8cdab73087c6b17574e59a2f1b5eab4c0bf7a424861ddd344523f76d44da19aacff6f7
1
+ 99deafff9d0d0defe25e607fa5241bdc789397ddd37eabfe53d9bf05497fb3949f87c07761b4a1afc81396ff6b76c7bbad1913984ada578c3df77c7f494c0428
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "expo-file-system",
3
- "version": "19.0.21-canary-20251211-7da85ea",
3
+ "version": "19.0.21",
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,11 +35,12 @@
35
35
  "preset": "expo-module-scripts"
36
36
  },
37
37
  "devDependencies": {
38
- "expo-module-scripts": "5.1.0-canary-20251211-7da85ea",
39
- "jest-expo": "55.0.0-canary-20251211-7da85ea"
38
+ "expo-module-scripts": "^5.0.8",
39
+ "jest-expo": "~54.0.16"
40
40
  },
41
41
  "peerDependencies": {
42
- "expo": "55.0.0-canary-20251211-7da85ea",
42
+ "expo": "*",
43
43
  "react-native": "*"
44
- }
44
+ },
45
+ "gitHead": "599ebc94db5c972f961641db9aa33e2964498c42"
45
46
  }
@@ -1,7 +1,3 @@
1
1
  import { ConfigPlugin } from 'expo/config-plugins';
2
- type FileSystemProps = {
3
- supportsOpeningDocumentsInPlace?: boolean;
4
- enableFileSharing?: boolean;
5
- };
6
- declare const _default: ConfigPlugin<FileSystemProps>;
2
+ declare const _default: ConfigPlugin<void>;
7
3
  export default _default;
@@ -2,22 +2,11 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const config_plugins_1 = require("expo/config-plugins");
4
4
  const pkg = require('expo-file-system/package.json');
5
- const withFileSystem = (config, options = {}) => {
6
- // Apply Android permissions
7
- config = config_plugins_1.AndroidConfig.Permissions.withPermissions(config, [
5
+ const withFileSystem = (config) => {
6
+ return config_plugins_1.AndroidConfig.Permissions.withPermissions(config, [
8
7
  'android.permission.READ_EXTERNAL_STORAGE',
9
8
  'android.permission.WRITE_EXTERNAL_STORAGE',
10
9
  'android.permission.INTERNET',
11
10
  ]);
12
- // Apply iOS modifications
13
- return (0, config_plugins_1.withInfoPlist)(config, (config) => {
14
- if ('supportsOpeningDocumentsInPlace' in options) {
15
- config.modResults.LSSupportsOpeningDocumentsInPlace = options.supportsOpeningDocumentsInPlace;
16
- }
17
- if ('enableFileSharing' in options) {
18
- config.modResults.UIFileSharingEnabled = options.enableFileSharing;
19
- }
20
- return config;
21
- });
22
11
  };
23
12
  exports.default = (0, config_plugins_1.createRunOncePlugin)(withFileSystem, pkg.name, pkg.version);
@@ -1,35 +1,13 @@
1
- import {
2
- AndroidConfig,
3
- ConfigPlugin,
4
- createRunOncePlugin,
5
- withInfoPlist,
6
- } from 'expo/config-plugins';
1
+ import { AndroidConfig, ConfigPlugin, createRunOncePlugin } from 'expo/config-plugins';
7
2
 
8
3
  const pkg = require('expo-file-system/package.json');
9
4
 
10
- type FileSystemProps = {
11
- supportsOpeningDocumentsInPlace?: boolean;
12
- enableFileSharing?: boolean;
13
- };
14
-
15
- const withFileSystem: ConfigPlugin<FileSystemProps> = (config, options = {}) => {
16
- // Apply Android permissions
17
- config = AndroidConfig.Permissions.withPermissions(config, [
5
+ const withFileSystem: ConfigPlugin = (config) => {
6
+ return AndroidConfig.Permissions.withPermissions(config, [
18
7
  'android.permission.READ_EXTERNAL_STORAGE',
19
8
  'android.permission.WRITE_EXTERNAL_STORAGE',
20
9
  'android.permission.INTERNET',
21
10
  ]);
22
-
23
- // Apply iOS modifications
24
- return withInfoPlist(config, (config) => {
25
- if ('supportsOpeningDocumentsInPlace' in options) {
26
- config.modResults.LSSupportsOpeningDocumentsInPlace = options.supportsOpeningDocumentsInPlace;
27
- }
28
- if ('enableFileSharing' in options) {
29
- config.modResults.UIFileSharingEnabled = options.enableFileSharing;
30
- }
31
- return config;
32
- });
33
11
  };
34
12
 
35
13
  export default createRunOncePlugin(withFileSystem, pkg.name, pkg.version);
@@ -1,6 +1,6 @@
1
1
  import { NativeModule, requireNativeModule } from 'expo-modules-core';
2
2
 
3
- import type { Directory, File, DownloadOptions, PathInfo } from './ExpoFileSystem.types';
3
+ import type { Directory, File, DownloadOptions } from './ExpoFileSystem.types';
4
4
 
5
5
  declare class ExpoFileSystemModule extends NativeModule {
6
6
  FileSystemDirectory: typeof Directory;
@@ -12,13 +12,11 @@ declare class ExpoFileSystemModule extends NativeModule {
12
12
  ): Promise<string>;
13
13
  pickDirectoryAsync(initialUri?: string): Promise<Directory>;
14
14
  pickFileAsync(initialUri?: string, mimeType?: string): Promise<File>;
15
- info(uri: string): PathInfo;
16
15
  totalDiskSpace: number;
17
16
  availableDiskSpace: number;
18
17
  documentDirectory: string;
19
18
  cacheDirectory: string;
20
19
  bundleDirectory: string;
21
- appleSharedContainers?: Record<string, string>;
22
20
  }
23
21
 
24
22
  export default requireNativeModule<ExpoFileSystemModule>('FileSystem');
@@ -1 +0,0 @@
1
- a5291613c37278eb20f359b7119621e1046f0c6499b8ba8d98bc7dd3eb3a180312f35de230e1c1c273342e6567dbf98c09f36de8ab54150af58f78e1193d0811
@@ -1 +0,0 @@
1
- be9cdb1bc6f72eaafe0dc44507f8211c7da092d3bbc06835ecc579d1ed7e9734e80c640bad58c3d2d262da4a1cd994abe5a644d0602502a5d1fe1d4984e2f9b9
@@ -1 +0,0 @@
1
- e6b60b8676f09a235b7b717c8d992cf9c84a5e7bac4a746f620796075c0f7140f34cb6ec04e1acfab53ae8c7860d4ec94da0f2c63b302dbeae300408876c16a8