Skip to content

Commit

Permalink
Merge branch 'ogard-playstore-disabled'
Browse files Browse the repository at this point in the history
  • Loading branch information
MinaSamir11 committed Jan 13, 2021
2 parents fd91a20 + 4c8d92e commit 833ba3d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,13 @@ public void show() {
Log.e("Review Error", "getResult may have thrown an exception. This is likely an emulated device.");
}
} else {
Log.e("Review Error", task.getResult().toString());
String taskErrorMessage = "";
try {
taskErrorMessage = task.getResult().toString();
} catch (Exception e) {
taskErrorMessage = e.getMessage();
}
Log.e("Review Error", taskErrorMessage);
}

});
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-native-in-app-review",
"version": "2.1.6",
"version": "2.1.7",
"description": "react native in app review, to rate on Play store, App Store, Generally, the in-app review flow (see figure 1 for play store, figure 2 for ios) can be triggered at any time throughout the user journey of your app. During the flow, the user has the ability to rate your app using the 1 to 5 star system and to add an optional comment for play store only. Once submitted, the review is sent to the Play Store or App store and eventually displayed.",
"main": "index.js",
"scripts": {
Expand Down

0 comments on commit 833ba3d

Please sign in to comment.