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.
306 stars 78 forks source link

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

Closed ziqq closed 1 year ago

ziqq commented 1 year 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 1 year ago

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