expo-store-review 8.0.2-canary-20250306-d9d3e02 → 8.0.2-canary-20250331-817737a
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
|
@@ -8,10 +8,13 @@
|
|
|
8
8
|
|
|
9
9
|
### 🐛 Bug fixes
|
|
10
10
|
|
|
11
|
+
- Fix activationState must be used from main thread only ([#35403](https://github.com/expo/expo/pull/35403) by [@dylancom](https://github.com/dylancom))
|
|
12
|
+
|
|
11
13
|
### 💡 Others
|
|
12
14
|
|
|
13
15
|
- [Android] Started using expo modules gradle plugin. ([#34176](https://github.com/expo/expo/pull/34176) by [@lukmccall](https://github.com/lukmccall))
|
|
14
16
|
- [apple] Migrate remaining `expo-module.config.json` to unified platform syntax. ([#34445](https://github.com/expo/expo/pull/34445) by [@reichhartd](https://github.com/reichhartd))
|
|
17
|
+
- [iOS] Fix warnings which will become errors in Swift 6. ([#35288](https://github.com/expo/expo/pull/35288) by [@behenate](https://github.com/behenate))
|
|
15
18
|
|
|
16
19
|
## 8.0.1 - 2025-01-10
|
|
17
20
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import ExpoModulesCore
|
|
2
2
|
|
|
3
|
-
internal class MissingCurrentWindowSceneException: Exception {
|
|
3
|
+
internal final class MissingCurrentWindowSceneException: Exception {
|
|
4
4
|
override var reason: String {
|
|
5
5
|
"Cannot determine the current window scene in which to present the modal for requesting a review."
|
|
6
6
|
}
|
|
@@ -10,10 +10,10 @@ public class StoreReviewModule: Module {
|
|
|
10
10
|
}
|
|
11
11
|
|
|
12
12
|
AsyncFunction("requestReview") {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
13
|
+
try await MainActor.run {
|
|
14
|
+
guard let currentScene = getForegroundActiveScene() else {
|
|
15
|
+
throw MissingCurrentWindowSceneException()
|
|
16
|
+
}
|
|
17
17
|
if #available(iOS 16.0, *) {
|
|
18
18
|
AppStore.requestReview(in: currentScene)
|
|
19
19
|
} else {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "expo-store-review",
|
|
3
|
-
"version": "8.0.2-canary-
|
|
3
|
+
"version": "8.0.2-canary-20250331-817737a",
|
|
4
4
|
"description": "Provides access to native APIs for in-app reviews.",
|
|
5
5
|
"main": "build/StoreReview.js",
|
|
6
6
|
"types": "build/StoreReview.d.ts",
|
|
@@ -34,11 +34,10 @@
|
|
|
34
34
|
"homepage": "https://docs.expo.dev/versions/latest/sdk/storereview/",
|
|
35
35
|
"dependencies": {},
|
|
36
36
|
"devDependencies": {
|
|
37
|
-
"expo-module-scripts": "4.0.5-canary-
|
|
37
|
+
"expo-module-scripts": "4.0.5-canary-20250331-817737a"
|
|
38
38
|
},
|
|
39
39
|
"peerDependencies": {
|
|
40
|
-
"expo": "53.0.0-canary-
|
|
40
|
+
"expo": "53.0.0-canary-20250331-817737a",
|
|
41
41
|
"react-native": "*"
|
|
42
|
-
}
|
|
43
|
-
"gitHead": "d9d3e024d8742099c307754673f17117a20c1dea"
|
|
42
|
+
}
|
|
44
43
|
}
|