Sfoglia il codice sorgente

[fix]修改iOS配置文件

Destiny 1 anno fa
parent
commit
27170cd153
3 ha cambiato i file con 19 aggiunte e 16 eliminazioni
  1. 3 3
      ios/Podfile.lock
  2. 11 13
      ios/Runner/Info.plist
  3. 5 0
      pubspec.yaml

+ 3 - 3
ios/Podfile.lock

@@ -88,9 +88,9 @@ PODS:
     - FlutterMacOS
   - wechat_kit (6.0.1):
     - Flutter
-    - wechat_kit/pay (= 6.0.1)
+    - wechat_kit/no_pay (= 6.0.1)
     - wechat_kit/vendor (= 6.0.1)
-  - wechat_kit/pay (6.0.1):
+  - wechat_kit/no_pay (6.0.1):
     - Flutter
   - wechat_kit/vendor (6.0.1):
     - Flutter
@@ -198,7 +198,7 @@ SPEC CHECKSUMS:
   video_player_avfoundation: 7c6c11d8470e1675df7397027218274b6d2360b3
   wakelock_plus: 78ec7c5b202cab7761af8e2b2b3d0671be6c4ae1
   webview_flutter_wkwebview: 0982481e3d9c78fd5c6f62a002fcd24fc791f1e4
-  wechat_kit: adf5c6cda47789e63e51c6c194df9f2a85e87455
+  wechat_kit: 2ae8a941c74332323910c34baac8a69549aa4a3f
 
 PODFILE CHECKSUM: a57f30d18f102dd3ce366b1d62a55ecbef2158e5
 

+ 11 - 13
ios/Runner/Info.plist

@@ -2,15 +2,6 @@
 <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
 <plist version="1.0">
 <dict>
-	<key>NSPhotoLibraryUsageDescription</key>
-	<string>小听需要此权限用于保存录音视频权限</string>
-	<key>ITSAppUsesNonExemptEncryption</key>
-	<false/>
-	<key>NSAppTransportSecurity</key>
-	<dict>
-		<key>NSAllowsArbitraryLoads</key>
-		<true/>
-	</dict>
 	<key>CADisableMinimumFrameDurationOnPhone</key>
 	<true/>
 	<key>CFBundleDevelopmentRegion</key>
@@ -33,10 +24,19 @@
 	<string>????</string>
 	<key>CFBundleVersion</key>
 	<string>$(FLUTTER_BUILD_NUMBER)</string>
+	<key>ITSAppUsesNonExemptEncryption</key>
+	<false/>
 	<key>LSRequiresIPhoneOS</key>
 	<true/>
+	<key>NSAppTransportSecurity</key>
+	<dict>
+		<key>NSAllowsArbitraryLoads</key>
+		<true/>
+	</dict>
 	<key>NSMicrophoneUsageDescription</key>
 	<string>小听需要麦克风权限用于会议录音功能</string>
+	<key>NSPhotoLibraryUsageDescription</key>
+	<string>小听需要此权限用于选择文件上传录音功能</string>
 	<key>NSUserTrackingUsageDescription</key>
 	<string>小听需要使用您的广告标识符以显示个性化广告</string>
 	<key>UIApplicationSupportsIndirectInputEvents</key>
@@ -52,15 +52,13 @@
 	<key>UISupportedInterfaceOrientations</key>
 	<array>
 		<string>UIInterfaceOrientationPortrait</string>
-		<string>UIInterfaceOrientationLandscapeLeft</string>
-		<string>UIInterfaceOrientationLandscapeRight</string>
 	</array>
 	<key>UISupportedInterfaceOrientations~ipad</key>
 	<array>
-		<string>UIInterfaceOrientationPortrait</string>
-		<string>UIInterfaceOrientationPortraitUpsideDown</string>
 		<string>UIInterfaceOrientationLandscapeLeft</string>
 		<string>UIInterfaceOrientationLandscapeRight</string>
+		<string>UIInterfaceOrientationPortrait</string>
+		<string>UIInterfaceOrientationPortraitUpsideDown</string>
 	</array>
 </dict>
 </plist>

+ 5 - 0
pubspec.yaml

@@ -185,3 +185,8 @@ flutter:
   #
   # For details regarding fonts from package dependencies,
   # see https://flutter.dev/custom-fonts/#from-packages
+
+wechat_kit:
+  ios: no_pay # 默认 pay
+  app_id: wxff40112d61011372
+  universal_link: