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

@@ -3,6 +3,8 @@ PODS:
- FMDB (2.6.2):
- FMDB/standard (= 2.6.2)
- FMDB/standard (2.6.2)
- image_picker (0.0.1):
- Flutter
- path_provider (0.0.1):
- Flutter
- sqflite (0.0.1):
@@ -10,13 +12,16 @@ PODS:
- FMDB
DEPENDENCIES:
- Flutter (from `/Users/dinect/projects/flutter/bin/cache/artifacts/engine/ios`)
- Flutter (from `/Users/dinect/projects/flutter/bin/cache/artifacts/engine/ios-release`)
- image_picker (from `/Users/dinect/.pub-cache/hosted/pub.dartlang.org/image_picker-0.1.3/ios`)
- path_provider (from `/Users/dinect/.pub-cache/hosted/pub.dartlang.org/path_provider-0.2.1+1/ios`)
- sqflite (from `/Users/dinect/.pub-cache/hosted/pub.dartlang.org/sqflite-0.2.4/ios`)
EXTERNAL SOURCES:
Flutter:
:path: "/Users/dinect/projects/flutter/bin/cache/artifacts/engine/ios"
:path: "/Users/dinect/projects/flutter/bin/cache/artifacts/engine/ios-release"
image_picker:
:path: "/Users/dinect/.pub-cache/hosted/pub.dartlang.org/image_picker-0.1.3/ios"
path_provider:
:path: "/Users/dinect/.pub-cache/hosted/pub.dartlang.org/path_provider-0.2.1+1/ios"
sqflite:
@@ -25,6 +30,7 @@ EXTERNAL SOURCES:
SPEC CHECKSUMS:
Flutter: d674e78c937094a75ac71dd77e921e840bea3dbf
FMDB: 854a0341b4726e53276f2a8996f06f1b80f9259a
image_picker: a211f28b95a560433c00f5cd3773f4710a20404d
path_provider: f96fff6166a8867510d2c25fdcc346327cc4b259
sqflite: 8e2d9fe1e7cdc95d4d537fc7eb2d23c8dc428e3c