Sfoglia il codice sorgente

Relaxed dependency constraint on image_picker

Anatoly Pulyaevskiy 5 anni fa
parent
commit
c2a73cd957

+ 6
- 0
packages/zefyr/example/ios/Runner/Info.plist Vedi File

@@ -41,5 +41,11 @@
41 41
 	</array>
42 42
 	<key>UIViewControllerBasedStatusBarAppearance</key>
43 43
 	<false/>
44
+	<key>NSPhotoLibraryUsageDescription</key>
45
+	<string>Using photo library</string>
46
+	<key>NSCameraUsageDescription</key>
47
+	<string>Using camera</string>
48
+	<key>NSMicrophoneUsageDescription</key>
49
+	<string>Using microphone</string>
44 50
 </dict>
45 51
 </plist>

+ 1
- 1
packages/zefyr/pubspec.yaml Vedi File

@@ -12,7 +12,7 @@ dependencies:
12 12
     sdk: flutter
13 13
   collection: ^1.14.6
14 14
   url_launcher: ^5.0.0
15
-  image_picker: ^0.5.0
15
+  image_picker: '>=0.5.0 <0.7.0'
16 16
   quill_delta: ^1.0.0-dev.1.0
17 17
   notus: ^0.1.0
18 18
   meta: ^1.1.0