expo-store-review 7.0.1 → 7.0.2
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/StoreReviewModule.swift +2 -2
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -10,6 +10,12 @@
|
|
|
10
10
|
|
|
11
11
|
### 💡 Others
|
|
12
12
|
|
|
13
|
+
## 7.0.2 — 2024-05-02
|
|
14
|
+
|
|
15
|
+
### 🐛 Bug fixes
|
|
16
|
+
|
|
17
|
+
- fixes incorrect scene when multiple windowscenes opened, while requesting a review. ([#28577](https://github.com/expo/expo/pull/28577) by [@dylancom](https://github.com/dylancom))
|
|
18
|
+
|
|
13
19
|
## 7.0.1 — 2024-04-23
|
|
14
20
|
|
|
15
21
|
_This version does not introduce any user-facing changes._
|
package/android/build.gradle
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
apply plugin: 'com.android.library'
|
|
2
2
|
|
|
3
3
|
group = 'host.exp.exponent'
|
|
4
|
-
version = '7.0.
|
|
4
|
+
version = '7.0.2'
|
|
5
5
|
|
|
6
6
|
def expoModulesCorePlugin = new File(project(":expo-modules-core").projectDir.absolutePath, "ExpoModulesCorePlugin.gradle")
|
|
7
7
|
apply from: expoModulesCorePlugin
|
|
@@ -14,7 +14,7 @@ android {
|
|
|
14
14
|
namespace "expo.modules.storereview"
|
|
15
15
|
defaultConfig {
|
|
16
16
|
versionCode 4
|
|
17
|
-
versionName "7.0.
|
|
17
|
+
versionName "7.0.2"
|
|
18
18
|
}
|
|
19
19
|
}
|
|
20
20
|
|
|
@@ -10,8 +10,8 @@ public class StoreReviewModule: Module {
|
|
|
10
10
|
}
|
|
11
11
|
|
|
12
12
|
AsyncFunction("requestReview") {
|
|
13
|
-
if #available(iOS
|
|
14
|
-
guard let currentScene = UIApplication.shared.connectedScenes.first as? UIWindowScene else {
|
|
13
|
+
if #available(iOS 14, *) {
|
|
14
|
+
guard let currentScene = UIApplication.shared.connectedScenes.first(where: { $0.activationState == .foregroundActive }) as? UIWindowScene else {
|
|
15
15
|
throw MissingCurrentWindowSceneException()
|
|
16
16
|
}
|
|
17
17
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "expo-store-review",
|
|
3
|
-
"version": "7.0.
|
|
3
|
+
"version": "7.0.2",
|
|
4
4
|
"description": "ExpoStoreReview standalone module",
|
|
5
5
|
"main": "build/StoreReview.js",
|
|
6
6
|
"types": "build/StoreReview.d.ts",
|
|
@@ -36,5 +36,5 @@
|
|
|
36
36
|
"peerDependencies": {
|
|
37
37
|
"expo": "*"
|
|
38
38
|
},
|
|
39
|
-
"gitHead": "
|
|
39
|
+
"gitHead": "71b2f4339ef7b5b42ce87c1d8c17fe41c60355e0"
|
|
40
40
|
}
|