expo-file-system 18.1.0-canary-20250207-8bc5146 → 19.0.0-canary-20250219-4a5dade
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 +2 -0
- package/android/build.gradle +3 -19
- package/ios/ExpoFileSystem.podspec +1 -1
- package/ios/FileSystemHelpers.swift +1 -1
- package/ios/FileSystemModule.swift +3 -1
- package/ios/Next/FileSystemFileHandle.swift +1 -1
- package/ios/Next/FileSystemNextModule.swift +1 -1
- package/package.json +5 -5
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,8 @@
|
|
|
4
4
|
|
|
5
5
|
### 🛠 Breaking changes
|
|
6
6
|
|
|
7
|
+
- Bump minimum macOS version to 11.0. ([#34980](https://github.com/expo/expo/pull/34980) by [@gabrieldonadel](https://github.com/gabrieldonadel))
|
|
8
|
+
|
|
7
9
|
### 🎉 New features
|
|
8
10
|
|
|
9
11
|
- [expo-file-system][next] Add options to the create function. ([#32909](https://github.com/expo/expo/pull/32909) by [@aleqsio](https://github.com/aleqsio))
|
package/android/build.gradle
CHANGED
|
@@ -1,22 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
def expoModulesCorePlugin = new File(project(":expo-modules-core").projectDir.absolutePath, "ExpoModulesCorePlugin.gradle")
|
|
5
|
-
apply from: expoModulesCorePlugin
|
|
6
|
-
applyKotlinExpoModulesCorePlugin()
|
|
7
|
-
useCoreDependencies()
|
|
8
|
-
useDefaultAndroidSdkVersions()
|
|
9
|
-
useExpoPublishing()
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
try {
|
|
13
|
-
apply plugin: 'expo-module-gradle-plugin'
|
|
14
|
-
} catch (e) {
|
|
15
|
-
if (!e instanceof UnknownPluginException) {
|
|
16
|
-
throw e
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
useLegacyExpoModulesCorePlugin()
|
|
1
|
+
plugins {
|
|
2
|
+
id 'com.android.library'
|
|
3
|
+
id 'expo-module-gradle-plugin'
|
|
20
4
|
}
|
|
21
5
|
|
|
22
6
|
group = 'host.exp.exponent'
|
|
@@ -102,7 +102,7 @@ internal func copyPHAsset(fromUrl: URL, toUrl: URL, with resourceManager: PHAsse
|
|
|
102
102
|
}
|
|
103
103
|
|
|
104
104
|
internal func isPhotoLibraryStatusAuthorized() -> Bool {
|
|
105
|
-
if #available(iOS 14,
|
|
105
|
+
if #available(iOS 14, tvOS 14, *) {
|
|
106
106
|
let status = PHPhotoLibrary.authorizationStatus(for: .readWrite)
|
|
107
107
|
return status == .authorized || status == .limited
|
|
108
108
|
}
|
|
@@ -7,7 +7,9 @@ private let EVENT_DOWNLOAD_PROGRESS = "expo-file-system.downloadProgress"
|
|
|
7
7
|
private let EVENT_UPLOAD_PROGRESS = "expo-file-system.uploadProgress"
|
|
8
8
|
|
|
9
9
|
public final class FileSystemModule: Module {
|
|
10
|
-
private lazy var sessionTaskDispatcher = EXSessionTaskDispatcher(
|
|
10
|
+
private lazy var sessionTaskDispatcher = EXSessionTaskDispatcher(
|
|
11
|
+
sessionHandler: ExpoAppDelegateSubscriberRepository.getSubscriberOfType(FileSystemBackgroundSessionHandler.self)
|
|
12
|
+
)
|
|
11
13
|
private lazy var taskHandlersManager = EXTaskHandlersManager()
|
|
12
14
|
private lazy var resourceManager = PHAssetResourceManager()
|
|
13
15
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "expo-file-system",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "19.0.0-canary-20250219-4a5dade",
|
|
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,15 +35,15 @@
|
|
|
35
35
|
"preset": "expo-module-scripts"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|
|
38
|
-
"expo-module-scripts": "4.0.
|
|
39
|
-
"jest-expo": "53.0.0-canary-
|
|
38
|
+
"expo-module-scripts": "4.0.5-canary-20250219-4a5dade",
|
|
39
|
+
"jest-expo": "53.0.0-canary-20250219-4a5dade"
|
|
40
40
|
},
|
|
41
41
|
"peerDependencies": {
|
|
42
|
-
"expo": "53.0.0-canary-
|
|
42
|
+
"expo": "53.0.0-canary-20250219-4a5dade",
|
|
43
43
|
"react-native": "*"
|
|
44
44
|
},
|
|
45
45
|
"dependencies": {
|
|
46
46
|
"web-streams-polyfill": "^3.3.2"
|
|
47
47
|
},
|
|
48
|
-
"gitHead": "
|
|
48
|
+
"gitHead": "4a5daded61d3d8b9d501059039ac74c09c25675b"
|
|
49
49
|
}
|