fix: remove in-app review

closes: #129
This commit is contained in:
Rongjian Zhang 2020-12-13 13:08:17 +08:00
parent 2048a34941
commit c6a8b42ef1
1 changed files with 9 additions and 8 deletions

View File

@ -435,15 +435,16 @@ class AuthModel with ChangeNotifier {
_gqlClient = null; _gqlClient = null;
notifyListeners(); notifyListeners();
// TODO: strategy
// waiting for 1min to request review // waiting for 1min to request review
if (!hasRequestedReview) { // if (!hasRequestedReview) {
hasRequestedReview = true; // hasRequestedReview = true;
Timer(Duration(minutes: 1), () async { // Timer(Duration(minutes: 1), () async {
if (await inAppReview.isAvailable()) { // if (await inAppReview.isAvailable()) {
inAppReview.requestReview(); // inAppReview.requestReview();
} // }
}); // });
} // }
} }
// http timeout // http timeout