expo-file-system 18.1.0-canary-20250131-5c4e588 → 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 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))
@@ -1,22 +1,6 @@
1
- apply plugin: 'com.android.library'
2
-
3
- def useLegacyExpoModulesCorePlugin = {
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'
@@ -12,7 +12,7 @@ Pod::Spec.new do |s|
12
12
  s.homepage = package['homepage']
13
13
  s.platforms = {
14
14
  :ios => '15.1',
15
- :osx => '10.15',
15
+ :osx => '11.0',
16
16
  :tvos => '15.1'
17
17
  }
18
18
  s.swift_version = '5.4'
@@ -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, macOS 11, tvOS 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(sessionHandler: ExpoAppDelegate.getSubscriberOfType(FileSystemBackgroundSessionHandler.self))
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
 
@@ -1,7 +1,7 @@
1
1
  import Foundation
2
2
  import ExpoModulesCore
3
3
 
4
- @available(iOS 14, macOS 11, tvOS 14, *)
4
+ @available(iOS 14, tvOS 14, *)
5
5
  internal final class FileSystemFileHandle: SharedRef<FileHandle> {
6
6
  let file: FileSystemFile
7
7
  let handle: FileHandle
@@ -2,7 +2,7 @@
2
2
 
3
3
  import ExpoModulesCore
4
4
 
5
- @available(iOS 14, macOS 11, tvOS 14, *)
5
+ @available(iOS 14, tvOS 14, *)
6
6
  public final class FileSystemNextModule: Module {
7
7
  public func definition() -> ModuleDefinition {
8
8
  Name("FileSystemNext")
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "expo-file-system",
3
- "version": "18.1.0-canary-20250131-5c4e588",
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,14 +35,15 @@
35
35
  "preset": "expo-module-scripts"
36
36
  },
37
37
  "devDependencies": {
38
- "expo-module-scripts": "4.0.4-canary-20250131-5c4e588",
39
- "jest-expo": "53.0.0-canary-20250131-5c4e588"
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-20250131-5c4e588",
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": "4a5daded61d3d8b9d501059039ac74c09c25675b"
48
49
  }