expo-store-review 5.2.0 → 5.3.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 CHANGED
@@ -10,6 +10,12 @@
10
10
 
11
11
  ### 💡 Others
12
12
 
13
+ ## 5.3.0 — 2022-07-07
14
+
15
+ ### 🐛 Bug fixes
16
+
17
+ - Fixed null pointer exception when store review request failed on Android. ([#16365](https://github.com/expo/expo/pull/16365) by [@mariomurrent-softwaresolutions](https://github.com/mariomurrent-softwaresolutions))
18
+
13
19
  ## 5.2.0 — 2022-04-18
14
20
 
15
21
  ### ⚠️ Notices
@@ -3,7 +3,7 @@ apply plugin: 'kotlin-android'
3
3
  apply plugin: 'maven-publish'
4
4
 
5
5
  group = 'host.exp.exponent'
6
- version = '5.2.0'
6
+ version = '5.3.0'
7
7
 
8
8
  buildscript {
9
9
  def expoModulesCorePlugin = new File(project(":expo-modules-core").projectDir.absolutePath, "ExpoModulesCorePlugin.gradle")
@@ -74,7 +74,7 @@ android {
74
74
  minSdkVersion safeExtGet("minSdkVersion", 21)
75
75
  targetSdkVersion safeExtGet("targetSdkVersion", 31)
76
76
  versionCode 4
77
- versionName "5.2.0"
77
+ versionName "5.3.0"
78
78
  }
79
79
  lintOptions {
80
80
  abortOnError false
@@ -53,7 +53,7 @@ class StoreReviewModule(private val mContext: Context) :
53
53
  }
54
54
  }
55
55
  } else {
56
- promise.reject(null)
56
+ promise.reject("ERR_STORE_REVIEW_FAILED", "Android ReviewManager task was not successful")
57
57
  }
58
58
  }
59
59
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "expo-store-review",
3
- "version": "5.2.0",
3
+ "version": "5.3.0",
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": "22dce752354bb429c84851bc4389abe47a766b1f"
39
+ "gitHead": "6e131f2da851a47c3a24eb3d6fc971a1a7822086"
40
40
  }
package/tsconfig.json CHANGED
@@ -5,5 +5,5 @@
5
5
  "outDir": "./build"
6
6
  },
7
7
  "include": ["./src"],
8
- "exclude": ["**/__mocks__/*", "**/__tests__/*"]
8
+ "exclude": ["**/__mocks__/*", "**/__tests__/*", "**/__stories__/*"]
9
9
  }