expo-store-review 8.0.2-canary-20250320-7a205d3 → 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,6 +8,8 @@
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))
@@ -10,10 +10,10 @@ public class StoreReviewModule: Module {
10
10
  }
11
11
 
12
12
  AsyncFunction("requestReview") {
13
- guard let currentScene = getForegroundActiveScene() else {
14
- throw MissingCurrentWindowSceneException()
15
- }
16
- Task { @MainActor in
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-20250320-7a205d3",
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,10 +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-20250320-7a205d3"
37
+ "expo-module-scripts": "4.0.5-canary-20250331-817737a"
38
38
  },
39
39
  "peerDependencies": {
40
- "expo": "53.0.0-canary-20250320-7a205d3",
40
+ "expo": "53.0.0-canary-20250331-817737a",
41
41
  "react-native": "*"
42
42
  }
43
43
  }