From c6a8b42ef1c95f57d2e9439987f4546a6ea3f7c7 Mon Sep 17 00:00:00 2001 From: Rongjian Zhang Date: Sun, 13 Dec 2020 13:08:17 +0800 Subject: [PATCH] fix: remove in-app review closes: #129 --- lib/models/auth.dart | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/lib/models/auth.dart b/lib/models/auth.dart index 2fe010f..271485e 100644 --- a/lib/models/auth.dart +++ b/lib/models/auth.dart @@ -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