Skip to content

An open-source cross-platform alternative to AirDrop

fix: iOS fixes

Tien Do Nam0bf5d140efc0
diff --git a/ios/Podfile.lock b/ios/Podfile.lock
index e75fb628..70612aab 100644
--- a/ios/Podfile.lock
+++ b/ios/Podfile.lock
@@ -46,6 +46,8 @@ PODS:
- Flutter
- path_provider_ios (0.0.1):
- Flutter
+ - permission_handler_apple (9.0.4):
+ - Flutter
- SDWebImage (5.14.3):
- SDWebImage/Core (= 5.14.3)
- SDWebImage/Core (5.14.3)
@@ -64,6 +66,7 @@ DEPENDENCIES:
- network_info_plus (from `.symlinks/plugins/network_info_plus/ios`)
- package_info_plus (from `.symlinks/plugins/package_info_plus/ios`)
- path_provider_ios (from `.symlinks/plugins/path_provider_ios/ios`)
+ - permission_handler_apple (from `.symlinks/plugins/permission_handler_apple/ios`)
- shared_preferences_ios (from `.symlinks/plugins/shared_preferences_ios/ios`)
- url_launcher_ios (from `.symlinks/plugins/url_launcher_ios/ios`)
@@ -91,6 +94,8 @@ EXTERNAL SOURCES:
:path: ".symlinks/plugins/package_info_plus/ios"
path_provider_ios:
:path: ".symlinks/plugins/path_provider_ios/ios"
+ permission_handler_apple:
+ :path: ".symlinks/plugins/permission_handler_apple/ios"
shared_preferences_ios:
:path: ".symlinks/plugins/shared_preferences_ios/ios"
url_launcher_ios:
@@ -107,6 +112,7 @@ SPEC CHECKSUMS:
network_info_plus: b78876159360f5580608c2cea620d6ceffabd0ad
package_info_plus: 6c92f08e1f853dc01228d6f553146438dafcd14e
path_provider_ios: 14f3d2fd28c4fdb42f44e0f751d12861c43cee02
+ permission_handler_apple: 44366e37eaf29454a1e7b1b7d736c2cceaeb17ce
SDWebImage: 9c36e66c8ce4620b41a7407698dda44211a96764
shared_preferences_ios: 548a61f8053b9b8a49ac19c1ffbc8b92c50d68ad
SwiftyGif: 6c3eafd0ce693cad58bb63d2b2fb9bacb8552780
diff --git a/ios/Runner/Info.plist b/ios/Runner/Info.plist
index da1f5518..5cd97040 100644
--- a/ios/Runner/Info.plist
+++ b/ios/Runner/Info.plist
@@ -53,16 +53,12 @@
<string>en</string>
</array>
<key>NSPhotoLibraryUsageDescription</key>
- <string>This app requires access to the photo library.</string>
- <key>NSCameraUsageDescription</key>
- <string>This app requires access to the camera.</string>
- <key>NSMicrophoneUsageDescription</key>
- <string>This app requires access to the microphone.</string>
+ <string>The app needs photo library access so that the user can select photos to share.</string>
<key>NSPhotoLibraryAddUsageDescription</key>
- <string>This app requires photo library permission to save received media.</string>
+ <string>The app saves received media to the photo library.</string>
<key>NSLocationAlwaysAndWhenInUseUsageDescription</key>
- <string>This app requires the local IP to communicate.</string>
+ <string>The app requires the local IP to communicate.</string>
<key>NSLocationWhenInUseUsageDescription</key>
- <string>This app requires the local IP to communicate.</string>
+ <string>The app requires the local IP to communicate.</string>
</dict>
</plist>