expo-sharing 11.9.0 → 11.10.0
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 +6 -0
- package/android/build.gradle +2 -2
- package/ios/SharingModule.swift +2 -7
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -10,6 +10,12 @@
|
|
|
10
10
|
|
|
11
11
|
### 💡 Others
|
|
12
12
|
|
|
13
|
+
## 11.10.0 — 2023-12-12
|
|
14
|
+
|
|
15
|
+
### 💡 Others
|
|
16
|
+
|
|
17
|
+
- [iOS] Replace legacy `FileSystem` interfaces usage with core `FileSystemUtilities`. ([#25495](https://github.com/expo/expo/pull/25495) by [@alanhughes](https://github.com/alanjhughes))
|
|
18
|
+
|
|
13
19
|
## 11.9.0 — 2023-11-14
|
|
14
20
|
|
|
15
21
|
### 🛠 Breaking changes
|
package/android/build.gradle
CHANGED
|
@@ -3,7 +3,7 @@ apply plugin: 'kotlin-android'
|
|
|
3
3
|
apply plugin: 'maven-publish'
|
|
4
4
|
|
|
5
5
|
group = 'host.exp.exponent'
|
|
6
|
-
version = '11.
|
|
6
|
+
version = '11.10.0'
|
|
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.sharing"
|
|
95
95
|
defaultConfig {
|
|
96
96
|
versionCode 16
|
|
97
|
-
versionName '11.
|
|
97
|
+
versionName '11.10.0'
|
|
98
98
|
}
|
|
99
99
|
}
|
|
100
100
|
|
package/ios/SharingModule.swift
CHANGED
|
@@ -6,14 +6,9 @@ public final class SharingModule: Module {
|
|
|
6
6
|
Name("ExpoSharing")
|
|
7
7
|
|
|
8
8
|
AsyncFunction("shareAsync") { (url: URL, options: SharingOptions, promise: Promise) in
|
|
9
|
-
|
|
10
|
-
appContext?.legacyModule(implementing: EXFilePermissionModuleInterface.self)
|
|
11
|
-
else {
|
|
12
|
-
throw FilePermissionModuleException()
|
|
13
|
-
}
|
|
9
|
+
let grantedPermissions = FileSystemUtilities.permissions(appContext, for: url)
|
|
14
10
|
|
|
15
|
-
|
|
16
|
-
guard grantedPermissions.rawValue >= EXFileSystemPermissionFlags.read.rawValue else {
|
|
11
|
+
guard grantedPermissions.contains(.read) else {
|
|
17
12
|
throw FilePermissionException()
|
|
18
13
|
}
|
|
19
14
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "expo-sharing",
|
|
3
|
-
"version": "11.
|
|
3
|
+
"version": "11.10.0",
|
|
4
4
|
"description": "ExpoSharing standalone module",
|
|
5
5
|
"main": "build/Sharing.js",
|
|
6
6
|
"types": "build/Sharing.d.ts",
|
|
@@ -37,5 +37,5 @@
|
|
|
37
37
|
"peerDependencies": {
|
|
38
38
|
"expo": "*"
|
|
39
39
|
},
|
|
40
|
-
"gitHead": "
|
|
40
|
+
"gitHead": "6aca7ce098ddc667776a3d7cf612adbb985e264a"
|
|
41
41
|
}
|