ios Review: Allow it to work on ios9+

Also provide the app id so it works on any version!
This commit is contained in:
Vishesh Handa
2019-10-10 12:28:28 +02:00
parent 51d2efaad9
commit edb1f88a0f
2 changed files with 8 additions and 1 deletions

View File

@ -54,5 +54,9 @@
</array>
<key>UIViewControllerBasedStatusBarAppearance</key>
<false/>
<key>LSApplicationQueriesSchemes</key>
<array>
<string>itms</string>
</array>
</dict>
</plist>

View File

@ -73,7 +73,10 @@ class AppDrawer extends StatelessWidget {
leading: Icon(Icons.feedback, color: textStyle.color),
title: Text('Rate Us', style: textStyle),
onTap: () {
LaunchReview.launch();
LaunchReview.launch(
androidAppId: "io.gitjournal.gitjournal",
iOSAppId: "1466519634",
);
Navigator.pop(context);
getAnalytics().logEvent(