app_review_helper 0.3.0 app_review_helper: ^0.3.0 copied to clipboard
This plugin will make it easier for you to use in-app review with minimal conditions.
App Review Helper #
This plugin will make it easier for you to use in-app review with minimal conditions.
Usage #
This method will do nothing if the current platform is other than Android and iOS.
final appReviewHelper = AppReviewHelper.instance;
appReviewHelper.initial(
/// Min days
minDays: 3,
/// If you add this line in your main(), it's same as app opening count
minCallThisFunction: 3,
/// If the current version is satisfied with this than not showing the request
/// this value use plugin `satisfied_version` to compare.
noRequestVersions: ['<=1.0.0', '3.0.0', '>4.0.0'],
/// Control which versions allow reminding if `keepRemind` is false
remindedVersions: ['2.0.0', '3.0.0'],
/// If true, it'll keep asking for the review on each new version (and satisfy with all the above conditions).
/// If false, it only requests for the first time the conditions are satisfied.
keepRemind: true,
/// Request with delayed duaration
duration: const Duration(seconds: 1),
/// Print debug log
isDebug: false,
);
Use this function if you want to open the store. This function will try to open the fallbackUrl
if the current platform is not Android or iOS.
appReviewHelper.openStore();