setReviewProcess static method

Future<void> setReviewProcess()

Implementation

static Future<void> setReviewProcess() async {
  final dd = DateFormat("MMM-yyyy").format(DateTime.now());
  log("CommonInterface:[setReviewProcess]->date->$dd");

  AndroidOptions getAndroidOptions() => const AndroidOptions(
        encryptedSharedPreferences: true,
      );
  final storage = FlutterSecureStorage(aOptions: getAndroidOptions());
  int count = await getReviewCount();
  setReviewCount(count + 1);
}