evan před 4 roky
rodič
revize
d80e4faa92
4 změnil soubory, kde provedl 11 přidání a 3 odebrání
  1. 6 0
      ios/Podfile.lock
  2. 2 0
      ios/Runner/Info.plist
  3. 2 2
      lib/my_tools/my_views.dart
  4. 1 1
      pubspec.lock

+ 6 - 0
ios/Podfile.lock

@@ -21,6 +21,8 @@ PODS:
     - Flutter
   - install_plugin (0.0.1):
     - Flutter
+  - launch_review (0.0.1):
+    - Flutter
   - libwebp (1.2.0):
     - libwebp/demux (= 1.2.0)
     - libwebp/mux (= 1.2.0)
@@ -62,6 +64,7 @@ DEPENDENCIES:
   - image_cropper (from `.symlinks/plugins/image_cropper/ios`)
   - image_picker (from `.symlinks/plugins/image_picker/ios`)
   - install_plugin (from `.symlinks/plugins/install_plugin/ios`)
+  - launch_review (from `.symlinks/plugins/launch_review/ios`)
   - package_info (from `.symlinks/plugins/package_info/ios`)
   - path_provider (from `.symlinks/plugins/path_provider/ios`)
   - shared_preferences (from `.symlinks/plugins/shared_preferences/ios`)
@@ -96,6 +99,8 @@ EXTERNAL SOURCES:
     :path: ".symlinks/plugins/image_picker/ios"
   install_plugin:
     :path: ".symlinks/plugins/install_plugin/ios"
+  launch_review:
+    :path: ".symlinks/plugins/launch_review/ios"
   package_info:
     :path: ".symlinks/plugins/package_info/ios"
   path_provider:
@@ -120,6 +125,7 @@ SPEC CHECKSUMS:
   image_cropper: f1668dd8d2cad2d357955caad15a40547856edcb
   image_picker: 50e7c7ff960e5f58faa4d1f4af84a771c671bc4a
   install_plugin: a13e7ddd2bab0c701b48cd359c26d0394125b6fb
+  launch_review: 75d5a956ba8eaa493e9c9d4bf4c05e505e8d5ed0
   libwebp: e90b9c01d99205d03b6bb8f2c8c415e5a4ef66f0
   Mantle: 4c0ed6ce47c96eccc4dc3bb071deb3def0e2c3be
   package_info: 873975fc26034f0b863a300ad47e7f1ac6c7ec62

+ 2 - 0
ios/Runner/Info.plist

@@ -63,6 +63,8 @@
 		<string>weixin</string>
 		<string>weixinulapi</string>
 		<string>weixinULAPI</string>
+		<string>itms-beta</string>
+        <string>itms</string>
 	</array>
 	<key>LSRequiresIPhoneOS</key>
 	<true/>

+ 2 - 2
lib/my_tools/my_views.dart

@@ -2469,7 +2469,7 @@ updateDialog(AndroidAppVersionBeanData data, BuildContext context) {
                                           startUpdate = true;
                                           setState(() {});
                                         } else if (Platform.isIOS) {
-                                          LaunchReview.launch(
+                                          LaunchReview.launch(writeReview: false,
                                               iOSAppId: appStoreID);
                                         } else {
                                           Navigator.pop(context);
@@ -2532,7 +2532,7 @@ updateDialog(AndroidAppVersionBeanData data, BuildContext context) {
                                               startUpdate = true;
                                               setState(() {});
                                             } else if (Platform.isIOS) {
-                                              LaunchReview.launch(
+                                              LaunchReview.launch(writeReview: false,
                                                   iOSAppId: appStoreID);
                                             } else {
                                               Navigator.pop(context);

+ 1 - 1
pubspec.lock

@@ -319,7 +319,7 @@ packages:
     dependency: "direct main"
     description:
       name: launch_review
-      url: "https://pub.flutter-io.cn"
+      url: "https://pub.dartlang.org"
     source: hosted
     version: "3.0.1"
   logging: