Skip to content

Commit

Permalink
fix: remove in-app review
Browse files Browse the repository at this point in the history
closes: #129
  • Loading branch information
pd4d10 committed Dec 13, 2020
1 parent 2048a34 commit c6a8b42
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions lib/models/auth.dart
Expand Up @@ -435,15 +435,16 @@ class AuthModel with ChangeNotifier {
_gqlClient = null;
notifyListeners();

// TODO: strategy
// waiting for 1min to request review
if (!hasRequestedReview) {
hasRequestedReview = true;
Timer(Duration(minutes: 1), () async {
if (await inAppReview.isAvailable()) {
inAppReview.requestReview();
}
});
}
// if (!hasRequestedReview) {
// hasRequestedReview = true;
// Timer(Duration(minutes: 1), () async {
// if (await inAppReview.isAvailable()) {
// inAppReview.requestReview();
// }
// });
// }
}

// http timeout
Expand Down

0 comments on commit c6a8b42

Please sign in to comment.