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

Works in debug mode and does not work in production mode on ios #73

Closed ziqq closed 2 years ago

ziqq commented 2 years ago

I tested rate my app and catch success in debug but dosen't in production.

Flutter 3.3.2
Dart 2.18.1
Future<bool> showRating() async {
  final bool isAvailable = await _inAppReview.isAvailable();
  if (isAvailable) {
      _inAppReview.requestReview();
  } else {
      _inAppReview.openStoreListing(appStoreId: 'my_app_store_id');
  }
}
ziqq commented 2 years ago

I find to the answer on my question. Can be closed my issue.