Add image_picker library, refs #10046

Reason: before this commit app crashs in release mode,
there are no settings for this app (in ios settings app).

After adding image_picker library and getImage() function in
lib/common.dart (pre caution against AOT compiller dead code
elemenation) after ask permissions for camera usage.
This commit is contained in:
Mikhail Sokolov
2017-11-16 14:02:32 +07:00
parent 03450da6ec
commit 69ab9195ac
9 changed files with 23 additions and 7 deletions

View File

@@ -8,6 +8,7 @@ dependencies:
sprintf: "^3.0.2"
path_provider: "^0.2.1+1"
sqflite: any
image_picker: '^0.1.3' # use for ask permissions @ iOS
flutter:
sdk: flutter
@@ -73,4 +74,4 @@ flutter:
# fonts:
# - asset: fonts/TrajanPro.ttf
# - asset: fonts/TrajanPro_Bold.ttf
# weight: 700
# weight: 700