canShowReview static method
Implementation
static Future<bool> canShowReview() async {
final dd = DateFormat("MMM-yyyy").format(DateTime.now());
log("CommonInterface:[canShowReview]->date->$dd");
int count = await getReviewCount();
if (count == 5 ||
count == 15 ||
count == 30 ||
count == 45 ||
count == 60) {
log("CommonInterface:[canShowReview]->status->true->on->$count");
return true;
}
await setReviewCount(count + 1);
log("CommonInterface:[canShowReview]->status->false->on->$count");
return false;
}