britannio / in_app_review

A Flutter plugin for showing the In-App Review/System Rating pop up on Android, IOS, and MacOS. It makes it easy for users to rate your app.
327 stars 82 forks source link

await requestReview() cannot wait #121

Closed SheepYang1993 closed 6 months ago

SheepYang1993 commented 6 months ago
final InAppReview inAppReview = InAppReview.instance;
if (Platform.isIOS) {
    if (await inAppReview.isAvailable()) {
        await inAppReview.requestReview();
        showCustomDialog(); // I hope to display a custom dialog after the system's review pop-up closes
    }
}

But the actual effect is that after the system's review pop-up appears, it directly displays the custom dialog.

britannio commented 6 months ago

Unfortunately, the underlying APIs do not indicate when the dialog is closed.

SheepYang1993 commented 6 months ago

Unfortunately, the underlying APIs do not indicate when the dialog is closed.

Thank you for your reply. I see that competitor apps can achieve this effect, so I will continue to research and see if there are any other ways to achieve it myself