expo-modules-core 3.0.8 → 3.0.9
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,12 @@
|
|
|
10
10
|
|
|
11
11
|
### 💡 Others
|
|
12
12
|
|
|
13
|
+
## 3.0.9 — 2025-08-28
|
|
14
|
+
|
|
15
|
+
### 🐛 Bug fixes
|
|
16
|
+
|
|
17
|
+
- [ios] Bring back correct scoping for Expo Go. ([#39186](https://github.com/expo/expo/pull/39186) by [@aleqsio](https://github.com/aleqsio))
|
|
18
|
+
|
|
13
19
|
## 3.0.8 — 2025-08-27
|
|
14
20
|
|
|
15
21
|
_This version does not introduce any user-facing changes._
|
package/android/build.gradle
CHANGED
|
@@ -25,7 +25,7 @@ if (shouldIncludeCompose) {
|
|
|
25
25
|
}
|
|
26
26
|
|
|
27
27
|
group = 'host.exp.exponent'
|
|
28
|
-
version = '3.0.
|
|
28
|
+
version = '3.0.9'
|
|
29
29
|
|
|
30
30
|
def isExpoModulesCoreTests = {
|
|
31
31
|
Gradle gradle = getGradle()
|
|
@@ -75,7 +75,7 @@ android {
|
|
|
75
75
|
defaultConfig {
|
|
76
76
|
consumerProguardFiles 'proguard-rules.pro'
|
|
77
77
|
versionCode 1
|
|
78
|
-
versionName "3.0.
|
|
78
|
+
versionName "3.0.9"
|
|
79
79
|
buildConfigField "String", "EXPO_MODULES_CORE_VERSION", "\"${versionName}\""
|
|
80
80
|
buildConfigField "boolean", "IS_NEW_ARCHITECTURE_ENABLED", isNewArchitectureEnabled.toString()
|
|
81
81
|
|
|
@@ -4,10 +4,12 @@ public struct AppContextConfig {
|
|
|
4
4
|
public let documentDirectory: URL?
|
|
5
5
|
public let cacheDirectory: URL?
|
|
6
6
|
public let appGroupSharedDirectories: [URL]
|
|
7
|
+
public let scoped: Bool
|
|
7
8
|
|
|
8
9
|
public init(documentDirectory: URL?, cacheDirectory: URL?, appGroups: [String]?) {
|
|
9
10
|
self.documentDirectory = documentDirectory ?? FileManager.default.urls(for: .documentDirectory, in: .userDomainMask).first
|
|
10
11
|
self.cacheDirectory = cacheDirectory ?? FileManager.default.urls(for: .cachesDirectory, in: .userDomainMask).first
|
|
12
|
+
self.scoped = documentDirectory != nil ? true : false
|
|
11
13
|
|
|
12
14
|
var sharedDirectories: [URL] = []
|
|
13
15
|
for appGroup in appGroups ?? [] {
|
|
@@ -56,7 +56,7 @@ public struct FileSystemUtilities {
|
|
|
56
56
|
if !permissionForInternalDirs.contains(.none) {
|
|
57
57
|
return permissionForInternalDirs
|
|
58
58
|
}
|
|
59
|
-
return getExternalPathPermissions(path)
|
|
59
|
+
return getExternalPathPermissions(path, appContext)
|
|
60
60
|
}
|
|
61
61
|
|
|
62
62
|
private static func getInternalPathPermissions(_ appContext: AppContext?, for url: URL) -> [FileSystemPermissionFlags] {
|
|
@@ -84,7 +84,10 @@ public struct FileSystemUtilities {
|
|
|
84
84
|
return [.none]
|
|
85
85
|
}
|
|
86
86
|
|
|
87
|
-
private static func getExternalPathPermissions(_ url: URL) -> [FileSystemPermissionFlags] {
|
|
87
|
+
private static func getExternalPathPermissions(_ url: URL, _ appContext: AppContext?) -> [FileSystemPermissionFlags] {
|
|
88
|
+
if appContext?.config.scoped ?? false && url.path.contains("ExponentExperienceData") {
|
|
89
|
+
return []
|
|
90
|
+
}
|
|
88
91
|
var filePermissions: [FileSystemPermissionFlags] = []
|
|
89
92
|
|
|
90
93
|
if FileManager.default.isReadableFile(atPath: url.path) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "expo-modules-core",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.9",
|
|
4
4
|
"description": "The core of Expo Modules architecture",
|
|
5
5
|
"main": "src/index.ts",
|
|
6
6
|
"types": "build/index.d.ts",
|
|
@@ -63,7 +63,7 @@
|
|
|
63
63
|
},
|
|
64
64
|
"devDependencies": {
|
|
65
65
|
"@testing-library/react-native": "^13.2.0",
|
|
66
|
-
"expo-module-scripts": "^5.0.
|
|
66
|
+
"expo-module-scripts": "^5.0.5"
|
|
67
67
|
},
|
|
68
|
-
"gitHead": "
|
|
68
|
+
"gitHead": "5e15f3a5d68bc213ad36d59113d725fdea4f3411"
|
|
69
69
|
}
|