From 735a99c9b0868ed3df856b1a88b11037d4149ef7 Mon Sep 17 00:00:00 2001 From: AYM1607 Date: Sun, 28 Apr 2019 18:43:28 -0500 Subject: [PATCH] Removed the size limit when picking an image --- ios/Runner.xcodeproj/project.pbxproj | 2 +- lib/src/screens/new_image_screen.dart | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/ios/Runner.xcodeproj/project.pbxproj b/ios/Runner.xcodeproj/project.pbxproj index b4e6d8f..8f2981f 100644 --- a/ios/Runner.xcodeproj/project.pbxproj +++ b/ios/Runner.xcodeproj/project.pbxproj @@ -304,7 +304,7 @@ ); inputPaths = ( "${SRCROOT}/Pods/Target Support Files/Pods-Runner/Pods-Runner-frameworks.sh", - "${PODS_ROOT}/../.symlinks/flutter/ios/Flutter.framework", + "${PODS_ROOT}/../.symlinks/flutter/ios-release/Flutter.framework", ); name = "[CP] Embed Pods Frameworks"; outputFileListPaths = ( diff --git a/lib/src/screens/new_image_screen.dart b/lib/src/screens/new_image_screen.dart index 653d5d7..865a346 100644 --- a/lib/src/screens/new_image_screen.dart +++ b/lib/src/screens/new_image_screen.dart @@ -158,14 +158,13 @@ class _NewImageScreenState extends State { Navigator.of(context).pop(); } - // TODO: Pro users can save their pictures in full res. + // TODO: Add size limit for free users. /// Prompts the user to take a picture. /// /// Updates the file in the bloc. Future takePicture() async { final File imgFile = await ImagePicker.pickImage( source: ImageSource.camera, - maxWidth: 1500, ); bloc.changePicture(imgFile); }