title: Flutter app for iOS: 'Rate My App' works on device when installed from computer but does not work when installed from TestFlight
body: <p>I develope App in Flutter and encounter the following problem:
  When I install the app on real device from computer, rate-my-app works well (Also on Simulator is good). The window with starts pops up. However, when I install the same app from TestFlight, rate-my-app function is dead. Nothing happens. The window with starts does not pop up. Very wired. What could be the problem?</p>
  <p>Here is Class for Rate:</p>
  <pre><code>class RateAppInitWidget extends StatefulWidget {
    final Widget Function(RateMyApp) builder;
    const RateAppInitWidget({Key key, this.builder}) : super(key: key);
  
    @override
    _RateAppInitWidgetState createState() =&gt; _RateAppInitWidgetState();
  }
  
  class _RateAppInitWidgetState extends State&lt;RateAppInitWidget&gt; {
  
    RateMyApp rateMyApp;
  
    /// Rate App-------------------------
    List&lt;Widget&gt; actionBuilder(BuildContext context, double stars) {
      return stars == null
      ? [buildCancelButton()]
      : [buildOkButton(stars), buildCancelButton()];
    }
    Widget buildOkButton(double starNumber) {
      final event = RateMyAppEventType.rateButtonPressed;
      rateMyApp.callEvent(event);
  
      if (starNumber &gt;= 4.0) {
        return RateMyAppRateButton(
          rateMyApp,
          text: 'Ok',
        );
      } else {
        Utils.openEmail(
            toEmail: 'sttaaat@gmail.com',
            subject: 'App',
            body: 'Hi developers!');
        Navigator.of(context).pop();
        return Container();
      }
  
    }
    Widget buildCancelButton() {
      return RateMyAppNoButton(
        rateMyApp,
        text: 'Cancel',
      );
    }
    /// Rate App-------------------------
  
    @override
    Widget build(BuildContext context) =&gt; RateMyAppBuilder(
        rateMyApp: RateMyApp(
          googlePlayIdentifier: packageNameAndroid,
          appStoreIdentifier: packageNameIOS,
          minDays: 5, 
          minLaunches: 5,
          remindDays: 2,
          remindLaunches: 5
        ),
      onInitialized: (context, rateMyApp) {
          setState(() =&gt; this.rateMyApp = rateMyApp);
  
          if (rateMyApp.shouldOpenDialog) {
            rateMyApp.showStarRateDialog(
                context,
                title: 'What do you think?',
                message: 'Please rate our App',
                starRatingOptions: StarRatingOptions(initialRating: 5),
                actionsBuilder: actionBuilder);
          }
      },
      builder: (context) =&gt; rateMyApp == null
        ? Center(child: CircularProgressIndicator())
        : widget.builder(rateMyApp)
    );
  }
  </code></pre>
  <p>// This is the button to call:</p>
  <pre><code>Widget build(BuildContext context) {
      return Column(
        children: [
          Divider(color: Colors.black38, height: 5.0),
          ListTile(
            leading: Icon(Icons.rate_review),
            title: Text('Rate App'),
            onTap: () =&gt; widget.rateMyApp.showStarRateDialog(
                context,
                title: 'What do you think?',
                message: 'Please rate our App',
                starRatingOptions: StarRatingOptions(initialRating: 5),
                actionsBuilder: actionBuilder),
          ),
  </code></pre>