Add the ability to take a photo and save that image into Firebase Store

This commit is contained in:
Ricardo Markiewicz
2019-11-14 18:09:37 -03:00
parent bac9737bbb
commit f89104fffc
9 changed files with 171 additions and 46 deletions
+18
View File
@@ -0,0 +1,18 @@
#
# NOTE: This podspec is NOT to be published. It is only used as a local source!
#
Pod::Spec.new do |s|
s.name = 'Flutter'
s.version = '1.0.0'
s.summary = 'High-performance, high-fidelity mobile apps.'
s.description = <<-DESC
Flutter provides an easy and productive way to build and deploy high-performance mobile apps for Android and iOS.
DESC
s.homepage = 'https://flutter.io'
s.license = { :type => 'MIT' }
s.author = { 'Flutter Dev Team' => 'flutter-dev@googlegroups.com' }
s.source = { :git => 'https://github.com/flutter/engine', :tag => s.version.to_s }
s.ios.deployment_target = '8.0'
s.vendored_frameworks = 'Flutter.framework'
end
+22
View File
@@ -20,6 +20,9 @@ PODS:
- Firebase/Firestore (6.0.0):
- Firebase/CoreOnly
- FirebaseFirestore (~> 1.3.0)
- Firebase/Storage (6.0.0):
- Firebase/CoreOnly
- FirebaseStorage (~> 3.2.0)
- firebase_auth (0.0.1):
- Firebase/Auth (~> 6.0)
- Firebase/Core
@@ -27,6 +30,9 @@ PODS:
- firebase_core (0.0.1):
- Firebase/Core
- Flutter
- firebase_storage (0.0.1):
- Firebase/Storage
- Flutter
- FirebaseAnalytics (6.0.0):
- FirebaseCore (~> 6.0)
- FirebaseInstanceID (~> 4.0)
@@ -65,6 +71,10 @@ PODS:
- FirebaseCore (~> 6.0)
- GoogleUtilities/Environment (~> 6.0)
- GoogleUtilities/UserDefaults (~> 6.0)
- FirebaseStorage (3.2.1):
- FirebaseAuthInterop (~> 1.0)
- FirebaseCore (~> 6.0)
- GTMSessionFetcher/Core (~> 1.1)
- Flutter (1.0.0)
- flutter_local_notifications (0.0.1):
- Flutter
@@ -124,6 +134,8 @@ PODS:
- nanopb (~> 0.3)
- gRPC-Core/Interface (1.19.0)
- GTMSessionFetcher/Core (1.2.2)
- image_picker (0.0.1):
- Flutter
- leveldb-library (1.20)
- nanopb (0.3.901):
- nanopb/decode (= 0.3.901)
@@ -138,9 +150,11 @@ DEPENDENCIES:
- cloud_firestore (from `.symlinks/plugins/cloud_firestore/ios`)
- firebase_auth (from `.symlinks/plugins/firebase_auth/ios`)
- firebase_core (from `.symlinks/plugins/firebase_core/ios`)
- firebase_storage (from `.symlinks/plugins/firebase_storage/ios`)
- Flutter (from `.symlinks/flutter/ios`)
- flutter_local_notifications (from `.symlinks/plugins/flutter_local_notifications/ios`)
- google_sign_in (from `.symlinks/plugins/google_sign_in/ios`)
- image_picker (from `.symlinks/plugins/image_picker/ios`)
- shared_preferences (from `.symlinks/plugins/shared_preferences/ios`)
SPEC REPOS:
@@ -153,6 +167,7 @@ SPEC REPOS:
- FirebaseCore
- FirebaseFirestore
- FirebaseInstanceID
- FirebaseStorage
- GoogleAppMeasurement
- GoogleSignIn
- GoogleToolboxForMac
@@ -171,12 +186,16 @@ EXTERNAL SOURCES:
:path: ".symlinks/plugins/firebase_auth/ios"
firebase_core:
:path: ".symlinks/plugins/firebase_core/ios"
firebase_storage:
:path: ".symlinks/plugins/firebase_storage/ios"
Flutter:
:path: ".symlinks/flutter/ios"
flutter_local_notifications:
:path: ".symlinks/plugins/flutter_local_notifications/ios"
google_sign_in:
:path: ".symlinks/plugins/google_sign_in/ios"
image_picker:
:path: ".symlinks/plugins/image_picker/ios"
shared_preferences:
:path: ".symlinks/plugins/shared_preferences/ios"
@@ -186,12 +205,14 @@ SPEC CHECKSUMS:
Firebase: fa80b9d987ca014a1ba9357496ef2a0178b28b12
firebase_auth: 7a2cc520766f90212b845a5b35316601707bfa25
firebase_core: ce5006bb48508ee4e71e0f429a3f519bb8ee2961
firebase_storage: d83bfc0e0e849b2f871a34c474466bf5014ff304
FirebaseAnalytics: 1743c5f4de3687d0745709dfdc4b1dea1484f44c
FirebaseAuth: efc72b0f6fe075d2a6de8d81a6d9de83ef2b47eb
FirebaseAuthInterop: 0ffa57668be100582bb7643d4fcb7615496c41fc
FirebaseCore: e38f025287b413255a53acc1945d048a112047f7
FirebaseFirestore: 0537b2a960a4819fae2834e688e5daeb571c81d6
FirebaseInstanceID: 0e0348a3c00a734fa376a070f5ad4533ad975cb5
FirebaseStorage: 926d41552072b9fee67aa645760f05f87b7ce604
Flutter: 0e3d915762c693b495b44d77113d4970485de6ec
flutter_local_notifications: 9e4738ce2471c5af910d961a6b7eadcf57c50186
google_sign_in: 27e70a98b529f0b076d4b19f231b81da28b1750b
@@ -202,6 +223,7 @@ SPEC CHECKSUMS:
"gRPC-C++": 98be881723177d8c4faf5fdffacb582c7b4971a2
gRPC-Core: bd9472c8daa2e414b9f8038ba667bf56ce0e02b8
GTMSessionFetcher: 61bb0f61a4cb560030f1222021178008a5727a23
image_picker: e3eacd46b94694dde7cf2705955cece853aa1a8f
leveldb-library: 08cba283675b7ed2d99629a4bc5fd052cd2bb6a5
nanopb: 2901f78ea1b7b4015c860c2fdd1ea2fee1a18d48
Protobuf: 7a877b7f3e5964e3fce995e2eb323dbc6831bb5a
+2
View File
@@ -259,6 +259,7 @@
"${BUILT_PRODUCTS_DIR}/flutter_local_notifications/flutter_local_notifications.framework",
"${BUILT_PRODUCTS_DIR}/gRPC-C++/grpcpp.framework",
"${BUILT_PRODUCTS_DIR}/gRPC-Core/grpc.framework",
"${BUILT_PRODUCTS_DIR}/image_picker/image_picker.framework",
"${BUILT_PRODUCTS_DIR}/leveldb-library/leveldb.framework",
"${BUILT_PRODUCTS_DIR}/nanopb/nanopb.framework",
"${BUILT_PRODUCTS_DIR}/shared_preferences/shared_preferences.framework",
@@ -274,6 +275,7 @@
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/flutter_local_notifications.framework",
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/grpcpp.framework",
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/grpc.framework",
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/image_picker.framework",
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/leveldb.framework",
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/nanopb.framework",
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/shared_preferences.framework",
+17 -13
View File
@@ -2,6 +2,8 @@
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>NSCameraUsageDescription</key>
<string>Permiso para usar la camara</string>
<key>CFBundleDevelopmentRegion</key>
<string>en</string>
<key>CFBundleExecutable</key>
@@ -41,18 +43,20 @@
</array>
<key>UIViewControllerBasedStatusBarAppearance</key>
<false/>
<key>CFBundleURLTypes</key>
<array>
<dict>
<key>CFBundleTypeRole</key>
<string>Editor</string>
<key>CFBundleURLSchemes</key>
<array>
<!-- TODO Replace this value: -->
<!-- Copied from GoogleService-Info.plist key REVERSED_CLIENT_ID -->
<string>com.googleusercontent.apps.173215752753-sfdf5d19ospsuphvgaclfsie0vp873lb</string>
</array>
</dict>
</array>
<key>NSPhotoLibraryUsageDescription</key>
<string>Permiso para ver tus fotos</string>
<key>NSMicrophoneUsageDescription</key>
<string>Permiso para grabar audio</string>
<key>CFBundleURLTypes</key>
<array>
<dict>
<key>CFBundleTypeRole</key>
<string>Editor</string>
<key>CFBundleURLSchemes</key>
<array>
<string>com.googleusercontent.apps.173215752753-sfdf5d19ospsuphvgaclfsie0vp873lb</string>
</array>
</dict>
</array>
</dict>
</plist>