expo-file-system 16.0.3 → 16.0.5

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
@@ -10,6 +10,16 @@
10
10
 
11
11
  ### 💡 Others
12
12
 
13
+ ## 16.0.5 — 2024-01-23
14
+
15
+ ### 🐛 Bug fixes
16
+
17
+ - On `iOS`, set `httpMethod` on upload requests. ([#26516](https://github.com/expo/expo/pull/26516) by [@alanjhughes](https://github.com/alanjhughes))
18
+
19
+ ## 16.0.4 — 2024-01-18
20
+
21
+ _This version does not introduce any user-facing changes._
22
+
13
23
  ## 16.0.3 — 2024-01-10
14
24
 
15
25
  ### 🎉 New features
@@ -3,7 +3,7 @@ apply plugin: 'kotlin-android'
3
3
  apply plugin: 'maven-publish'
4
4
 
5
5
  group = 'host.exp.exponent'
6
- version = '16.0.3'
6
+ version = '16.0.5'
7
7
 
8
8
  def expoModulesCorePlugin = new File(project(":expo-modules-core").projectDir.absolutePath, "ExpoModulesCorePlugin.gradle")
9
9
  if (expoModulesCorePlugin.exists()) {
@@ -94,7 +94,7 @@ android {
94
94
  namespace "expo.modules.filesystem"
95
95
  defaultConfig {
96
96
  versionCode 30
97
- versionName "16.0.3"
97
+ versionName "16.0.5"
98
98
  }
99
99
  }
100
100
 
@@ -1,7 +1,6 @@
1
1
  {
2
- "name": "expo-file-system",
3
- "platforms": ["ios", "android", "macos", "tvos"],
4
- "ios": {
2
+ "platforms": ["apple", "android"],
3
+ "apple": {
5
4
  "modules": ["FileSystemModule"],
6
5
  "appDelegateSubscribers": ["FileSystemBackgroundSessionHandler"]
7
6
  },
@@ -32,6 +32,7 @@ func createUrlRequest(url: URL, headers: [String: String]?) -> URLRequest {
32
32
 
33
33
  func createUploadTask(session: URLSession, targetUrl: URL, sourceUrl: URL, options: UploadOptions) -> URLSessionUploadTask {
34
34
  var request = createUrlRequest(url: targetUrl, headers: options.headers)
35
+ request.httpMethod = options.httpMethod.rawValue
35
36
 
36
37
  switch options.uploadType {
37
38
  case .binaryContent:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "expo-file-system",
3
- "version": "16.0.3",
3
+ "version": "16.0.5",
4
4
  "description": "Provides access to the local file system on the device.",
5
5
  "main": "build/index.js",
6
6
  "types": "build/index.d.ts",
@@ -41,5 +41,5 @@
41
41
  "peerDependencies": {
42
42
  "expo": "*"
43
43
  },
44
- "gitHead": "ca014bf2516c7644ef303f4c21fdd68de4d99f76"
44
+ "gitHead": "7fb94e3c0598d0e2d428184b16eec5ec67d80388"
45
45
  }