├── .gitignore ├── .metadata ├── LICENSE ├── README.md ├── analysis_options.yaml ├── android ├── .gitignore ├── app │ ├── build.gradle │ └── src │ │ ├── debug │ │ └── AndroidManifest.xml │ │ ├── main │ │ ├── AndroidManifest.xml │ │ ├── kotlin │ │ │ └── com │ │ │ │ └── example │ │ │ │ └── crud_firebase │ │ │ │ └── MainActivity.kt │ │ └── res │ │ │ ├── drawable-v21 │ │ │ └── launch_background.xml │ │ │ ├── drawable │ │ │ └── launch_background.xml │ │ │ ├── mipmap-hdpi │ │ │ └── ic_launcher.png │ │ │ ├── mipmap-mdpi │ │ │ └── ic_launcher.png │ │ │ ├── mipmap-xhdpi │ │ │ └── ic_launcher.png │ │ │ ├── mipmap-xxhdpi │ │ │ └── ic_launcher.png │ │ │ ├── mipmap-xxxhdpi │ │ │ └── ic_launcher.png │ │ │ ├── values-night │ │ │ └── styles.xml │ │ │ └── values │ │ │ └── styles.xml │ │ └── profile │ │ └── AndroidManifest.xml ├── build.gradle ├── gradle.properties ├── gradle │ └── wrapper │ │ └── gradle-wrapper.properties └── settings.gradle ├── ios ├── .gitignore ├── Flutter │ ├── AppFrameworkInfo.plist │ ├── Debug.xcconfig │ └── Release.xcconfig ├── Podfile ├── Podfile.lock ├── Runner.xcodeproj │ ├── project.pbxproj │ ├── project.xcworkspace │ │ ├── contents.xcworkspacedata │ │ └── xcshareddata │ │ │ ├── IDEWorkspaceChecks.plist │ │ │ └── WorkspaceSettings.xcsettings │ └── xcshareddata │ │ └── xcschemes │ │ └── Runner.xcscheme ├── Runner.xcworkspace │ ├── contents.xcworkspacedata │ └── xcshareddata │ │ ├── IDEWorkspaceChecks.plist │ │ └── WorkspaceSettings.xcsettings └── Runner │ ├── AppDelegate.swift │ ├── Assets.xcassets │ ├── AppIcon.appiconset │ │ ├── Contents.json │ │ ├── Icon-App-1024x1024@1x.png │ │ ├── Icon-App-20x20@1x.png │ │ ├── Icon-App-20x20@2x.png │ │ ├── Icon-App-20x20@3x.png │ │ ├── Icon-App-29x29@1x.png │ │ ├── Icon-App-29x29@2x.png │ │ ├── Icon-App-29x29@3x.png │ │ ├── Icon-App-40x40@1x.png │ │ ├── Icon-App-40x40@2x.png │ │ ├── Icon-App-40x40@3x.png │ │ ├── Icon-App-60x60@2x.png │ │ ├── Icon-App-60x60@3x.png │ │ ├── Icon-App-76x76@1x.png │ │ ├── Icon-App-76x76@2x.png │ │ └── Icon-App-83.5x83.5@2x.png │ └── LaunchImage.imageset │ │ ├── Contents.json │ │ ├── LaunchImage.png │ │ ├── LaunchImage@2x.png │ │ ├── LaunchImage@3x.png │ │ └── README.md │ ├── Base.lproj │ ├── LaunchScreen.storyboard │ └── Main.storyboard │ ├── Info.plist │ └── Runner-Bridging-Header.h ├── lib ├── data │ ├── person_firebase.dart │ └── person_local.dart ├── domain │ ├── models │ │ └── person.dart │ └── repository │ │ └── person_repository.dart ├── main.dart └── ui │ └── features │ ├── non-realtime │ ├── add_provider.dart │ ├── add_screen.dart │ ├── list_provider.dart │ └── list_screen.dart │ └── realtime │ ├── add_provider.dart │ ├── add_screen.dart │ ├── list_provider.dart │ └── list_screen.dart ├── pubspec.lock └── pubspec.yaml /.gitignore: -------------------------------------------------------------------------------- 1 | # Miscellaneous 2 | *.class 3 | *.log 4 | *.pyc 5 | *.swp 6 | .DS_Store 7 | .atom/ 8 | .buildlog/ 9 | .history 10 | .svn/ 11 | migrate_working_dir/ 12 | 13 | # IntelliJ related 14 | *.iml 15 | *.ipr 16 | *.iws 17 | .idea/ 18 | 19 | # The .vscode folder contains launch configuration and tasks you configure in 20 | # VS Code which you may wish to be included in version control, so this line 21 | # is commented out by default. 22 | #.vscode/ 23 | 24 | # Flutter/Dart/Pub related 25 | **/doc/api/ 26 | **/ios/Flutter/.last_build_id 27 | .dart_tool/ 28 | .flutter-plugins 29 | .flutter-plugins-dependencies 30 | .packages 31 | .pub-cache/ 32 | .pub/ 33 | /build/ 34 | 35 | # Web related 36 | lib/generated_plugin_registrant.dart 37 | 38 | # Symbolication related 39 | app.*.symbols 40 | 41 | # Obfuscation related 42 | app.*.map.json 43 | 44 | # Android Studio will place build artifacts here 45 | /android/app/debug 46 | /android/app/profile 47 | /android/app/release 48 | ios/Runner/GoogleService-Info.plist 49 | -------------------------------------------------------------------------------- /.metadata: -------------------------------------------------------------------------------- 1 | # This file tracks properties of this Flutter project. 2 | # Used by Flutter tool to assess capabilities and perform upgrades etc. 3 | # 4 | # This file should be version controlled. 5 | 6 | version: 7 | revision: f1875d570e39de09040c8f79aa13cc56baab8db1 8 | channel: stable 9 | 10 | project_type: app 11 | 12 | # Tracks metadata for the flutter migrate command 13 | migration: 14 | platforms: 15 | - platform: root 16 | create_revision: f1875d570e39de09040c8f79aa13cc56baab8db1 17 | base_revision: f1875d570e39de09040c8f79aa13cc56baab8db1 18 | - platform: android 19 | create_revision: f1875d570e39de09040c8f79aa13cc56baab8db1 20 | base_revision: f1875d570e39de09040c8f79aa13cc56baab8db1 21 | - platform: ios 22 | create_revision: f1875d570e39de09040c8f79aa13cc56baab8db1 23 | base_revision: f1875d570e39de09040c8f79aa13cc56baab8db1 24 | - platform: linux 25 | create_revision: f1875d570e39de09040c8f79aa13cc56baab8db1 26 | base_revision: f1875d570e39de09040c8f79aa13cc56baab8db1 27 | - platform: macos 28 | create_revision: f1875d570e39de09040c8f79aa13cc56baab8db1 29 | base_revision: f1875d570e39de09040c8f79aa13cc56baab8db1 30 | - platform: web 31 | create_revision: f1875d570e39de09040c8f79aa13cc56baab8db1 32 | base_revision: f1875d570e39de09040c8f79aa13cc56baab8db1 33 | - platform: windows 34 | create_revision: f1875d570e39de09040c8f79aa13cc56baab8db1 35 | base_revision: f1875d570e39de09040c8f79aa13cc56baab8db1 36 | 37 | # User provided section 38 | 39 | # List of Local paths (relative to this file) that should be 40 | # ignored by the migrate tool. 41 | # 42 | # Files that are not part of the templates will be ignored by default. 43 | unmanaged_files: 44 | - 'lib/main.dart' 45 | - 'ios/Runner.xcodeproj/project.pbxproj' 46 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2022 Diego Velásquez López 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Firebase/Firestore 2 | 3 | We created this app in a LIVE CODING on my youtube channel: 4 | 5 | # CRUD Firebase App (Create Read Update Delete) - Non realtime 6 | 7 | [![](http://img.youtube.com/vi/3zHrCb_Lf4o/0.jpg)](https://www.youtube.com/watch?v=3zHrCb_Lf4o ) 8 | 9 | # Firestore Realtime 10 | 11 | [![](http://img.youtube.com/vi/ng2CdrwWcnk/0.jpg)](https://www.youtube.com/watch?v=ng2CdrwWcnk ) 12 | 13 | ## Join to unlock all the past live videos and join to our discord group! 14 | 15 | https://www.youtube.com/channel/UCFKZxStYsOVrzdN_FCZ0NGg/join 16 | 17 | ## Description 18 | 19 | We used `Provider` as state management package. 20 | 21 | ## Firebase Configuration 22 | 23 | https://firebase.flutter.dev/docs/cli/ 24 | 25 | -------------------------------------------------------------------------------- /analysis_options.yaml: -------------------------------------------------------------------------------- 1 | # This file configures the analyzer, which statically analyzes Dart code to 2 | # check for errors, warnings, and lints. 3 | # 4 | # The issues identified by the analyzer are surfaced in the UI of Dart-enabled 5 | # IDEs (https://dart.dev/tools#ides-and-editors). The analyzer can also be 6 | # invoked from the command line by running `flutter analyze`. 7 | 8 | # The following line activates a set of recommended lints for Flutter apps, 9 | # packages, and plugins designed to encourage good coding practices. 10 | include: package:flutter_lints/flutter.yaml 11 | 12 | linter: 13 | # The lint rules applied to this project can be customized in the 14 | # section below to disable rules from the `package:flutter_lints/flutter.yaml` 15 | # included above or to enable additional rules. A list of all available lints 16 | # and their documentation is published at 17 | # https://dart-lang.github.io/linter/lints/index.html. 18 | # 19 | # Instead of disabling a lint rule for the entire project in the 20 | # section below, it can also be suppressed for a single line of code 21 | # or a specific dart file by using the `// ignore: name_of_lint` and 22 | # `// ignore_for_file: name_of_lint` syntax on the line or in the file 23 | # producing the lint. 24 | rules: 25 | # avoid_print: false # Uncomment to disable the `avoid_print` rule 26 | # prefer_single_quotes: true # Uncomment to enable the `prefer_single_quotes` rule 27 | 28 | # Additional information about this file can be found at 29 | # https://dart.dev/guides/language/analysis-options 30 | -------------------------------------------------------------------------------- /android/.gitignore: -------------------------------------------------------------------------------- 1 | gradle-wrapper.jar 2 | /.gradle 3 | /captures/ 4 | /gradlew 5 | /gradlew.bat 6 | /local.properties 7 | GeneratedPluginRegistrant.java 8 | 9 | # Remember to never publicly share your keystore. 10 | # See https://flutter.dev/docs/deployment/android#reference-the-keystore-from-the-app 11 | key.properties 12 | **/*.keystore 13 | **/*.jks 14 | -------------------------------------------------------------------------------- /android/app/build.gradle: -------------------------------------------------------------------------------- 1 | def localProperties = new Properties() 2 | def localPropertiesFile = rootProject.file('local.properties') 3 | if (localPropertiesFile.exists()) { 4 | localPropertiesFile.withReader('UTF-8') { reader -> 5 | localProperties.load(reader) 6 | } 7 | } 8 | 9 | def flutterRoot = localProperties.getProperty('flutter.sdk') 10 | if (flutterRoot == null) { 11 | throw new GradleException("Flutter SDK not found. Define location with flutter.sdk in the local.properties file.") 12 | } 13 | 14 | def flutterVersionCode = localProperties.getProperty('flutter.versionCode') 15 | if (flutterVersionCode == null) { 16 | flutterVersionCode = '1' 17 | } 18 | 19 | def flutterVersionName = localProperties.getProperty('flutter.versionName') 20 | if (flutterVersionName == null) { 21 | flutterVersionName = '1.0' 22 | } 23 | 24 | apply plugin: 'com.android.application' 25 | apply plugin: 'kotlin-android' 26 | apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle" 27 | 28 | android { 29 | compileSdkVersion flutter.compileSdkVersion 30 | ndkVersion flutter.ndkVersion 31 | 32 | compileOptions { 33 | sourceCompatibility JavaVersion.VERSION_1_8 34 | targetCompatibility JavaVersion.VERSION_1_8 35 | } 36 | 37 | kotlinOptions { 38 | jvmTarget = '1.8' 39 | } 40 | 41 | sourceSets { 42 | main.java.srcDirs += 'src/main/kotlin' 43 | } 44 | 45 | defaultConfig { 46 | // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html). 47 | applicationId "com.example.crud_firebase" 48 | // You can update the following values to match your application needs. 49 | // For more information, see: https://docs.flutter.dev/deployment/android#reviewing-the-build-configuration. 50 | minSdkVersion flutter.minSdkVersion 51 | targetSdkVersion flutter.targetSdkVersion 52 | versionCode flutterVersionCode.toInteger() 53 | versionName flutterVersionName 54 | } 55 | 56 | buildTypes { 57 | release { 58 | // TODO: Add your own signing config for the release build. 59 | // Signing with the debug keys for now, so `flutter run --release` works. 60 | signingConfig signingConfigs.debug 61 | } 62 | } 63 | } 64 | 65 | flutter { 66 | source '../..' 67 | } 68 | 69 | dependencies { 70 | implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version" 71 | } 72 | -------------------------------------------------------------------------------- /android/app/src/debug/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 3 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /android/app/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 3 | 7 | 15 | 19 | 23 | 24 | 25 | 26 | 27 | 28 | 30 | 33 | 34 | 35 | -------------------------------------------------------------------------------- /android/app/src/main/kotlin/com/example/crud_firebase/MainActivity.kt: -------------------------------------------------------------------------------- 1 | package com.example.crud_firebase 2 | 3 | import io.flutter.embedding.android.FlutterActivity 4 | 5 | class MainActivity: FlutterActivity() { 6 | } 7 | -------------------------------------------------------------------------------- /android/app/src/main/res/drawable-v21/launch_background.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 12 | 13 | -------------------------------------------------------------------------------- /android/app/src/main/res/drawable/launch_background.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 12 | 13 | -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/diegoveloper/crud_firebase/d27c12a3d7163c9baf596997e8c3ca59ed384f25/android/app/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/diegoveloper/crud_firebase/d27c12a3d7163c9baf596997e8c3ca59ed384f25/android/app/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/diegoveloper/crud_firebase/d27c12a3d7163c9baf596997e8c3ca59ed384f25/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/diegoveloper/crud_firebase/d27c12a3d7163c9baf596997e8c3ca59ed384f25/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/diegoveloper/crud_firebase/d27c12a3d7163c9baf596997e8c3ca59ed384f25/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/values-night/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 9 | 15 | 18 | 19 | -------------------------------------------------------------------------------- /android/app/src/main/res/values/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 9 | 15 | 18 | 19 | -------------------------------------------------------------------------------- /android/app/src/profile/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 3 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /android/build.gradle: -------------------------------------------------------------------------------- 1 | buildscript { 2 | ext.kotlin_version = '1.6.10' 3 | repositories { 4 | google() 5 | mavenCentral() 6 | } 7 | 8 | dependencies { 9 | classpath 'com.android.tools.build:gradle:7.1.2' 10 | classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" 11 | } 12 | } 13 | 14 | allprojects { 15 | repositories { 16 | google() 17 | mavenCentral() 18 | } 19 | } 20 | 21 | rootProject.buildDir = '../build' 22 | subprojects { 23 | project.buildDir = "${rootProject.buildDir}/${project.name}" 24 | } 25 | subprojects { 26 | project.evaluationDependsOn(':app') 27 | } 28 | 29 | task clean(type: Delete) { 30 | delete rootProject.buildDir 31 | } 32 | -------------------------------------------------------------------------------- /android/gradle.properties: -------------------------------------------------------------------------------- 1 | org.gradle.jvmargs=-Xmx1536M 2 | android.useAndroidX=true 3 | android.enableJetifier=true 4 | -------------------------------------------------------------------------------- /android/gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | #Fri Jun 23 08:50:38 CEST 2017 2 | distributionBase=GRADLE_USER_HOME 3 | distributionPath=wrapper/dists 4 | zipStoreBase=GRADLE_USER_HOME 5 | zipStorePath=wrapper/dists 6 | distributionUrl=https\://services.gradle.org/distributions/gradle-7.4-all.zip 7 | -------------------------------------------------------------------------------- /android/settings.gradle: -------------------------------------------------------------------------------- 1 | include ':app' 2 | 3 | def localPropertiesFile = new File(rootProject.projectDir, "local.properties") 4 | def properties = new Properties() 5 | 6 | assert localPropertiesFile.exists() 7 | localPropertiesFile.withReader("UTF-8") { reader -> properties.load(reader) } 8 | 9 | def flutterSdkPath = properties.getProperty("flutter.sdk") 10 | assert flutterSdkPath != null, "flutter.sdk not set in local.properties" 11 | apply from: "$flutterSdkPath/packages/flutter_tools/gradle/app_plugin_loader.gradle" 12 | -------------------------------------------------------------------------------- /ios/.gitignore: -------------------------------------------------------------------------------- 1 | **/dgph 2 | *.mode1v3 3 | *.mode2v3 4 | *.moved-aside 5 | *.pbxuser 6 | *.perspectivev3 7 | **/*sync/ 8 | .sconsign.dblite 9 | .tags* 10 | **/.vagrant/ 11 | **/DerivedData/ 12 | Icon? 13 | **/Pods/ 14 | **/.symlinks/ 15 | profile 16 | xcuserdata 17 | **/.generated/ 18 | Flutter/App.framework 19 | Flutter/Flutter.framework 20 | Flutter/Flutter.podspec 21 | Flutter/Generated.xcconfig 22 | Flutter/ephemeral/ 23 | Flutter/app.flx 24 | Flutter/app.zip 25 | Flutter/flutter_assets/ 26 | Flutter/flutter_export_environment.sh 27 | ServiceDefinitions.json 28 | Runner/GeneratedPluginRegistrant.* 29 | 30 | # Exceptions to above rules. 31 | !default.mode1v3 32 | !default.mode2v3 33 | !default.pbxuser 34 | !default.perspectivev3 35 | -------------------------------------------------------------------------------- /ios/Flutter/AppFrameworkInfo.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | App 9 | CFBundleIdentifier 10 | io.flutter.flutter.app 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | App 15 | CFBundlePackageType 16 | FMWK 17 | CFBundleShortVersionString 18 | 1.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | 1.0 23 | MinimumOSVersion 24 | 9.0 25 | 26 | 27 | -------------------------------------------------------------------------------- /ios/Flutter/Debug.xcconfig: -------------------------------------------------------------------------------- 1 | #include? "Pods/Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig" 2 | #include "Generated.xcconfig" 3 | -------------------------------------------------------------------------------- /ios/Flutter/Release.xcconfig: -------------------------------------------------------------------------------- 1 | #include? "Pods/Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig" 2 | #include "Generated.xcconfig" 3 | -------------------------------------------------------------------------------- /ios/Podfile: -------------------------------------------------------------------------------- 1 | # Uncomment this line to define a global platform for your project 2 | # platform :ios, '9.0' 3 | 4 | # CocoaPods analytics sends network stats synchronously affecting flutter build latency. 5 | ENV['COCOAPODS_DISABLE_STATS'] = 'true' 6 | 7 | project 'Runner', { 8 | 'Debug' => :debug, 9 | 'Profile' => :release, 10 | 'Release' => :release, 11 | } 12 | 13 | def flutter_root 14 | generated_xcode_build_settings_path = File.expand_path(File.join('..', 'Flutter', 'Generated.xcconfig'), __FILE__) 15 | unless File.exist?(generated_xcode_build_settings_path) 16 | raise "#{generated_xcode_build_settings_path} must exist. If you're running pod install manually, make sure flutter pub get is executed first" 17 | end 18 | 19 | File.foreach(generated_xcode_build_settings_path) do |line| 20 | matches = line.match(/FLUTTER_ROOT\=(.*)/) 21 | return matches[1].strip if matches 22 | end 23 | raise "FLUTTER_ROOT not found in #{generated_xcode_build_settings_path}. Try deleting Generated.xcconfig, then run flutter pub get" 24 | end 25 | 26 | require File.expand_path(File.join('packages', 'flutter_tools', 'bin', 'podhelper'), flutter_root) 27 | 28 | flutter_ios_podfile_setup 29 | 30 | target 'Runner' do 31 | use_frameworks! 32 | use_modular_headers! 33 | 34 | flutter_install_all_ios_pods File.dirname(File.realpath(__FILE__)) 35 | end 36 | 37 | post_install do |installer| 38 | installer.pods_project.targets.each do |target| 39 | flutter_additional_ios_build_settings(target) 40 | end 41 | end 42 | -------------------------------------------------------------------------------- /ios/Podfile.lock: -------------------------------------------------------------------------------- 1 | PODS: 2 | - abseil/algorithm (1.20211102.0): 3 | - abseil/algorithm/algorithm (= 1.20211102.0) 4 | - abseil/algorithm/container (= 1.20211102.0) 5 | - abseil/algorithm/algorithm (1.20211102.0): 6 | - abseil/base/config 7 | - abseil/algorithm/container (1.20211102.0): 8 | - abseil/algorithm/algorithm 9 | - abseil/base/core_headers 10 | - abseil/meta/type_traits 11 | - abseil/base (1.20211102.0): 12 | - abseil/base/atomic_hook (= 1.20211102.0) 13 | - abseil/base/base (= 1.20211102.0) 14 | - abseil/base/base_internal (= 1.20211102.0) 15 | - abseil/base/config (= 1.20211102.0) 16 | - abseil/base/core_headers (= 1.20211102.0) 17 | - abseil/base/dynamic_annotations (= 1.20211102.0) 18 | - abseil/base/endian (= 1.20211102.0) 19 | - abseil/base/errno_saver (= 1.20211102.0) 20 | - abseil/base/fast_type_id (= 1.20211102.0) 21 | - abseil/base/log_severity (= 1.20211102.0) 22 | - abseil/base/malloc_internal (= 1.20211102.0) 23 | - abseil/base/pretty_function (= 1.20211102.0) 24 | - abseil/base/raw_logging_internal (= 1.20211102.0) 25 | - abseil/base/spinlock_wait (= 1.20211102.0) 26 | - abseil/base/strerror (= 1.20211102.0) 27 | - abseil/base/throw_delegate (= 1.20211102.0) 28 | - abseil/base/atomic_hook (1.20211102.0): 29 | - abseil/base/config 30 | - abseil/base/core_headers 31 | - abseil/base/base (1.20211102.0): 32 | - abseil/base/atomic_hook 33 | - abseil/base/base_internal 34 | - abseil/base/config 35 | - abseil/base/core_headers 36 | - abseil/base/dynamic_annotations 37 | - abseil/base/log_severity 38 | - abseil/base/raw_logging_internal 39 | - abseil/base/spinlock_wait 40 | - abseil/meta/type_traits 41 | - abseil/base/base_internal (1.20211102.0): 42 | - abseil/base/config 43 | - abseil/meta/type_traits 44 | - abseil/base/config (1.20211102.0) 45 | - abseil/base/core_headers (1.20211102.0): 46 | - abseil/base/config 47 | - abseil/base/dynamic_annotations (1.20211102.0): 48 | - abseil/base/config 49 | - abseil/base/core_headers 50 | - abseil/base/endian (1.20211102.0): 51 | - abseil/base/base 52 | - abseil/base/config 53 | - abseil/base/core_headers 54 | - abseil/base/errno_saver (1.20211102.0): 55 | - abseil/base/config 56 | - abseil/base/fast_type_id (1.20211102.0): 57 | - abseil/base/config 58 | - abseil/base/log_severity (1.20211102.0): 59 | - abseil/base/config 60 | - abseil/base/core_headers 61 | - abseil/base/malloc_internal (1.20211102.0): 62 | - abseil/base/base 63 | - abseil/base/base_internal 64 | - abseil/base/config 65 | - abseil/base/core_headers 66 | - abseil/base/dynamic_annotations 67 | - abseil/base/raw_logging_internal 68 | - abseil/base/pretty_function (1.20211102.0) 69 | - abseil/base/raw_logging_internal (1.20211102.0): 70 | - abseil/base/atomic_hook 71 | - abseil/base/config 72 | - abseil/base/core_headers 73 | - abseil/base/log_severity 74 | - abseil/base/spinlock_wait (1.20211102.0): 75 | - abseil/base/base_internal 76 | - abseil/base/core_headers 77 | - abseil/base/errno_saver 78 | - abseil/base/strerror (1.20211102.0): 79 | - abseil/base/config 80 | - abseil/base/core_headers 81 | - abseil/base/errno_saver 82 | - abseil/base/throw_delegate (1.20211102.0): 83 | - abseil/base/config 84 | - abseil/base/raw_logging_internal 85 | - abseil/container/common (1.20211102.0): 86 | - abseil/meta/type_traits 87 | - abseil/types/optional 88 | - abseil/container/compressed_tuple (1.20211102.0): 89 | - abseil/utility/utility 90 | - abseil/container/container_memory (1.20211102.0): 91 | - abseil/base/config 92 | - abseil/memory/memory 93 | - abseil/meta/type_traits 94 | - abseil/utility/utility 95 | - abseil/container/fixed_array (1.20211102.0): 96 | - abseil/algorithm/algorithm 97 | - abseil/base/config 98 | - abseil/base/core_headers 99 | - abseil/base/dynamic_annotations 100 | - abseil/base/throw_delegate 101 | - abseil/container/compressed_tuple 102 | - abseil/memory/memory 103 | - abseil/container/flat_hash_map (1.20211102.0): 104 | - abseil/algorithm/container 105 | - abseil/container/container_memory 106 | - abseil/container/hash_function_defaults 107 | - abseil/container/raw_hash_map 108 | - abseil/memory/memory 109 | - abseil/container/hash_function_defaults (1.20211102.0): 110 | - abseil/base/config 111 | - abseil/hash/hash 112 | - abseil/strings/cord 113 | - abseil/strings/strings 114 | - abseil/container/hash_policy_traits (1.20211102.0): 115 | - abseil/meta/type_traits 116 | - abseil/container/hashtable_debug_hooks (1.20211102.0): 117 | - abseil/base/config 118 | - abseil/container/hashtablez_sampler (1.20211102.0): 119 | - abseil/base/base 120 | - abseil/base/core_headers 121 | - abseil/container/have_sse 122 | - abseil/debugging/stacktrace 123 | - abseil/memory/memory 124 | - abseil/profiling/exponential_biased 125 | - abseil/profiling/sample_recorder 126 | - abseil/synchronization/synchronization 127 | - abseil/utility/utility 128 | - abseil/container/have_sse (1.20211102.0) 129 | - abseil/container/inlined_vector (1.20211102.0): 130 | - abseil/algorithm/algorithm 131 | - abseil/base/core_headers 132 | - abseil/base/throw_delegate 133 | - abseil/container/inlined_vector_internal 134 | - abseil/memory/memory 135 | - abseil/container/inlined_vector_internal (1.20211102.0): 136 | - abseil/base/core_headers 137 | - abseil/container/compressed_tuple 138 | - abseil/memory/memory 139 | - abseil/meta/type_traits 140 | - abseil/types/span 141 | - abseil/container/layout (1.20211102.0): 142 | - abseil/base/config 143 | - abseil/base/core_headers 144 | - abseil/meta/type_traits 145 | - abseil/strings/strings 146 | - abseil/types/span 147 | - abseil/utility/utility 148 | - abseil/container/raw_hash_map (1.20211102.0): 149 | - abseil/base/throw_delegate 150 | - abseil/container/container_memory 151 | - abseil/container/raw_hash_set 152 | - abseil/container/raw_hash_set (1.20211102.0): 153 | - abseil/base/config 154 | - abseil/base/core_headers 155 | - abseil/base/endian 156 | - abseil/container/common 157 | - abseil/container/compressed_tuple 158 | - abseil/container/container_memory 159 | - abseil/container/hash_policy_traits 160 | - abseil/container/hashtable_debug_hooks 161 | - abseil/container/hashtablez_sampler 162 | - abseil/container/have_sse 163 | - abseil/memory/memory 164 | - abseil/meta/type_traits 165 | - abseil/numeric/bits 166 | - abseil/utility/utility 167 | - abseil/debugging/debugging_internal (1.20211102.0): 168 | - abseil/base/config 169 | - abseil/base/core_headers 170 | - abseil/base/dynamic_annotations 171 | - abseil/base/errno_saver 172 | - abseil/base/raw_logging_internal 173 | - abseil/debugging/demangle_internal (1.20211102.0): 174 | - abseil/base/base 175 | - abseil/base/config 176 | - abseil/base/core_headers 177 | - abseil/debugging/stacktrace (1.20211102.0): 178 | - abseil/base/config 179 | - abseil/base/core_headers 180 | - abseil/debugging/debugging_internal 181 | - abseil/debugging/symbolize (1.20211102.0): 182 | - abseil/base/base 183 | - abseil/base/config 184 | - abseil/base/core_headers 185 | - abseil/base/dynamic_annotations 186 | - abseil/base/malloc_internal 187 | - abseil/base/raw_logging_internal 188 | - abseil/debugging/debugging_internal 189 | - abseil/debugging/demangle_internal 190 | - abseil/strings/strings 191 | - abseil/functional/bind_front (1.20211102.0): 192 | - abseil/base/base_internal 193 | - abseil/container/compressed_tuple 194 | - abseil/meta/type_traits 195 | - abseil/utility/utility 196 | - abseil/functional/function_ref (1.20211102.0): 197 | - abseil/base/base_internal 198 | - abseil/base/core_headers 199 | - abseil/meta/type_traits 200 | - abseil/hash/city (1.20211102.0): 201 | - abseil/base/config 202 | - abseil/base/core_headers 203 | - abseil/base/endian 204 | - abseil/hash/hash (1.20211102.0): 205 | - abseil/base/config 206 | - abseil/base/core_headers 207 | - abseil/base/endian 208 | - abseil/container/fixed_array 209 | - abseil/hash/city 210 | - abseil/hash/low_level_hash 211 | - abseil/meta/type_traits 212 | - abseil/numeric/int128 213 | - abseil/strings/strings 214 | - abseil/types/optional 215 | - abseil/types/variant 216 | - abseil/utility/utility 217 | - abseil/hash/low_level_hash (1.20211102.0): 218 | - abseil/base/config 219 | - abseil/base/endian 220 | - abseil/numeric/bits 221 | - abseil/numeric/int128 222 | - abseil/memory (1.20211102.0): 223 | - abseil/memory/memory (= 1.20211102.0) 224 | - abseil/memory/memory (1.20211102.0): 225 | - abseil/base/core_headers 226 | - abseil/meta/type_traits 227 | - abseil/meta (1.20211102.0): 228 | - abseil/meta/type_traits (= 1.20211102.0) 229 | - abseil/meta/type_traits (1.20211102.0): 230 | - abseil/base/config 231 | - abseil/numeric/bits (1.20211102.0): 232 | - abseil/base/config 233 | - abseil/base/core_headers 234 | - abseil/numeric/int128 (1.20211102.0): 235 | - abseil/base/config 236 | - abseil/base/core_headers 237 | - abseil/numeric/bits 238 | - abseil/numeric/representation (1.20211102.0): 239 | - abseil/base/config 240 | - abseil/profiling/exponential_biased (1.20211102.0): 241 | - abseil/base/config 242 | - abseil/base/core_headers 243 | - abseil/profiling/sample_recorder (1.20211102.0): 244 | - abseil/base/config 245 | - abseil/base/core_headers 246 | - abseil/synchronization/synchronization 247 | - abseil/time/time 248 | - abseil/random/distributions (1.20211102.0): 249 | - abseil/base/base_internal 250 | - abseil/base/config 251 | - abseil/base/core_headers 252 | - abseil/meta/type_traits 253 | - abseil/numeric/bits 254 | - abseil/random/internal/distribution_caller 255 | - abseil/random/internal/fast_uniform_bits 256 | - abseil/random/internal/fastmath 257 | - abseil/random/internal/generate_real 258 | - abseil/random/internal/iostream_state_saver 259 | - abseil/random/internal/traits 260 | - abseil/random/internal/uniform_helper 261 | - abseil/random/internal/wide_multiply 262 | - abseil/strings/strings 263 | - abseil/random/internal/distribution_caller (1.20211102.0): 264 | - abseil/base/config 265 | - abseil/base/fast_type_id 266 | - abseil/utility/utility 267 | - abseil/random/internal/fast_uniform_bits (1.20211102.0): 268 | - abseil/base/config 269 | - abseil/meta/type_traits 270 | - abseil/random/internal/fastmath (1.20211102.0): 271 | - abseil/numeric/bits 272 | - abseil/random/internal/generate_real (1.20211102.0): 273 | - abseil/meta/type_traits 274 | - abseil/numeric/bits 275 | - abseil/random/internal/fastmath 276 | - abseil/random/internal/traits 277 | - abseil/random/internal/iostream_state_saver (1.20211102.0): 278 | - abseil/meta/type_traits 279 | - abseil/numeric/int128 280 | - abseil/random/internal/nonsecure_base (1.20211102.0): 281 | - abseil/base/core_headers 282 | - abseil/meta/type_traits 283 | - abseil/random/internal/pool_urbg 284 | - abseil/random/internal/salted_seed_seq 285 | - abseil/random/internal/seed_material 286 | - abseil/types/optional 287 | - abseil/types/span 288 | - abseil/random/internal/pcg_engine (1.20211102.0): 289 | - abseil/base/config 290 | - abseil/meta/type_traits 291 | - abseil/numeric/bits 292 | - abseil/numeric/int128 293 | - abseil/random/internal/fastmath 294 | - abseil/random/internal/iostream_state_saver 295 | - abseil/random/internal/platform (1.20211102.0): 296 | - abseil/base/config 297 | - abseil/random/internal/pool_urbg (1.20211102.0): 298 | - abseil/base/base 299 | - abseil/base/config 300 | - abseil/base/core_headers 301 | - abseil/base/endian 302 | - abseil/base/raw_logging_internal 303 | - abseil/random/internal/randen 304 | - abseil/random/internal/seed_material 305 | - abseil/random/internal/traits 306 | - abseil/random/seed_gen_exception 307 | - abseil/types/span 308 | - abseil/random/internal/randen (1.20211102.0): 309 | - abseil/base/raw_logging_internal 310 | - abseil/random/internal/platform 311 | - abseil/random/internal/randen_hwaes 312 | - abseil/random/internal/randen_slow 313 | - abseil/random/internal/randen_engine (1.20211102.0): 314 | - abseil/base/endian 315 | - abseil/meta/type_traits 316 | - abseil/random/internal/iostream_state_saver 317 | - abseil/random/internal/randen 318 | - abseil/random/internal/randen_hwaes (1.20211102.0): 319 | - abseil/base/config 320 | - abseil/random/internal/platform 321 | - abseil/random/internal/randen_hwaes_impl 322 | - abseil/random/internal/randen_hwaes_impl (1.20211102.0): 323 | - abseil/base/config 324 | - abseil/base/core_headers 325 | - abseil/numeric/int128 326 | - abseil/random/internal/platform 327 | - abseil/random/internal/randen_slow (1.20211102.0): 328 | - abseil/base/config 329 | - abseil/base/core_headers 330 | - abseil/base/endian 331 | - abseil/numeric/int128 332 | - abseil/random/internal/platform 333 | - abseil/random/internal/salted_seed_seq (1.20211102.0): 334 | - abseil/container/inlined_vector 335 | - abseil/meta/type_traits 336 | - abseil/random/internal/seed_material 337 | - abseil/types/optional 338 | - abseil/types/span 339 | - abseil/random/internal/seed_material (1.20211102.0): 340 | - abseil/base/core_headers 341 | - abseil/base/dynamic_annotations 342 | - abseil/base/raw_logging_internal 343 | - abseil/random/internal/fast_uniform_bits 344 | - abseil/strings/strings 345 | - abseil/types/optional 346 | - abseil/types/span 347 | - abseil/random/internal/traits (1.20211102.0): 348 | - abseil/base/config 349 | - abseil/random/internal/uniform_helper (1.20211102.0): 350 | - abseil/base/config 351 | - abseil/meta/type_traits 352 | - abseil/random/internal/traits 353 | - abseil/random/internal/wide_multiply (1.20211102.0): 354 | - abseil/base/config 355 | - abseil/numeric/bits 356 | - abseil/numeric/int128 357 | - abseil/random/internal/traits 358 | - abseil/random/random (1.20211102.0): 359 | - abseil/random/distributions 360 | - abseil/random/internal/nonsecure_base 361 | - abseil/random/internal/pcg_engine 362 | - abseil/random/internal/pool_urbg 363 | - abseil/random/internal/randen_engine 364 | - abseil/random/seed_sequences 365 | - abseil/random/seed_gen_exception (1.20211102.0): 366 | - abseil/base/config 367 | - abseil/random/seed_sequences (1.20211102.0): 368 | - abseil/container/inlined_vector 369 | - abseil/random/internal/nonsecure_base 370 | - abseil/random/internal/pool_urbg 371 | - abseil/random/internal/salted_seed_seq 372 | - abseil/random/internal/seed_material 373 | - abseil/random/seed_gen_exception 374 | - abseil/types/span 375 | - abseil/status/status (1.20211102.0): 376 | - abseil/base/atomic_hook 377 | - abseil/base/config 378 | - abseil/base/core_headers 379 | - abseil/base/raw_logging_internal 380 | - abseil/container/inlined_vector 381 | - abseil/debugging/stacktrace 382 | - abseil/debugging/symbolize 383 | - abseil/functional/function_ref 384 | - abseil/strings/cord 385 | - abseil/strings/str_format 386 | - abseil/strings/strings 387 | - abseil/types/optional 388 | - abseil/status/statusor (1.20211102.0): 389 | - abseil/base/base 390 | - abseil/base/core_headers 391 | - abseil/base/raw_logging_internal 392 | - abseil/meta/type_traits 393 | - abseil/status/status 394 | - abseil/strings/strings 395 | - abseil/types/variant 396 | - abseil/utility/utility 397 | - abseil/strings/cord (1.20211102.0): 398 | - abseil/base/base 399 | - abseil/base/config 400 | - abseil/base/core_headers 401 | - abseil/base/endian 402 | - abseil/base/raw_logging_internal 403 | - abseil/container/fixed_array 404 | - abseil/container/inlined_vector 405 | - abseil/functional/function_ref 406 | - abseil/meta/type_traits 407 | - abseil/strings/cord_internal 408 | - abseil/strings/cordz_functions 409 | - abseil/strings/cordz_info 410 | - abseil/strings/cordz_statistics 411 | - abseil/strings/cordz_update_scope 412 | - abseil/strings/cordz_update_tracker 413 | - abseil/strings/internal 414 | - abseil/strings/str_format 415 | - abseil/strings/strings 416 | - abseil/types/optional 417 | - abseil/strings/cord_internal (1.20211102.0): 418 | - abseil/base/base_internal 419 | - abseil/base/config 420 | - abseil/base/core_headers 421 | - abseil/base/endian 422 | - abseil/base/raw_logging_internal 423 | - abseil/base/throw_delegate 424 | - abseil/container/compressed_tuple 425 | - abseil/container/inlined_vector 426 | - abseil/container/layout 427 | - abseil/functional/function_ref 428 | - abseil/meta/type_traits 429 | - abseil/strings/strings 430 | - abseil/types/span 431 | - abseil/strings/cordz_functions (1.20211102.0): 432 | - abseil/base/config 433 | - abseil/base/core_headers 434 | - abseil/base/raw_logging_internal 435 | - abseil/profiling/exponential_biased 436 | - abseil/strings/cordz_handle (1.20211102.0): 437 | - abseil/base/base 438 | - abseil/base/config 439 | - abseil/base/raw_logging_internal 440 | - abseil/synchronization/synchronization 441 | - abseil/strings/cordz_info (1.20211102.0): 442 | - abseil/base/base 443 | - abseil/base/config 444 | - abseil/base/core_headers 445 | - abseil/base/raw_logging_internal 446 | - abseil/container/inlined_vector 447 | - abseil/debugging/stacktrace 448 | - abseil/strings/cord_internal 449 | - abseil/strings/cordz_functions 450 | - abseil/strings/cordz_handle 451 | - abseil/strings/cordz_statistics 452 | - abseil/strings/cordz_update_tracker 453 | - abseil/synchronization/synchronization 454 | - abseil/types/span 455 | - abseil/strings/cordz_statistics (1.20211102.0): 456 | - abseil/base/config 457 | - abseil/strings/cordz_update_tracker 458 | - abseil/strings/cordz_update_scope (1.20211102.0): 459 | - abseil/base/config 460 | - abseil/base/core_headers 461 | - abseil/strings/cord_internal 462 | - abseil/strings/cordz_info 463 | - abseil/strings/cordz_update_tracker 464 | - abseil/strings/cordz_update_tracker (1.20211102.0): 465 | - abseil/base/config 466 | - abseil/strings/internal (1.20211102.0): 467 | - abseil/base/config 468 | - abseil/base/core_headers 469 | - abseil/base/endian 470 | - abseil/base/raw_logging_internal 471 | - abseil/meta/type_traits 472 | - abseil/strings/str_format (1.20211102.0): 473 | - abseil/strings/str_format_internal 474 | - abseil/strings/str_format_internal (1.20211102.0): 475 | - abseil/base/config 476 | - abseil/base/core_headers 477 | - abseil/functional/function_ref 478 | - abseil/meta/type_traits 479 | - abseil/numeric/bits 480 | - abseil/numeric/int128 481 | - abseil/numeric/representation 482 | - abseil/strings/strings 483 | - abseil/types/optional 484 | - abseil/types/span 485 | - abseil/strings/strings (1.20211102.0): 486 | - abseil/base/base 487 | - abseil/base/config 488 | - abseil/base/core_headers 489 | - abseil/base/endian 490 | - abseil/base/raw_logging_internal 491 | - abseil/base/throw_delegate 492 | - abseil/memory/memory 493 | - abseil/meta/type_traits 494 | - abseil/numeric/bits 495 | - abseil/numeric/int128 496 | - abseil/strings/internal 497 | - abseil/synchronization/graphcycles_internal (1.20211102.0): 498 | - abseil/base/base 499 | - abseil/base/base_internal 500 | - abseil/base/config 501 | - abseil/base/core_headers 502 | - abseil/base/malloc_internal 503 | - abseil/base/raw_logging_internal 504 | - abseil/synchronization/kernel_timeout_internal (1.20211102.0): 505 | - abseil/base/core_headers 506 | - abseil/base/raw_logging_internal 507 | - abseil/time/time 508 | - abseil/synchronization/synchronization (1.20211102.0): 509 | - abseil/base/atomic_hook 510 | - abseil/base/base 511 | - abseil/base/base_internal 512 | - abseil/base/config 513 | - abseil/base/core_headers 514 | - abseil/base/dynamic_annotations 515 | - abseil/base/malloc_internal 516 | - abseil/base/raw_logging_internal 517 | - abseil/debugging/stacktrace 518 | - abseil/debugging/symbolize 519 | - abseil/synchronization/graphcycles_internal 520 | - abseil/synchronization/kernel_timeout_internal 521 | - abseil/time/time 522 | - abseil/time (1.20211102.0): 523 | - abseil/time/internal (= 1.20211102.0) 524 | - abseil/time/time (= 1.20211102.0) 525 | - abseil/time/internal (1.20211102.0): 526 | - abseil/time/internal/cctz (= 1.20211102.0) 527 | - abseil/time/internal/cctz (1.20211102.0): 528 | - abseil/time/internal/cctz/civil_time (= 1.20211102.0) 529 | - abseil/time/internal/cctz/time_zone (= 1.20211102.0) 530 | - abseil/time/internal/cctz/civil_time (1.20211102.0): 531 | - abseil/base/config 532 | - abseil/time/internal/cctz/time_zone (1.20211102.0): 533 | - abseil/base/config 534 | - abseil/time/internal/cctz/civil_time 535 | - abseil/time/time (1.20211102.0): 536 | - abseil/base/base 537 | - abseil/base/core_headers 538 | - abseil/base/raw_logging_internal 539 | - abseil/numeric/int128 540 | - abseil/strings/strings 541 | - abseil/time/internal/cctz/civil_time 542 | - abseil/time/internal/cctz/time_zone 543 | - abseil/types (1.20211102.0): 544 | - abseil/types/any (= 1.20211102.0) 545 | - abseil/types/bad_any_cast (= 1.20211102.0) 546 | - abseil/types/bad_any_cast_impl (= 1.20211102.0) 547 | - abseil/types/bad_optional_access (= 1.20211102.0) 548 | - abseil/types/bad_variant_access (= 1.20211102.0) 549 | - abseil/types/compare (= 1.20211102.0) 550 | - abseil/types/optional (= 1.20211102.0) 551 | - abseil/types/span (= 1.20211102.0) 552 | - abseil/types/variant (= 1.20211102.0) 553 | - abseil/types/any (1.20211102.0): 554 | - abseil/base/config 555 | - abseil/base/core_headers 556 | - abseil/base/fast_type_id 557 | - abseil/meta/type_traits 558 | - abseil/types/bad_any_cast 559 | - abseil/utility/utility 560 | - abseil/types/bad_any_cast (1.20211102.0): 561 | - abseil/base/config 562 | - abseil/types/bad_any_cast_impl 563 | - abseil/types/bad_any_cast_impl (1.20211102.0): 564 | - abseil/base/config 565 | - abseil/base/raw_logging_internal 566 | - abseil/types/bad_optional_access (1.20211102.0): 567 | - abseil/base/config 568 | - abseil/base/raw_logging_internal 569 | - abseil/types/bad_variant_access (1.20211102.0): 570 | - abseil/base/config 571 | - abseil/base/raw_logging_internal 572 | - abseil/types/compare (1.20211102.0): 573 | - abseil/base/core_headers 574 | - abseil/meta/type_traits 575 | - abseil/types/optional (1.20211102.0): 576 | - abseil/base/base_internal 577 | - abseil/base/config 578 | - abseil/base/core_headers 579 | - abseil/memory/memory 580 | - abseil/meta/type_traits 581 | - abseil/types/bad_optional_access 582 | - abseil/utility/utility 583 | - abseil/types/span (1.20211102.0): 584 | - abseil/algorithm/algorithm 585 | - abseil/base/core_headers 586 | - abseil/base/throw_delegate 587 | - abseil/meta/type_traits 588 | - abseil/types/variant (1.20211102.0): 589 | - abseil/base/base_internal 590 | - abseil/base/config 591 | - abseil/base/core_headers 592 | - abseil/meta/type_traits 593 | - abseil/types/bad_variant_access 594 | - abseil/utility/utility 595 | - abseil/utility/utility (1.20211102.0): 596 | - abseil/base/base_internal 597 | - abseil/base/config 598 | - abseil/meta/type_traits 599 | - BoringSSL-GRPC (0.0.24): 600 | - BoringSSL-GRPC/Implementation (= 0.0.24) 601 | - BoringSSL-GRPC/Interface (= 0.0.24) 602 | - BoringSSL-GRPC/Implementation (0.0.24): 603 | - BoringSSL-GRPC/Interface (= 0.0.24) 604 | - BoringSSL-GRPC/Interface (0.0.24) 605 | - cloud_firestore (3.4.3): 606 | - Firebase/Firestore (= 9.3.0) 607 | - firebase_core 608 | - Flutter 609 | - Firebase/CoreOnly (9.3.0): 610 | - FirebaseCore (= 9.3.0) 611 | - Firebase/Firestore (9.3.0): 612 | - Firebase/CoreOnly 613 | - FirebaseFirestore (~> 9.3.0) 614 | - firebase_core (1.20.0): 615 | - Firebase/CoreOnly (= 9.3.0) 616 | - Flutter 617 | - FirebaseCore (9.3.0): 618 | - FirebaseCoreDiagnostics (~> 9.0) 619 | - FirebaseCoreInternal (~> 9.0) 620 | - GoogleUtilities/Environment (~> 7.7) 621 | - GoogleUtilities/Logger (~> 7.7) 622 | - FirebaseCoreDiagnostics (9.4.0): 623 | - GoogleDataTransport (< 10.0.0, >= 9.1.4) 624 | - GoogleUtilities/Environment (~> 7.7) 625 | - GoogleUtilities/Logger (~> 7.7) 626 | - nanopb (< 2.30910.0, >= 2.30908.0) 627 | - FirebaseCoreInternal (9.4.0): 628 | - "GoogleUtilities/NSData+zlib (~> 7.7)" 629 | - FirebaseFirestore (9.3.0): 630 | - abseil/algorithm (~> 1.20211102.0) 631 | - abseil/base (~> 1.20211102.0) 632 | - abseil/container/flat_hash_map (~> 1.20211102.0) 633 | - abseil/memory (~> 1.20211102.0) 634 | - abseil/meta (~> 1.20211102.0) 635 | - abseil/strings/strings (~> 1.20211102.0) 636 | - abseil/time (~> 1.20211102.0) 637 | - abseil/types (~> 1.20211102.0) 638 | - FirebaseCore (~> 9.0) 639 | - "gRPC-C++ (~> 1.44.0)" 640 | - leveldb-library (~> 1.22) 641 | - nanopb (< 2.30910.0, >= 2.30908.0) 642 | - Flutter (1.0.0) 643 | - GoogleDataTransport (9.2.0): 644 | - GoogleUtilities/Environment (~> 7.7) 645 | - nanopb (< 2.30910.0, >= 2.30908.0) 646 | - PromisesObjC (< 3.0, >= 1.2) 647 | - GoogleUtilities/Environment (7.7.0): 648 | - PromisesObjC (< 3.0, >= 1.2) 649 | - GoogleUtilities/Logger (7.7.0): 650 | - GoogleUtilities/Environment 651 | - "GoogleUtilities/NSData+zlib (7.7.0)" 652 | - "gRPC-C++ (1.44.0)": 653 | - "gRPC-C++/Implementation (= 1.44.0)" 654 | - "gRPC-C++/Interface (= 1.44.0)" 655 | - "gRPC-C++/Implementation (1.44.0)": 656 | - abseil/base/base (= 1.20211102.0) 657 | - abseil/base/core_headers (= 1.20211102.0) 658 | - abseil/container/flat_hash_map (= 1.20211102.0) 659 | - abseil/container/inlined_vector (= 1.20211102.0) 660 | - abseil/functional/bind_front (= 1.20211102.0) 661 | - abseil/hash/hash (= 1.20211102.0) 662 | - abseil/memory/memory (= 1.20211102.0) 663 | - abseil/random/random (= 1.20211102.0) 664 | - abseil/status/status (= 1.20211102.0) 665 | - abseil/status/statusor (= 1.20211102.0) 666 | - abseil/strings/cord (= 1.20211102.0) 667 | - abseil/strings/str_format (= 1.20211102.0) 668 | - abseil/strings/strings (= 1.20211102.0) 669 | - abseil/synchronization/synchronization (= 1.20211102.0) 670 | - abseil/time/time (= 1.20211102.0) 671 | - abseil/types/optional (= 1.20211102.0) 672 | - abseil/types/variant (= 1.20211102.0) 673 | - abseil/utility/utility (= 1.20211102.0) 674 | - "gRPC-C++/Interface (= 1.44.0)" 675 | - gRPC-Core (= 1.44.0) 676 | - "gRPC-C++/Interface (1.44.0)" 677 | - gRPC-Core (1.44.0): 678 | - gRPC-Core/Implementation (= 1.44.0) 679 | - gRPC-Core/Interface (= 1.44.0) 680 | - gRPC-Core/Implementation (1.44.0): 681 | - abseil/base/base (= 1.20211102.0) 682 | - abseil/base/core_headers (= 1.20211102.0) 683 | - abseil/container/flat_hash_map (= 1.20211102.0) 684 | - abseil/container/inlined_vector (= 1.20211102.0) 685 | - abseil/functional/bind_front (= 1.20211102.0) 686 | - abseil/hash/hash (= 1.20211102.0) 687 | - abseil/memory/memory (= 1.20211102.0) 688 | - abseil/random/random (= 1.20211102.0) 689 | - abseil/status/status (= 1.20211102.0) 690 | - abseil/status/statusor (= 1.20211102.0) 691 | - abseil/strings/cord (= 1.20211102.0) 692 | - abseil/strings/str_format (= 1.20211102.0) 693 | - abseil/strings/strings (= 1.20211102.0) 694 | - abseil/synchronization/synchronization (= 1.20211102.0) 695 | - abseil/time/time (= 1.20211102.0) 696 | - abseil/types/optional (= 1.20211102.0) 697 | - abseil/types/variant (= 1.20211102.0) 698 | - abseil/utility/utility (= 1.20211102.0) 699 | - BoringSSL-GRPC (= 0.0.24) 700 | - gRPC-Core/Interface (= 1.44.0) 701 | - Libuv-gRPC (= 0.0.10) 702 | - gRPC-Core/Interface (1.44.0) 703 | - leveldb-library (1.22.1) 704 | - Libuv-gRPC (0.0.10): 705 | - Libuv-gRPC/Implementation (= 0.0.10) 706 | - Libuv-gRPC/Interface (= 0.0.10) 707 | - Libuv-gRPC/Implementation (0.0.10): 708 | - Libuv-gRPC/Interface (= 0.0.10) 709 | - Libuv-gRPC/Interface (0.0.10) 710 | - nanopb (2.30909.0): 711 | - nanopb/decode (= 2.30909.0) 712 | - nanopb/encode (= 2.30909.0) 713 | - nanopb/decode (2.30909.0) 714 | - nanopb/encode (2.30909.0) 715 | - PromisesObjC (2.1.1) 716 | 717 | DEPENDENCIES: 718 | - cloud_firestore (from `.symlinks/plugins/cloud_firestore/ios`) 719 | - firebase_core (from `.symlinks/plugins/firebase_core/ios`) 720 | - Flutter (from `Flutter`) 721 | 722 | SPEC REPOS: 723 | trunk: 724 | - abseil 725 | - BoringSSL-GRPC 726 | - Firebase 727 | - FirebaseCore 728 | - FirebaseCoreDiagnostics 729 | - FirebaseCoreInternal 730 | - FirebaseFirestore 731 | - GoogleDataTransport 732 | - GoogleUtilities 733 | - "gRPC-C++" 734 | - gRPC-Core 735 | - leveldb-library 736 | - Libuv-gRPC 737 | - nanopb 738 | - PromisesObjC 739 | 740 | EXTERNAL SOURCES: 741 | cloud_firestore: 742 | :path: ".symlinks/plugins/cloud_firestore/ios" 743 | firebase_core: 744 | :path: ".symlinks/plugins/firebase_core/ios" 745 | Flutter: 746 | :path: Flutter 747 | 748 | SPEC CHECKSUMS: 749 | abseil: ebe5b5529fb05d93a8bdb7951607be08b7fa71bc 750 | BoringSSL-GRPC: 3175b25143e648463a56daeaaa499c6cb86dad33 751 | cloud_firestore: 08093e207dfb2e6c82a6b272def699e022548786 752 | Firebase: ef75abb1cdbc746d5a38f4e26c422c807b189b8c 753 | firebase_core: 96214f90497b808a2cf2a24517084c5f6de37b53 754 | FirebaseCore: c088995ece701a021a48a1348ea0174877de2a6a 755 | FirebaseCoreDiagnostics: aaa87098082c4d4bdd1a9557b1186d18ca85ce8c 756 | FirebaseCoreInternal: a13302b0088fbf5f38b79b6ece49c2af7d3e05d6 757 | FirebaseFirestore: 5a72aa925528f67469b16a54a6cfc369467197e4 758 | Flutter: 50d75fe2f02b26cc09d224853bb45737f8b3214a 759 | GoogleDataTransport: 1c8145da7117bd68bbbed00cf304edb6a24de00f 760 | GoogleUtilities: e0913149f6b0625b553d70dae12b49fc62914fd1 761 | "gRPC-C++": 9675f953ace2b3de7c506039d77be1f2e77a8db2 762 | gRPC-Core: 943e491cb0d45598b0b0eb9e910c88080369290b 763 | leveldb-library: 50c7b45cbd7bf543c81a468fe557a16ae3db8729 764 | Libuv-gRPC: 55e51798e14ef436ad9bc45d12d43b77b49df378 765 | nanopb: b552cce312b6c8484180ef47159bc0f65a1f0431 766 | PromisesObjC: ab77feca74fa2823e7af4249b8326368e61014cb 767 | 768 | PODFILE CHECKSUM: aafe91acc616949ddb318b77800a7f51bffa2a4c 769 | 770 | COCOAPODS: 1.11.3 771 | -------------------------------------------------------------------------------- /ios/Runner.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- 1 | // !$*UTF8*$! 2 | { 3 | archiveVersion = 1; 4 | classes = { 5 | }; 6 | objectVersion = 50; 7 | objects = { 8 | 9 | /* Begin PBXBuildFile section */ 10 | 1498D2341E8E89220040F4C2 /* GeneratedPluginRegistrant.m in Sources */ = {isa = PBXBuildFile; fileRef = 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */; }; 11 | 172A7803D63A70837A74C9E3 /* Pods_Runner.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 882C2BD105E8317DCDBD46CE /* Pods_Runner.framework */; }; 12 | 3B3967161E833CAA004F5970 /* AppFrameworkInfo.plist in Resources */ = {isa = PBXBuildFile; fileRef = 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */; }; 13 | 74858FAF1ED2DC5600515810 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 74858FAE1ED2DC5600515810 /* AppDelegate.swift */; }; 14 | 97C146FC1CF9000F007C117D /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FA1CF9000F007C117D /* Main.storyboard */; }; 15 | 97C146FE1CF9000F007C117D /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FD1CF9000F007C117D /* Assets.xcassets */; }; 16 | 97C147011CF9000F007C117D /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */; }; 17 | F542C84C28A1AE0F008883AA /* GoogleService-Info.plist in Resources */ = {isa = PBXBuildFile; fileRef = F542C84B28A1AE0F008883AA /* GoogleService-Info.plist */; }; 18 | /* End PBXBuildFile section */ 19 | 20 | /* Begin PBXCopyFilesBuildPhase section */ 21 | 9705A1C41CF9048500538489 /* Embed Frameworks */ = { 22 | isa = PBXCopyFilesBuildPhase; 23 | buildActionMask = 2147483647; 24 | dstPath = ""; 25 | dstSubfolderSpec = 10; 26 | files = ( 27 | ); 28 | name = "Embed Frameworks"; 29 | runOnlyForDeploymentPostprocessing = 0; 30 | }; 31 | /* End PBXCopyFilesBuildPhase section */ 32 | 33 | /* Begin PBXFileReference section */ 34 | 1498D2321E8E86230040F4C2 /* GeneratedPluginRegistrant.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = GeneratedPluginRegistrant.h; sourceTree = ""; }; 35 | 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = GeneratedPluginRegistrant.m; sourceTree = ""; }; 36 | 165DE4E9F495272E59B8F507 /* Pods-Runner.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.release.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig"; sourceTree = ""; }; 37 | 382C8DCEB8D74D39D5B97571 /* Pods-Runner.profile.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.profile.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.profile.xcconfig"; sourceTree = ""; }; 38 | 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = AppFrameworkInfo.plist; path = Flutter/AppFrameworkInfo.plist; sourceTree = ""; }; 39 | 74858FAD1ED2DC5600515810 /* Runner-Bridging-Header.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "Runner-Bridging-Header.h"; sourceTree = ""; }; 40 | 74858FAE1ED2DC5600515810 /* AppDelegate.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; }; 41 | 7AFA3C8E1D35360C0083082E /* Release.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; name = Release.xcconfig; path = Flutter/Release.xcconfig; sourceTree = ""; }; 42 | 850D35932463D575548B5229 /* Pods-Runner.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.debug.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig"; sourceTree = ""; }; 43 | 882C2BD105E8317DCDBD46CE /* Pods_Runner.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_Runner.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 44 | 9740EEB21CF90195004384FC /* Debug.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = Debug.xcconfig; path = Flutter/Debug.xcconfig; sourceTree = ""; }; 45 | 9740EEB31CF90195004384FC /* Generated.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = Generated.xcconfig; path = Flutter/Generated.xcconfig; sourceTree = ""; }; 46 | 97C146EE1CF9000F007C117D /* Runner.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Runner.app; sourceTree = BUILT_PRODUCTS_DIR; }; 47 | 97C146FB1CF9000F007C117D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; 48 | 97C146FD1CF9000F007C117D /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; }; 49 | 97C147001CF9000F007C117D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = ""; }; 50 | 97C147021CF9000F007C117D /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 51 | F542C84B28A1AE0F008883AA /* GoogleService-Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = "GoogleService-Info.plist"; sourceTree = ""; }; 52 | /* End PBXFileReference section */ 53 | 54 | /* Begin PBXFrameworksBuildPhase section */ 55 | 97C146EB1CF9000F007C117D /* Frameworks */ = { 56 | isa = PBXFrameworksBuildPhase; 57 | buildActionMask = 2147483647; 58 | files = ( 59 | 172A7803D63A70837A74C9E3 /* Pods_Runner.framework in Frameworks */, 60 | ); 61 | runOnlyForDeploymentPostprocessing = 0; 62 | }; 63 | /* End PBXFrameworksBuildPhase section */ 64 | 65 | /* Begin PBXGroup section */ 66 | 0200CCEE3B9D97E271E01E35 /* Frameworks */ = { 67 | isa = PBXGroup; 68 | children = ( 69 | 882C2BD105E8317DCDBD46CE /* Pods_Runner.framework */, 70 | ); 71 | name = Frameworks; 72 | sourceTree = ""; 73 | }; 74 | 9740EEB11CF90186004384FC /* Flutter */ = { 75 | isa = PBXGroup; 76 | children = ( 77 | 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */, 78 | 9740EEB21CF90195004384FC /* Debug.xcconfig */, 79 | 7AFA3C8E1D35360C0083082E /* Release.xcconfig */, 80 | 9740EEB31CF90195004384FC /* Generated.xcconfig */, 81 | ); 82 | name = Flutter; 83 | sourceTree = ""; 84 | }; 85 | 97C146E51CF9000F007C117D = { 86 | isa = PBXGroup; 87 | children = ( 88 | 9740EEB11CF90186004384FC /* Flutter */, 89 | 97C146F01CF9000F007C117D /* Runner */, 90 | 97C146EF1CF9000F007C117D /* Products */, 91 | F8B1EC8611FA6DFD2D7AA41E /* Pods */, 92 | 0200CCEE3B9D97E271E01E35 /* Frameworks */, 93 | ); 94 | sourceTree = ""; 95 | }; 96 | 97C146EF1CF9000F007C117D /* Products */ = { 97 | isa = PBXGroup; 98 | children = ( 99 | 97C146EE1CF9000F007C117D /* Runner.app */, 100 | ); 101 | name = Products; 102 | sourceTree = ""; 103 | }; 104 | 97C146F01CF9000F007C117D /* Runner */ = { 105 | isa = PBXGroup; 106 | children = ( 107 | F542C84B28A1AE0F008883AA /* GoogleService-Info.plist */, 108 | 97C146FA1CF9000F007C117D /* Main.storyboard */, 109 | 97C146FD1CF9000F007C117D /* Assets.xcassets */, 110 | 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */, 111 | 97C147021CF9000F007C117D /* Info.plist */, 112 | 1498D2321E8E86230040F4C2 /* GeneratedPluginRegistrant.h */, 113 | 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */, 114 | 74858FAE1ED2DC5600515810 /* AppDelegate.swift */, 115 | 74858FAD1ED2DC5600515810 /* Runner-Bridging-Header.h */, 116 | ); 117 | path = Runner; 118 | sourceTree = ""; 119 | }; 120 | F8B1EC8611FA6DFD2D7AA41E /* Pods */ = { 121 | isa = PBXGroup; 122 | children = ( 123 | 850D35932463D575548B5229 /* Pods-Runner.debug.xcconfig */, 124 | 165DE4E9F495272E59B8F507 /* Pods-Runner.release.xcconfig */, 125 | 382C8DCEB8D74D39D5B97571 /* Pods-Runner.profile.xcconfig */, 126 | ); 127 | name = Pods; 128 | path = Pods; 129 | sourceTree = ""; 130 | }; 131 | /* End PBXGroup section */ 132 | 133 | /* Begin PBXNativeTarget section */ 134 | 97C146ED1CF9000F007C117D /* Runner */ = { 135 | isa = PBXNativeTarget; 136 | buildConfigurationList = 97C147051CF9000F007C117D /* Build configuration list for PBXNativeTarget "Runner" */; 137 | buildPhases = ( 138 | 39A9CA2E13876C7B3164962E /* [CP] Check Pods Manifest.lock */, 139 | 9740EEB61CF901F6004384FC /* Run Script */, 140 | 97C146EA1CF9000F007C117D /* Sources */, 141 | 97C146EB1CF9000F007C117D /* Frameworks */, 142 | 97C146EC1CF9000F007C117D /* Resources */, 143 | 9705A1C41CF9048500538489 /* Embed Frameworks */, 144 | 3B06AD1E1E4923F5004D2608 /* Thin Binary */, 145 | A4CC6FA6603164DD38113C7B /* [CP] Embed Pods Frameworks */, 146 | ); 147 | buildRules = ( 148 | ); 149 | dependencies = ( 150 | ); 151 | name = Runner; 152 | productName = Runner; 153 | productReference = 97C146EE1CF9000F007C117D /* Runner.app */; 154 | productType = "com.apple.product-type.application"; 155 | }; 156 | /* End PBXNativeTarget section */ 157 | 158 | /* Begin PBXProject section */ 159 | 97C146E61CF9000F007C117D /* Project object */ = { 160 | isa = PBXProject; 161 | attributes = { 162 | LastUpgradeCheck = 1300; 163 | ORGANIZATIONNAME = ""; 164 | TargetAttributes = { 165 | 97C146ED1CF9000F007C117D = { 166 | CreatedOnToolsVersion = 7.3.1; 167 | LastSwiftMigration = 1100; 168 | }; 169 | }; 170 | }; 171 | buildConfigurationList = 97C146E91CF9000F007C117D /* Build configuration list for PBXProject "Runner" */; 172 | compatibilityVersion = "Xcode 9.3"; 173 | developmentRegion = en; 174 | hasScannedForEncodings = 0; 175 | knownRegions = ( 176 | en, 177 | Base, 178 | ); 179 | mainGroup = 97C146E51CF9000F007C117D; 180 | productRefGroup = 97C146EF1CF9000F007C117D /* Products */; 181 | projectDirPath = ""; 182 | projectRoot = ""; 183 | targets = ( 184 | 97C146ED1CF9000F007C117D /* Runner */, 185 | ); 186 | }; 187 | /* End PBXProject section */ 188 | 189 | /* Begin PBXResourcesBuildPhase section */ 190 | 97C146EC1CF9000F007C117D /* Resources */ = { 191 | isa = PBXResourcesBuildPhase; 192 | buildActionMask = 2147483647; 193 | files = ( 194 | 97C147011CF9000F007C117D /* LaunchScreen.storyboard in Resources */, 195 | 3B3967161E833CAA004F5970 /* AppFrameworkInfo.plist in Resources */, 196 | F542C84C28A1AE0F008883AA /* GoogleService-Info.plist in Resources */, 197 | 97C146FE1CF9000F007C117D /* Assets.xcassets in Resources */, 198 | 97C146FC1CF9000F007C117D /* Main.storyboard in Resources */, 199 | ); 200 | runOnlyForDeploymentPostprocessing = 0; 201 | }; 202 | /* End PBXResourcesBuildPhase section */ 203 | 204 | /* Begin PBXShellScriptBuildPhase section */ 205 | 39A9CA2E13876C7B3164962E /* [CP] Check Pods Manifest.lock */ = { 206 | isa = PBXShellScriptBuildPhase; 207 | buildActionMask = 2147483647; 208 | files = ( 209 | ); 210 | inputFileListPaths = ( 211 | ); 212 | inputPaths = ( 213 | "${PODS_PODFILE_DIR_PATH}/Podfile.lock", 214 | "${PODS_ROOT}/Manifest.lock", 215 | ); 216 | name = "[CP] Check Pods Manifest.lock"; 217 | outputFileListPaths = ( 218 | ); 219 | outputPaths = ( 220 | "$(DERIVED_FILE_DIR)/Pods-Runner-checkManifestLockResult.txt", 221 | ); 222 | runOnlyForDeploymentPostprocessing = 0; 223 | shellPath = /bin/sh; 224 | shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n"; 225 | showEnvVarsInLog = 0; 226 | }; 227 | 3B06AD1E1E4923F5004D2608 /* Thin Binary */ = { 228 | isa = PBXShellScriptBuildPhase; 229 | buildActionMask = 2147483647; 230 | files = ( 231 | ); 232 | inputPaths = ( 233 | ); 234 | name = "Thin Binary"; 235 | outputPaths = ( 236 | ); 237 | runOnlyForDeploymentPostprocessing = 0; 238 | shellPath = /bin/sh; 239 | shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" embed_and_thin"; 240 | }; 241 | 9740EEB61CF901F6004384FC /* Run Script */ = { 242 | isa = PBXShellScriptBuildPhase; 243 | buildActionMask = 2147483647; 244 | files = ( 245 | ); 246 | inputPaths = ( 247 | ); 248 | name = "Run Script"; 249 | outputPaths = ( 250 | ); 251 | runOnlyForDeploymentPostprocessing = 0; 252 | shellPath = /bin/sh; 253 | shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" build"; 254 | }; 255 | A4CC6FA6603164DD38113C7B /* [CP] Embed Pods Frameworks */ = { 256 | isa = PBXShellScriptBuildPhase; 257 | buildActionMask = 2147483647; 258 | files = ( 259 | ); 260 | inputFileListPaths = ( 261 | "${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks-${CONFIGURATION}-input-files.xcfilelist", 262 | ); 263 | name = "[CP] Embed Pods Frameworks"; 264 | outputFileListPaths = ( 265 | "${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks-${CONFIGURATION}-output-files.xcfilelist", 266 | ); 267 | runOnlyForDeploymentPostprocessing = 0; 268 | shellPath = /bin/sh; 269 | shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks.sh\"\n"; 270 | showEnvVarsInLog = 0; 271 | }; 272 | /* End PBXShellScriptBuildPhase section */ 273 | 274 | /* Begin PBXSourcesBuildPhase section */ 275 | 97C146EA1CF9000F007C117D /* Sources */ = { 276 | isa = PBXSourcesBuildPhase; 277 | buildActionMask = 2147483647; 278 | files = ( 279 | 74858FAF1ED2DC5600515810 /* AppDelegate.swift in Sources */, 280 | 1498D2341E8E89220040F4C2 /* GeneratedPluginRegistrant.m in Sources */, 281 | ); 282 | runOnlyForDeploymentPostprocessing = 0; 283 | }; 284 | /* End PBXSourcesBuildPhase section */ 285 | 286 | /* Begin PBXVariantGroup section */ 287 | 97C146FA1CF9000F007C117D /* Main.storyboard */ = { 288 | isa = PBXVariantGroup; 289 | children = ( 290 | 97C146FB1CF9000F007C117D /* Base */, 291 | ); 292 | name = Main.storyboard; 293 | sourceTree = ""; 294 | }; 295 | 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */ = { 296 | isa = PBXVariantGroup; 297 | children = ( 298 | 97C147001CF9000F007C117D /* Base */, 299 | ); 300 | name = LaunchScreen.storyboard; 301 | sourceTree = ""; 302 | }; 303 | /* End PBXVariantGroup section */ 304 | 305 | /* Begin XCBuildConfiguration section */ 306 | 249021D3217E4FDB00AE95B9 /* Profile */ = { 307 | isa = XCBuildConfiguration; 308 | buildSettings = { 309 | ALWAYS_SEARCH_USER_PATHS = NO; 310 | CLANG_ANALYZER_NONNULL = YES; 311 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 312 | CLANG_CXX_LIBRARY = "libc++"; 313 | CLANG_ENABLE_MODULES = YES; 314 | CLANG_ENABLE_OBJC_ARC = YES; 315 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 316 | CLANG_WARN_BOOL_CONVERSION = YES; 317 | CLANG_WARN_COMMA = YES; 318 | CLANG_WARN_CONSTANT_CONVERSION = YES; 319 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; 320 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 321 | CLANG_WARN_EMPTY_BODY = YES; 322 | CLANG_WARN_ENUM_CONVERSION = YES; 323 | CLANG_WARN_INFINITE_RECURSION = YES; 324 | CLANG_WARN_INT_CONVERSION = YES; 325 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 326 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; 327 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 328 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 329 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 330 | CLANG_WARN_STRICT_PROTOTYPES = YES; 331 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 332 | CLANG_WARN_UNREACHABLE_CODE = YES; 333 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 334 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 335 | COPY_PHASE_STRIP = NO; 336 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 337 | ENABLE_NS_ASSERTIONS = NO; 338 | ENABLE_STRICT_OBJC_MSGSEND = YES; 339 | GCC_C_LANGUAGE_STANDARD = gnu99; 340 | GCC_NO_COMMON_BLOCKS = YES; 341 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 342 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 343 | GCC_WARN_UNDECLARED_SELECTOR = YES; 344 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 345 | GCC_WARN_UNUSED_FUNCTION = YES; 346 | GCC_WARN_UNUSED_VARIABLE = YES; 347 | IPHONEOS_DEPLOYMENT_TARGET = 11.0; 348 | MTL_ENABLE_DEBUG_INFO = NO; 349 | SDKROOT = iphoneos; 350 | SUPPORTED_PLATFORMS = iphoneos; 351 | TARGETED_DEVICE_FAMILY = "1,2"; 352 | VALIDATE_PRODUCT = YES; 353 | }; 354 | name = Profile; 355 | }; 356 | 249021D4217E4FDB00AE95B9 /* Profile */ = { 357 | isa = XCBuildConfiguration; 358 | baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */; 359 | buildSettings = { 360 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 361 | CLANG_ENABLE_MODULES = YES; 362 | CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)"; 363 | DEVELOPMENT_TEAM = 3VQ6RDVJU5; 364 | ENABLE_BITCODE = NO; 365 | INFOPLIST_FILE = Runner/Info.plist; 366 | IPHONEOS_DEPLOYMENT_TARGET = 11.0; 367 | LD_RUNPATH_SEARCH_PATHS = ( 368 | "$(inherited)", 369 | "@executable_path/Frameworks", 370 | ); 371 | PRODUCT_BUNDLE_IDENTIFIER = com.example.crudFirebase; 372 | PRODUCT_NAME = "$(TARGET_NAME)"; 373 | SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h"; 374 | SWIFT_VERSION = 5.0; 375 | VERSIONING_SYSTEM = "apple-generic"; 376 | }; 377 | name = Profile; 378 | }; 379 | 97C147031CF9000F007C117D /* Debug */ = { 380 | isa = XCBuildConfiguration; 381 | buildSettings = { 382 | ALWAYS_SEARCH_USER_PATHS = NO; 383 | CLANG_ANALYZER_NONNULL = YES; 384 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 385 | CLANG_CXX_LIBRARY = "libc++"; 386 | CLANG_ENABLE_MODULES = YES; 387 | CLANG_ENABLE_OBJC_ARC = YES; 388 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 389 | CLANG_WARN_BOOL_CONVERSION = YES; 390 | CLANG_WARN_COMMA = YES; 391 | CLANG_WARN_CONSTANT_CONVERSION = YES; 392 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; 393 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 394 | CLANG_WARN_EMPTY_BODY = YES; 395 | CLANG_WARN_ENUM_CONVERSION = YES; 396 | CLANG_WARN_INFINITE_RECURSION = YES; 397 | CLANG_WARN_INT_CONVERSION = YES; 398 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 399 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; 400 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 401 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 402 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 403 | CLANG_WARN_STRICT_PROTOTYPES = YES; 404 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 405 | CLANG_WARN_UNREACHABLE_CODE = YES; 406 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 407 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 408 | COPY_PHASE_STRIP = NO; 409 | DEBUG_INFORMATION_FORMAT = dwarf; 410 | ENABLE_STRICT_OBJC_MSGSEND = YES; 411 | ENABLE_TESTABILITY = YES; 412 | GCC_C_LANGUAGE_STANDARD = gnu99; 413 | GCC_DYNAMIC_NO_PIC = NO; 414 | GCC_NO_COMMON_BLOCKS = YES; 415 | GCC_OPTIMIZATION_LEVEL = 0; 416 | GCC_PREPROCESSOR_DEFINITIONS = ( 417 | "DEBUG=1", 418 | "$(inherited)", 419 | ); 420 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 421 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 422 | GCC_WARN_UNDECLARED_SELECTOR = YES; 423 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 424 | GCC_WARN_UNUSED_FUNCTION = YES; 425 | GCC_WARN_UNUSED_VARIABLE = YES; 426 | IPHONEOS_DEPLOYMENT_TARGET = 11.0; 427 | MTL_ENABLE_DEBUG_INFO = YES; 428 | ONLY_ACTIVE_ARCH = YES; 429 | SDKROOT = iphoneos; 430 | TARGETED_DEVICE_FAMILY = "1,2"; 431 | }; 432 | name = Debug; 433 | }; 434 | 97C147041CF9000F007C117D /* Release */ = { 435 | isa = XCBuildConfiguration; 436 | buildSettings = { 437 | ALWAYS_SEARCH_USER_PATHS = NO; 438 | CLANG_ANALYZER_NONNULL = YES; 439 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 440 | CLANG_CXX_LIBRARY = "libc++"; 441 | CLANG_ENABLE_MODULES = YES; 442 | CLANG_ENABLE_OBJC_ARC = YES; 443 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 444 | CLANG_WARN_BOOL_CONVERSION = YES; 445 | CLANG_WARN_COMMA = YES; 446 | CLANG_WARN_CONSTANT_CONVERSION = YES; 447 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; 448 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 449 | CLANG_WARN_EMPTY_BODY = YES; 450 | CLANG_WARN_ENUM_CONVERSION = YES; 451 | CLANG_WARN_INFINITE_RECURSION = YES; 452 | CLANG_WARN_INT_CONVERSION = YES; 453 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 454 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; 455 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 456 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 457 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 458 | CLANG_WARN_STRICT_PROTOTYPES = YES; 459 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 460 | CLANG_WARN_UNREACHABLE_CODE = YES; 461 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 462 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 463 | COPY_PHASE_STRIP = NO; 464 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 465 | ENABLE_NS_ASSERTIONS = NO; 466 | ENABLE_STRICT_OBJC_MSGSEND = YES; 467 | GCC_C_LANGUAGE_STANDARD = gnu99; 468 | GCC_NO_COMMON_BLOCKS = YES; 469 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 470 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 471 | GCC_WARN_UNDECLARED_SELECTOR = YES; 472 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 473 | GCC_WARN_UNUSED_FUNCTION = YES; 474 | GCC_WARN_UNUSED_VARIABLE = YES; 475 | IPHONEOS_DEPLOYMENT_TARGET = 11.0; 476 | MTL_ENABLE_DEBUG_INFO = NO; 477 | SDKROOT = iphoneos; 478 | SUPPORTED_PLATFORMS = iphoneos; 479 | SWIFT_COMPILATION_MODE = wholemodule; 480 | SWIFT_OPTIMIZATION_LEVEL = "-O"; 481 | TARGETED_DEVICE_FAMILY = "1,2"; 482 | VALIDATE_PRODUCT = YES; 483 | }; 484 | name = Release; 485 | }; 486 | 97C147061CF9000F007C117D /* Debug */ = { 487 | isa = XCBuildConfiguration; 488 | baseConfigurationReference = 9740EEB21CF90195004384FC /* Debug.xcconfig */; 489 | buildSettings = { 490 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 491 | CLANG_ENABLE_MODULES = YES; 492 | CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)"; 493 | DEVELOPMENT_TEAM = 3VQ6RDVJU5; 494 | ENABLE_BITCODE = NO; 495 | INFOPLIST_FILE = Runner/Info.plist; 496 | IPHONEOS_DEPLOYMENT_TARGET = 11.0; 497 | LD_RUNPATH_SEARCH_PATHS = ( 498 | "$(inherited)", 499 | "@executable_path/Frameworks", 500 | ); 501 | PRODUCT_BUNDLE_IDENTIFIER = com.example.crudFirebase; 502 | PRODUCT_NAME = "$(TARGET_NAME)"; 503 | SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h"; 504 | SWIFT_OPTIMIZATION_LEVEL = "-Onone"; 505 | SWIFT_VERSION = 5.0; 506 | VERSIONING_SYSTEM = "apple-generic"; 507 | }; 508 | name = Debug; 509 | }; 510 | 97C147071CF9000F007C117D /* Release */ = { 511 | isa = XCBuildConfiguration; 512 | baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */; 513 | buildSettings = { 514 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 515 | CLANG_ENABLE_MODULES = YES; 516 | CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)"; 517 | DEVELOPMENT_TEAM = 3VQ6RDVJU5; 518 | ENABLE_BITCODE = NO; 519 | INFOPLIST_FILE = Runner/Info.plist; 520 | IPHONEOS_DEPLOYMENT_TARGET = 11.0; 521 | LD_RUNPATH_SEARCH_PATHS = ( 522 | "$(inherited)", 523 | "@executable_path/Frameworks", 524 | ); 525 | PRODUCT_BUNDLE_IDENTIFIER = com.example.crudFirebase; 526 | PRODUCT_NAME = "$(TARGET_NAME)"; 527 | SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h"; 528 | SWIFT_VERSION = 5.0; 529 | VERSIONING_SYSTEM = "apple-generic"; 530 | }; 531 | name = Release; 532 | }; 533 | /* End XCBuildConfiguration section */ 534 | 535 | /* Begin XCConfigurationList section */ 536 | 97C146E91CF9000F007C117D /* Build configuration list for PBXProject "Runner" */ = { 537 | isa = XCConfigurationList; 538 | buildConfigurations = ( 539 | 97C147031CF9000F007C117D /* Debug */, 540 | 97C147041CF9000F007C117D /* Release */, 541 | 249021D3217E4FDB00AE95B9 /* Profile */, 542 | ); 543 | defaultConfigurationIsVisible = 0; 544 | defaultConfigurationName = Release; 545 | }; 546 | 97C147051CF9000F007C117D /* Build configuration list for PBXNativeTarget "Runner" */ = { 547 | isa = XCConfigurationList; 548 | buildConfigurations = ( 549 | 97C147061CF9000F007C117D /* Debug */, 550 | 97C147071CF9000F007C117D /* Release */, 551 | 249021D4217E4FDB00AE95B9 /* Profile */, 552 | ); 553 | defaultConfigurationIsVisible = 0; 554 | defaultConfigurationName = Release; 555 | }; 556 | /* End XCConfigurationList section */ 557 | }; 558 | rootObject = 97C146E61CF9000F007C117D /* Project object */; 559 | } 560 | -------------------------------------------------------------------------------- /ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IDEDidComputeMac32BitWarning 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | PreviewsEnabled 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 24 | 25 | 30 | 31 | 37 | 38 | 39 | 40 | 41 | 42 | 52 | 54 | 60 | 61 | 62 | 63 | 69 | 71 | 77 | 78 | 79 | 80 | 82 | 83 | 86 | 87 | 88 | -------------------------------------------------------------------------------- /ios/Runner.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IDEDidComputeMac32BitWarning 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | PreviewsEnabled 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /ios/Runner/AppDelegate.swift: -------------------------------------------------------------------------------- 1 | import UIKit 2 | import Flutter 3 | 4 | @UIApplicationMain 5 | @objc class AppDelegate: FlutterAppDelegate { 6 | override func application( 7 | _ application: UIApplication, 8 | didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]? 9 | ) -> Bool { 10 | GeneratedPluginRegistrant.register(with: self) 11 | return super.application(application, didFinishLaunchingWithOptions: launchOptions) 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "size" : "20x20", 5 | "idiom" : "iphone", 6 | "filename" : "Icon-App-20x20@2x.png", 7 | "scale" : "2x" 8 | }, 9 | { 10 | "size" : "20x20", 11 | "idiom" : "iphone", 12 | "filename" : "Icon-App-20x20@3x.png", 13 | "scale" : "3x" 14 | }, 15 | { 16 | "size" : "29x29", 17 | "idiom" : "iphone", 18 | "filename" : "Icon-App-29x29@1x.png", 19 | "scale" : "1x" 20 | }, 21 | { 22 | "size" : "29x29", 23 | "idiom" : "iphone", 24 | "filename" : "Icon-App-29x29@2x.png", 25 | "scale" : "2x" 26 | }, 27 | { 28 | "size" : "29x29", 29 | "idiom" : "iphone", 30 | "filename" : "Icon-App-29x29@3x.png", 31 | "scale" : "3x" 32 | }, 33 | { 34 | "size" : "40x40", 35 | "idiom" : "iphone", 36 | "filename" : "Icon-App-40x40@2x.png", 37 | "scale" : "2x" 38 | }, 39 | { 40 | "size" : "40x40", 41 | "idiom" : "iphone", 42 | "filename" : "Icon-App-40x40@3x.png", 43 | "scale" : "3x" 44 | }, 45 | { 46 | "size" : "60x60", 47 | "idiom" : "iphone", 48 | "filename" : "Icon-App-60x60@2x.png", 49 | "scale" : "2x" 50 | }, 51 | { 52 | "size" : "60x60", 53 | "idiom" : "iphone", 54 | "filename" : "Icon-App-60x60@3x.png", 55 | "scale" : "3x" 56 | }, 57 | { 58 | "size" : "20x20", 59 | "idiom" : "ipad", 60 | "filename" : "Icon-App-20x20@1x.png", 61 | "scale" : "1x" 62 | }, 63 | { 64 | "size" : "20x20", 65 | "idiom" : "ipad", 66 | "filename" : "Icon-App-20x20@2x.png", 67 | "scale" : "2x" 68 | }, 69 | { 70 | "size" : "29x29", 71 | "idiom" : "ipad", 72 | "filename" : "Icon-App-29x29@1x.png", 73 | "scale" : "1x" 74 | }, 75 | { 76 | "size" : "29x29", 77 | "idiom" : "ipad", 78 | "filename" : "Icon-App-29x29@2x.png", 79 | "scale" : "2x" 80 | }, 81 | { 82 | "size" : "40x40", 83 | "idiom" : "ipad", 84 | "filename" : "Icon-App-40x40@1x.png", 85 | "scale" : "1x" 86 | }, 87 | { 88 | "size" : "40x40", 89 | "idiom" : "ipad", 90 | "filename" : "Icon-App-40x40@2x.png", 91 | "scale" : "2x" 92 | }, 93 | { 94 | "size" : "76x76", 95 | "idiom" : "ipad", 96 | "filename" : "Icon-App-76x76@1x.png", 97 | "scale" : "1x" 98 | }, 99 | { 100 | "size" : "76x76", 101 | "idiom" : "ipad", 102 | "filename" : "Icon-App-76x76@2x.png", 103 | "scale" : "2x" 104 | }, 105 | { 106 | "size" : "83.5x83.5", 107 | "idiom" : "ipad", 108 | "filename" : "Icon-App-83.5x83.5@2x.png", 109 | "scale" : "2x" 110 | }, 111 | { 112 | "size" : "1024x1024", 113 | "idiom" : "ios-marketing", 114 | "filename" : "Icon-App-1024x1024@1x.png", 115 | "scale" : "1x" 116 | } 117 | ], 118 | "info" : { 119 | "version" : 1, 120 | "author" : "xcode" 121 | } 122 | } 123 | -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/diegoveloper/crud_firebase/d27c12a3d7163c9baf596997e8c3ca59ed384f25/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/diegoveloper/crud_firebase/d27c12a3d7163c9baf596997e8c3ca59ed384f25/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/diegoveloper/crud_firebase/d27c12a3d7163c9baf596997e8c3ca59ed384f25/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/diegoveloper/crud_firebase/d27c12a3d7163c9baf596997e8c3ca59ed384f25/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/diegoveloper/crud_firebase/d27c12a3d7163c9baf596997e8c3ca59ed384f25/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/diegoveloper/crud_firebase/d27c12a3d7163c9baf596997e8c3ca59ed384f25/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/diegoveloper/crud_firebase/d27c12a3d7163c9baf596997e8c3ca59ed384f25/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/diegoveloper/crud_firebase/d27c12a3d7163c9baf596997e8c3ca59ed384f25/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/diegoveloper/crud_firebase/d27c12a3d7163c9baf596997e8c3ca59ed384f25/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/diegoveloper/crud_firebase/d27c12a3d7163c9baf596997e8c3ca59ed384f25/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/diegoveloper/crud_firebase/d27c12a3d7163c9baf596997e8c3ca59ed384f25/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/diegoveloper/crud_firebase/d27c12a3d7163c9baf596997e8c3ca59ed384f25/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/diegoveloper/crud_firebase/d27c12a3d7163c9baf596997e8c3ca59ed384f25/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/diegoveloper/crud_firebase/d27c12a3d7163c9baf596997e8c3ca59ed384f25/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/diegoveloper/crud_firebase/d27c12a3d7163c9baf596997e8c3ca59ed384f25/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "LaunchImage.png", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "filename" : "LaunchImage@2x.png", 11 | "scale" : "2x" 12 | }, 13 | { 14 | "idiom" : "universal", 15 | "filename" : "LaunchImage@3x.png", 16 | "scale" : "3x" 17 | } 18 | ], 19 | "info" : { 20 | "version" : 1, 21 | "author" : "xcode" 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/diegoveloper/crud_firebase/d27c12a3d7163c9baf596997e8c3ca59ed384f25/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/diegoveloper/crud_firebase/d27c12a3d7163c9baf596997e8c3ca59ed384f25/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/diegoveloper/crud_firebase/d27c12a3d7163c9baf596997e8c3ca59ed384f25/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/LaunchImage.imageset/README.md: -------------------------------------------------------------------------------- 1 | # Launch Screen Assets 2 | 3 | You can customize the launch screen with your own desired assets by replacing the image files in this directory. 4 | 5 | You can also do it by opening your Flutter project's Xcode project with `open ios/Runner.xcworkspace`, selecting `Runner/Assets.xcassets` in the Project Navigator and dropping in the desired images. -------------------------------------------------------------------------------- /ios/Runner/Base.lproj/LaunchScreen.storyboard: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | -------------------------------------------------------------------------------- /ios/Runner/Base.lproj/Main.storyboard: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | -------------------------------------------------------------------------------- /ios/Runner/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | $(DEVELOPMENT_LANGUAGE) 7 | CFBundleDisplayName 8 | Crud Firebase 9 | CFBundleExecutable 10 | $(EXECUTABLE_NAME) 11 | CFBundleIdentifier 12 | $(PRODUCT_BUNDLE_IDENTIFIER) 13 | CFBundleInfoDictionaryVersion 14 | 6.0 15 | CFBundleName 16 | crud_firebase 17 | CFBundlePackageType 18 | APPL 19 | CFBundleShortVersionString 20 | $(FLUTTER_BUILD_NAME) 21 | CFBundleSignature 22 | ???? 23 | CFBundleVersion 24 | $(FLUTTER_BUILD_NUMBER) 25 | LSRequiresIPhoneOS 26 | 27 | UILaunchStoryboardName 28 | LaunchScreen 29 | UIMainStoryboardFile 30 | Main 31 | UISupportedInterfaceOrientations 32 | 33 | UIInterfaceOrientationPortrait 34 | UIInterfaceOrientationLandscapeLeft 35 | UIInterfaceOrientationLandscapeRight 36 | 37 | UISupportedInterfaceOrientations~ipad 38 | 39 | UIInterfaceOrientationPortrait 40 | UIInterfaceOrientationPortraitUpsideDown 41 | UIInterfaceOrientationLandscapeLeft 42 | UIInterfaceOrientationLandscapeRight 43 | 44 | UIViewControllerBasedStatusBarAppearance 45 | 46 | CADisableMinimumFrameDurationOnPhone 47 | 48 | 49 | 50 | -------------------------------------------------------------------------------- /ios/Runner/Runner-Bridging-Header.h: -------------------------------------------------------------------------------- 1 | #import "GeneratedPluginRegistrant.h" 2 | -------------------------------------------------------------------------------- /lib/data/person_firebase.dart: -------------------------------------------------------------------------------- 1 | import 'package:cloud_firestore/cloud_firestore.dart'; 2 | import 'package:crud_firebase/domain/models/person.dart'; 3 | import 'package:crud_firebase/domain/repository/person_repository.dart'; 4 | 5 | class PersonFirebase implements PersonRepository { 6 | final personRef = 7 | FirebaseFirestore.instance.collection('persons').withConverter( 8 | fromFirestore: (snapshots, _) { 9 | final person = Person.fromJson(snapshots.data()!); 10 | final newPerson = person.copyWith(id: snapshots.id); 11 | return newPerson; 12 | }, 13 | toFirestore: (person, _) => person.toJson(), 14 | ); 15 | 16 | @override 17 | Future> getPersons() async { 18 | final querySnapshot = await personRef.get(); 19 | final persons = querySnapshot.docs.map((e) => e.data()).toList(); 20 | return persons; 21 | } 22 | 23 | @override 24 | Future addPerson(Person person) async { 25 | final result = await personRef.add(person); 26 | return person.copyWith(id: result.id); 27 | } 28 | 29 | @override 30 | Future deletePerson(String id) async { 31 | await personRef.doc(id).delete(); 32 | return true; 33 | } 34 | 35 | @override 36 | Future updatePerson(Person person) async { 37 | await personRef.doc(person.id).update(person.toJson()); 38 | return person; 39 | } 40 | 41 | @override 42 | Stream> getPersonsStream() { 43 | final result = personRef.snapshots().map( 44 | (event) => event.docs 45 | .map( 46 | (e) => e.data(), 47 | ) 48 | .toList(), 49 | ); 50 | return result; 51 | } 52 | } 53 | -------------------------------------------------------------------------------- /lib/data/person_local.dart: -------------------------------------------------------------------------------- 1 | import 'package:crud_firebase/domain/models/person.dart'; 2 | import 'package:crud_firebase/domain/repository/person_repository.dart'; 3 | 4 | class PersonLocal implements PersonRepository { 5 | @override 6 | Future> getPersons() async { 7 | return List.generate( 8 | 10, 9 | (index) => Person( 10 | name: 'Diego$index', lastname: 'Velasquez$index', gender: 'M$index'), 11 | ); 12 | } 13 | 14 | @override 15 | Future addPerson(Person person) { 16 | // TODO: implement addPerson 17 | throw UnimplementedError(); 18 | } 19 | 20 | @override 21 | Future deletePerson(String id) { 22 | // TODO: implement deletePerson 23 | throw UnimplementedError(); 24 | } 25 | 26 | @override 27 | Future updatePerson(Person person) { 28 | // TODO: implement updatePerson 29 | throw UnimplementedError(); 30 | } 31 | 32 | @override 33 | Stream> getPersonsStream() { 34 | // TODO: implement getPersonsStream 35 | throw UnimplementedError(); 36 | } 37 | } 38 | -------------------------------------------------------------------------------- /lib/domain/models/person.dart: -------------------------------------------------------------------------------- 1 | import 'dart:convert'; 2 | 3 | List personFromJson(String str) => 4 | List.from(json.decode(str).map((x) => Person.fromJson(x))); 5 | 6 | String personToJson(List data) => 7 | json.encode(List.from(data.map((x) => x.toJson()))); 8 | 9 | class Person { 10 | Person({ 11 | required this.name, 12 | required this.lastname, 13 | required this.gender, 14 | this.id, 15 | }); 16 | 17 | final String name; 18 | final String lastname; 19 | final String gender; 20 | final String? id; 21 | 22 | Person copyWith({ 23 | String? name, 24 | String? lastname, 25 | String? gender, 26 | String? id, 27 | }) => 28 | Person( 29 | name: name ?? this.name, 30 | lastname: lastname ?? this.lastname, 31 | gender: gender ?? this.gender, 32 | id: id ?? this.id, 33 | ); 34 | 35 | factory Person.fromJson(Map json) => Person( 36 | name: json["name"], 37 | lastname: json["lastname"], 38 | gender: json["gender"], 39 | id: json["id"], 40 | ); 41 | 42 | Map toJson() => { 43 | "name": name, 44 | "lastname": lastname, 45 | "gender": gender, 46 | }; 47 | } 48 | -------------------------------------------------------------------------------- /lib/domain/repository/person_repository.dart: -------------------------------------------------------------------------------- 1 | import 'package:crud_firebase/domain/models/person.dart'; 2 | 3 | abstract class PersonRepository { 4 | Future> getPersons(); 5 | Stream> getPersonsStream(); 6 | Future addPerson(Person person); 7 | Future updatePerson(Person person); 8 | Future deletePerson(String id); 9 | } 10 | -------------------------------------------------------------------------------- /lib/main.dart: -------------------------------------------------------------------------------- 1 | import 'package:crud_firebase/data/person_firebase.dart'; 2 | import 'package:crud_firebase/data/person_local.dart'; 3 | import 'package:crud_firebase/domain/repository/person_repository.dart'; 4 | import 'package:crud_firebase/ui/features/non-realtime/list_screen.dart'; 5 | import 'package:crud_firebase/ui/features/realtime/list_screen.dart'; 6 | import 'package:firebase_core/firebase_core.dart'; 7 | import 'package:flutter/material.dart'; 8 | import 'package:provider/provider.dart'; 9 | 10 | Future main() async { 11 | WidgetsFlutterBinding.ensureInitialized(); 12 | await Firebase.initializeApp(); 13 | runApp(const MyApp()); 14 | } 15 | 16 | class MyApp extends StatelessWidget { 17 | const MyApp({super.key}); 18 | 19 | // This widget is the root of your application. 20 | @override 21 | Widget build(BuildContext context) { 22 | return MultiProvider( 23 | providers: [ 24 | Provider( 25 | create: (_) => PersonFirebase(), 26 | ), 27 | ], 28 | child: MaterialApp( 29 | title: 'Flutter Demo', 30 | theme: ThemeData( 31 | primarySwatch: Colors.blue, 32 | ), 33 | home: const MyHomePage(title: 'Flutter Demo Home Page'), 34 | ), 35 | ); 36 | } 37 | } 38 | 39 | class MyHomePage extends StatefulWidget { 40 | const MyHomePage({Key? key, required this.title}) : super(key: key); 41 | 42 | // This widget is the home page of your application. It is stateful, meaning 43 | // that it has a State object (defined below) that contains fields that affect 44 | // how it looks. 45 | 46 | // This class is the configuration for the state. It holds the values (in this 47 | // case the title) provided by the parent (in this case the App widget) and 48 | // used by the build method of the State. Fields in a Widget subclass are 49 | // always marked "final". 50 | 51 | final String title; 52 | 53 | @override 54 | State createState() => _MyHomePageState(); 55 | } 56 | 57 | class _MyHomePageState extends State { 58 | @override 59 | Widget build(BuildContext context) { 60 | return Scaffold( 61 | appBar: AppBar( 62 | title: Text(widget.title), 63 | ), 64 | body: Padding( 65 | padding: const EdgeInsets.all(20.0), 66 | child: Column( 67 | mainAxisAlignment: MainAxisAlignment.center, 68 | crossAxisAlignment: CrossAxisAlignment.stretch, 69 | children: [ 70 | MaterialButton( 71 | color: Colors.blue, 72 | onPressed: () { 73 | Navigator.of(context).push( 74 | MaterialPageRoute( 75 | builder: (_) => ListNoRealtimeScreen.init(), 76 | ), 77 | ); 78 | }, 79 | child: const Text('no-realtime'), 80 | ), 81 | MaterialButton( 82 | color: Colors.blue, 83 | onPressed: () { 84 | Navigator.of(context).push( 85 | MaterialPageRoute( 86 | builder: (_) => ListRealtimeScreen.init(), 87 | ), 88 | ); 89 | }, 90 | child: const Text('realtime'), 91 | ), 92 | ], 93 | ), 94 | ), 95 | ); 96 | } 97 | } 98 | -------------------------------------------------------------------------------- /lib/ui/features/non-realtime/add_provider.dart: -------------------------------------------------------------------------------- 1 | import 'package:crud_firebase/domain/models/person.dart'; 2 | import 'package:crud_firebase/domain/repository/person_repository.dart'; 3 | import 'package:flutter/material.dart'; 4 | 5 | class AddProvider extends ChangeNotifier { 6 | AddProvider({ 7 | required this.personRepository, 8 | this.person, 9 | }); 10 | 11 | final PersonRepository personRepository; 12 | final Person? person; 13 | 14 | Future add(Person newPerson) async { 15 | Person? result; 16 | if (person != null) { 17 | result = await personRepository 18 | .updatePerson(newPerson.copyWith(id: person!.id)); 19 | } else { 20 | result = await personRepository.addPerson(newPerson); 21 | } 22 | return result; 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /lib/ui/features/non-realtime/add_screen.dart: -------------------------------------------------------------------------------- 1 | import 'package:crud_firebase/domain/models/person.dart'; 2 | import 'package:crud_firebase/domain/repository/person_repository.dart'; 3 | import 'package:crud_firebase/ui/features/non-realtime/add_provider.dart'; 4 | import 'package:crud_firebase/ui/features/non-realtime/list_provider.dart'; 5 | import 'package:flutter/material.dart'; 6 | import 'package:provider/provider.dart'; 7 | 8 | class AddScreen extends StatefulWidget { 9 | const AddScreen._(); 10 | 11 | static Widget init({Person? person}) => ChangeNotifierProvider( 12 | lazy: false, 13 | create: (context) => AddProvider( 14 | personRepository: context.read(), 15 | person: person, 16 | ), 17 | child: const AddScreen._(), 18 | ); 19 | 20 | @override 21 | State createState() => _AddScreenState(); 22 | } 23 | 24 | class _AddScreenState extends State { 25 | final _controllerName = TextEditingController(); 26 | final _controllerLastname = TextEditingController(); 27 | final _controllerGender = TextEditingController(); 28 | 29 | Future _loadInit() async { 30 | final person = context.read().person; 31 | if (person != null) { 32 | _controllerName.text = person.name; 33 | _controllerLastname.text = person.lastname; 34 | _controllerGender.text = person.gender; 35 | } 36 | } 37 | 38 | @override 39 | void initState() { 40 | _loadInit(); 41 | super.initState(); 42 | } 43 | 44 | @override 45 | Widget build(BuildContext context) { 46 | return Scaffold( 47 | appBar: AppBar(), 48 | body: Padding( 49 | padding: const EdgeInsets.all(15.0), 50 | child: Column( 51 | children: [ 52 | TextField( 53 | controller: _controllerName, 54 | decoration: const InputDecoration( 55 | label: Text('Name'), 56 | ), 57 | ), 58 | TextField( 59 | controller: _controllerLastname, 60 | decoration: const InputDecoration( 61 | label: Text('Last Name'), 62 | ), 63 | ), 64 | TextField( 65 | controller: _controllerGender, 66 | decoration: const InputDecoration( 67 | label: Text('Gender'), 68 | ), 69 | ), 70 | ], 71 | ), 72 | ), 73 | floatingActionButton: FloatingActionButton( 74 | child: const Icon(Icons.save), 75 | onPressed: () async { 76 | final newPerson = Person( 77 | name: _controllerName.text, 78 | lastname: _controllerLastname.text, 79 | gender: _controllerGender.text, 80 | ); 81 | final result = await context.read().add(newPerson); 82 | if (mounted) Navigator.of(context).pop(result); 83 | }, 84 | ), 85 | ); 86 | } 87 | } 88 | -------------------------------------------------------------------------------- /lib/ui/features/non-realtime/list_provider.dart: -------------------------------------------------------------------------------- 1 | import 'package:crud_firebase/domain/models/person.dart'; 2 | import 'package:crud_firebase/domain/repository/person_repository.dart'; 3 | import 'package:flutter/material.dart'; 4 | 5 | class ListNoRealtimeProvider extends ChangeNotifier { 6 | ListNoRealtimeProvider({required this.personRepository}); 7 | 8 | final PersonRepository personRepository; 9 | 10 | List? persons; 11 | 12 | void update(Person person) { 13 | final index = persons?.indexWhere((e) => e.id == person.id); 14 | if (index != null && index >= 0) { 15 | persons?[index] = person; 16 | notifyListeners(); 17 | } 18 | } 19 | 20 | void add(Person person) { 21 | persons?.add(person); 22 | notifyListeners(); 23 | } 24 | 25 | Future load() async { 26 | persons = await personRepository.getPersons(); 27 | notifyListeners(); 28 | } 29 | 30 | Future delete(String docId) async { 31 | await personRepository.deletePerson(docId); 32 | //load(); 33 | persons?.removeWhere((element) => element.id == docId); 34 | notifyListeners(); 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /lib/ui/features/non-realtime/list_screen.dart: -------------------------------------------------------------------------------- 1 | import 'package:crud_firebase/domain/models/person.dart'; 2 | import 'package:crud_firebase/domain/repository/person_repository.dart'; 3 | import 'package:crud_firebase/ui/features/non-realtime/add_screen.dart'; 4 | import 'package:crud_firebase/ui/features/non-realtime/list_provider.dart'; 5 | import 'package:flutter/material.dart'; 6 | import 'package:provider/provider.dart'; 7 | 8 | class ListNoRealtimeScreen extends StatefulWidget { 9 | const ListNoRealtimeScreen._(); 10 | 11 | static Widget init() => ChangeNotifierProvider( 12 | lazy: false, 13 | create: (context) => ListNoRealtimeProvider( 14 | personRepository: context.read(), 15 | )..load(), 16 | child: const ListNoRealtimeScreen._(), 17 | ); 18 | 19 | @override 20 | State createState() => _ListNoRealtimeScreenState(); 21 | } 22 | 23 | class _ListNoRealtimeScreenState extends State { 24 | @override 25 | Widget build(BuildContext context) { 26 | final provider = context.watch(); 27 | final persons = provider.persons; 28 | return Scaffold( 29 | appBar: AppBar(), 30 | body: persons == null 31 | ? const Center( 32 | child: CircularProgressIndicator(), 33 | ) 34 | : ListView.builder( 35 | itemCount: persons.length, 36 | itemBuilder: (context, index) { 37 | final person = persons[index]; 38 | return ListTile( 39 | onTap: () async { 40 | final result = await Navigator.of(context).push( 41 | MaterialPageRoute( 42 | builder: (_) => AddScreen.init(person: person), 43 | ), 44 | ); 45 | if (result != null && mounted) { 46 | context.read().update(result); 47 | } 48 | }, 49 | onLongPress: () { 50 | context.read().delete(person.id!); 51 | }, 52 | title: Text('${person.name} ${person.lastname}'), 53 | subtitle: Text(person.gender), 54 | ); 55 | }, 56 | ), 57 | floatingActionButton: FloatingActionButton( 58 | child: const Icon(Icons.add), 59 | onPressed: () async { 60 | final result = await Navigator.of(context).push( 61 | MaterialPageRoute( 62 | builder: (_) => AddScreen.init(), 63 | ), 64 | ); 65 | if (result != null && mounted) { 66 | context.read().add(result); 67 | } 68 | }, 69 | ), 70 | ); 71 | } 72 | } 73 | -------------------------------------------------------------------------------- /lib/ui/features/realtime/add_provider.dart: -------------------------------------------------------------------------------- 1 | import 'package:crud_firebase/domain/models/person.dart'; 2 | import 'package:crud_firebase/domain/repository/person_repository.dart'; 3 | import 'package:flutter/material.dart'; 4 | 5 | class AddProvider extends ChangeNotifier { 6 | AddProvider({ 7 | required this.personRepository, 8 | this.person, 9 | }); 10 | 11 | final PersonRepository personRepository; 12 | final Person? person; 13 | 14 | Future add(Person newPerson) async { 15 | if (person != null) { 16 | await personRepository.updatePerson(newPerson.copyWith(id: person!.id)); 17 | } else { 18 | await personRepository.addPerson(newPerson); 19 | } 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /lib/ui/features/realtime/add_screen.dart: -------------------------------------------------------------------------------- 1 | import 'package:crud_firebase/domain/models/person.dart'; 2 | import 'package:crud_firebase/domain/repository/person_repository.dart'; 3 | import 'package:crud_firebase/ui/features/realtime/add_provider.dart'; 4 | import 'package:flutter/material.dart'; 5 | import 'package:provider/provider.dart'; 6 | 7 | class AddScreen extends StatefulWidget { 8 | const AddScreen._(); 9 | 10 | static Widget init({Person? person}) => ChangeNotifierProvider( 11 | lazy: false, 12 | create: (context) => AddProvider( 13 | personRepository: context.read(), 14 | person: person, 15 | ), 16 | child: const AddScreen._(), 17 | ); 18 | 19 | @override 20 | State createState() => _AddScreenState(); 21 | } 22 | 23 | class _AddScreenState extends State { 24 | final _controllerName = TextEditingController(); 25 | final _controllerLastname = TextEditingController(); 26 | final _controllerGender = TextEditingController(); 27 | 28 | Future _loadInit() async { 29 | final person = context.read().person; 30 | if (person != null) { 31 | _controllerName.text = person.name; 32 | _controllerLastname.text = person.lastname; 33 | _controllerGender.text = person.gender; 34 | } 35 | } 36 | 37 | @override 38 | void initState() { 39 | _loadInit(); 40 | super.initState(); 41 | } 42 | 43 | @override 44 | Widget build(BuildContext context) { 45 | return Scaffold( 46 | appBar: AppBar(), 47 | body: Padding( 48 | padding: const EdgeInsets.all(15.0), 49 | child: Column( 50 | children: [ 51 | TextField( 52 | controller: _controllerName, 53 | decoration: const InputDecoration( 54 | label: Text('Name'), 55 | ), 56 | ), 57 | TextField( 58 | controller: _controllerLastname, 59 | decoration: const InputDecoration( 60 | label: Text('Last Name'), 61 | ), 62 | ), 63 | TextField( 64 | controller: _controllerGender, 65 | decoration: const InputDecoration( 66 | label: Text('Gender'), 67 | ), 68 | ), 69 | ], 70 | ), 71 | ), 72 | floatingActionButton: FloatingActionButton( 73 | child: const Icon(Icons.save), 74 | onPressed: () async { 75 | final newPerson = Person( 76 | name: _controllerName.text, 77 | lastname: _controllerLastname.text, 78 | gender: _controllerGender.text, 79 | ); 80 | await context.read().add(newPerson); 81 | if (mounted) Navigator.of(context).pop(); 82 | }, 83 | ), 84 | ); 85 | } 86 | } 87 | -------------------------------------------------------------------------------- /lib/ui/features/realtime/list_provider.dart: -------------------------------------------------------------------------------- 1 | import 'package:crud_firebase/domain/models/person.dart'; 2 | import 'package:crud_firebase/domain/repository/person_repository.dart'; 3 | import 'package:flutter/material.dart'; 4 | 5 | class ListRealtimeProvider extends ChangeNotifier { 6 | ListRealtimeProvider({required this.personRepository}); 7 | 8 | final PersonRepository personRepository; 9 | 10 | Stream> load() => personRepository.getPersonsStream(); 11 | 12 | void delete(String docId) async { 13 | await personRepository.deletePerson(docId); 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /lib/ui/features/realtime/list_screen.dart: -------------------------------------------------------------------------------- 1 | import 'package:crud_firebase/domain/models/person.dart'; 2 | import 'package:crud_firebase/domain/repository/person_repository.dart'; 3 | import 'package:crud_firebase/ui/features/realtime/add_screen.dart'; 4 | import 'package:crud_firebase/ui/features/realtime/list_provider.dart'; 5 | import 'package:flutter/material.dart'; 6 | import 'package:provider/provider.dart'; 7 | 8 | class ListRealtimeScreen extends StatefulWidget { 9 | const ListRealtimeScreen._(); 10 | 11 | static Widget init() => ChangeNotifierProvider( 12 | lazy: false, 13 | create: (context) => ListRealtimeProvider( 14 | personRepository: context.read(), 15 | )..load(), 16 | child: const ListRealtimeScreen._(), 17 | ); 18 | 19 | @override 20 | State createState() => _ListRealtimeScreenState(); 21 | } 22 | 23 | class _ListRealtimeScreenState extends State { 24 | @override 25 | Widget build(BuildContext context) { 26 | return Scaffold( 27 | appBar: AppBar(), 28 | body: StreamBuilder>( 29 | stream: context.read().load(), 30 | builder: (context, snapshot) { 31 | if (!snapshot.hasData || 32 | snapshot.connectionState == ConnectionState.waiting) { 33 | return const Center( 34 | child: CircularProgressIndicator(), 35 | ); 36 | } 37 | final data = snapshot.data!; 38 | if (data.isEmpty) { 39 | return const Center( 40 | child: Text('Empty list'), 41 | ); 42 | } 43 | 44 | return ListView.builder( 45 | itemCount: data.length, 46 | itemBuilder: (context, index) { 47 | final person = data[index]; 48 | return ListTile( 49 | onTap: () { 50 | Navigator.of(context).push( 51 | MaterialPageRoute( 52 | builder: (_) => AddScreen.init(person: person), 53 | ), 54 | ); 55 | }, 56 | onLongPress: () { 57 | context.read().delete(person.id!); 58 | }, 59 | title: Text('${person.name} ${person.lastname}'), 60 | subtitle: Text(person.gender), 61 | ); 62 | }, 63 | ); 64 | }), 65 | floatingActionButton: FloatingActionButton( 66 | child: const Icon(Icons.add), 67 | onPressed: () { 68 | Navigator.of(context).push( 69 | MaterialPageRoute( 70 | builder: (_) => AddScreen.init(), 71 | ), 72 | ); 73 | }, 74 | ), 75 | ); 76 | } 77 | } 78 | -------------------------------------------------------------------------------- /pubspec.lock: -------------------------------------------------------------------------------- 1 | # Generated by pub 2 | # See https://dart.dev/tools/pub/glossary#lockfile 3 | packages: 4 | async: 5 | dependency: transitive 6 | description: 7 | name: async 8 | url: "https://pub.dartlang.org" 9 | source: hosted 10 | version: "2.8.2" 11 | boolean_selector: 12 | dependency: transitive 13 | description: 14 | name: boolean_selector 15 | url: "https://pub.dartlang.org" 16 | source: hosted 17 | version: "2.1.0" 18 | characters: 19 | dependency: transitive 20 | description: 21 | name: characters 22 | url: "https://pub.dartlang.org" 23 | source: hosted 24 | version: "1.2.0" 25 | charcode: 26 | dependency: transitive 27 | description: 28 | name: charcode 29 | url: "https://pub.dartlang.org" 30 | source: hosted 31 | version: "1.3.1" 32 | clock: 33 | dependency: transitive 34 | description: 35 | name: clock 36 | url: "https://pub.dartlang.org" 37 | source: hosted 38 | version: "1.1.0" 39 | cloud_firestore: 40 | dependency: "direct main" 41 | description: 42 | name: cloud_firestore 43 | url: "https://pub.dartlang.org" 44 | source: hosted 45 | version: "3.4.3" 46 | cloud_firestore_platform_interface: 47 | dependency: transitive 48 | description: 49 | name: cloud_firestore_platform_interface 50 | url: "https://pub.dartlang.org" 51 | source: hosted 52 | version: "5.7.0" 53 | cloud_firestore_web: 54 | dependency: transitive 55 | description: 56 | name: cloud_firestore_web 57 | url: "https://pub.dartlang.org" 58 | source: hosted 59 | version: "2.8.3" 60 | collection: 61 | dependency: transitive 62 | description: 63 | name: collection 64 | url: "https://pub.dartlang.org" 65 | source: hosted 66 | version: "1.16.0" 67 | fake_async: 68 | dependency: transitive 69 | description: 70 | name: fake_async 71 | url: "https://pub.dartlang.org" 72 | source: hosted 73 | version: "1.3.0" 74 | firebase_core: 75 | dependency: "direct main" 76 | description: 77 | name: firebase_core 78 | url: "https://pub.dartlang.org" 79 | source: hosted 80 | version: "1.20.0" 81 | firebase_core_platform_interface: 82 | dependency: transitive 83 | description: 84 | name: firebase_core_platform_interface 85 | url: "https://pub.dartlang.org" 86 | source: hosted 87 | version: "4.5.0" 88 | firebase_core_web: 89 | dependency: transitive 90 | description: 91 | name: firebase_core_web 92 | url: "https://pub.dartlang.org" 93 | source: hosted 94 | version: "1.7.1" 95 | flutter: 96 | dependency: "direct main" 97 | description: flutter 98 | source: sdk 99 | version: "0.0.0" 100 | flutter_lints: 101 | dependency: "direct dev" 102 | description: 103 | name: flutter_lints 104 | url: "https://pub.dartlang.org" 105 | source: hosted 106 | version: "2.0.1" 107 | flutter_test: 108 | dependency: "direct dev" 109 | description: flutter 110 | source: sdk 111 | version: "0.0.0" 112 | flutter_web_plugins: 113 | dependency: transitive 114 | description: flutter 115 | source: sdk 116 | version: "0.0.0" 117 | js: 118 | dependency: transitive 119 | description: 120 | name: js 121 | url: "https://pub.dartlang.org" 122 | source: hosted 123 | version: "0.6.4" 124 | lints: 125 | dependency: transitive 126 | description: 127 | name: lints 128 | url: "https://pub.dartlang.org" 129 | source: hosted 130 | version: "2.0.0" 131 | matcher: 132 | dependency: transitive 133 | description: 134 | name: matcher 135 | url: "https://pub.dartlang.org" 136 | source: hosted 137 | version: "0.12.11" 138 | material_color_utilities: 139 | dependency: transitive 140 | description: 141 | name: material_color_utilities 142 | url: "https://pub.dartlang.org" 143 | source: hosted 144 | version: "0.1.4" 145 | meta: 146 | dependency: transitive 147 | description: 148 | name: meta 149 | url: "https://pub.dartlang.org" 150 | source: hosted 151 | version: "1.7.0" 152 | nested: 153 | dependency: transitive 154 | description: 155 | name: nested 156 | url: "https://pub.dartlang.org" 157 | source: hosted 158 | version: "1.0.0" 159 | path: 160 | dependency: transitive 161 | description: 162 | name: path 163 | url: "https://pub.dartlang.org" 164 | source: hosted 165 | version: "1.8.1" 166 | plugin_platform_interface: 167 | dependency: transitive 168 | description: 169 | name: plugin_platform_interface 170 | url: "https://pub.dartlang.org" 171 | source: hosted 172 | version: "2.1.2" 173 | provider: 174 | dependency: "direct main" 175 | description: 176 | name: provider 177 | url: "https://pub.dartlang.org" 178 | source: hosted 179 | version: "6.0.3" 180 | sky_engine: 181 | dependency: transitive 182 | description: flutter 183 | source: sdk 184 | version: "0.0.99" 185 | source_span: 186 | dependency: transitive 187 | description: 188 | name: source_span 189 | url: "https://pub.dartlang.org" 190 | source: hosted 191 | version: "1.8.2" 192 | stack_trace: 193 | dependency: transitive 194 | description: 195 | name: stack_trace 196 | url: "https://pub.dartlang.org" 197 | source: hosted 198 | version: "1.10.0" 199 | stream_channel: 200 | dependency: transitive 201 | description: 202 | name: stream_channel 203 | url: "https://pub.dartlang.org" 204 | source: hosted 205 | version: "2.1.0" 206 | string_scanner: 207 | dependency: transitive 208 | description: 209 | name: string_scanner 210 | url: "https://pub.dartlang.org" 211 | source: hosted 212 | version: "1.1.0" 213 | term_glyph: 214 | dependency: transitive 215 | description: 216 | name: term_glyph 217 | url: "https://pub.dartlang.org" 218 | source: hosted 219 | version: "1.2.0" 220 | test_api: 221 | dependency: transitive 222 | description: 223 | name: test_api 224 | url: "https://pub.dartlang.org" 225 | source: hosted 226 | version: "0.4.9" 227 | vector_math: 228 | dependency: transitive 229 | description: 230 | name: vector_math 231 | url: "https://pub.dartlang.org" 232 | source: hosted 233 | version: "2.1.2" 234 | sdks: 235 | dart: ">=2.17.6 <3.0.0" 236 | flutter: ">=1.16.0" 237 | -------------------------------------------------------------------------------- /pubspec.yaml: -------------------------------------------------------------------------------- 1 | name: crud_firebase 2 | description: A new Flutter project. 3 | 4 | # The following line prevents the package from being accidentally published to 5 | # pub.dev using `flutter pub publish`. This is preferred for private packages. 6 | publish_to: 'none' # Remove this line if you wish to publish to pub.dev 7 | 8 | # The following defines the version and build number for your application. 9 | # A version number is three numbers separated by dots, like 1.2.43 10 | # followed by an optional build number separated by a +. 11 | # Both the version and the builder number may be overridden in flutter 12 | # build by specifying --build-name and --build-number, respectively. 13 | # In Android, build-name is used as versionName while build-number used as versionCode. 14 | # Read more about Android versioning at https://developer.android.com/studio/publish/versioning 15 | # In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion. 16 | # Read more about iOS versioning at 17 | # https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html 18 | version: 1.0.0+1 19 | 20 | environment: 21 | sdk: ">=2.17.6 <3.0.0" 22 | 23 | # Dependencies specify other packages that your package needs in order to work. 24 | # To automatically upgrade your package dependencies to the latest versions 25 | # consider running `flutter pub upgrade --major-versions`. Alternatively, 26 | # dependencies can be manually updated by changing the version numbers below to 27 | # the latest version available on pub.dev. To see which dependencies have newer 28 | # versions available, run `flutter pub outdated`. 29 | dependencies: 30 | flutter: 31 | sdk: flutter 32 | 33 | 34 | # The following adds the Cupertino Icons font to your application. 35 | # Use with the CupertinoIcons class for iOS style icons. 36 | cloud_firestore: ^3.4.3 37 | firebase_core: ^1.20.0 38 | provider: ^6.0.3 39 | 40 | dev_dependencies: 41 | flutter_test: 42 | sdk: flutter 43 | 44 | # The "flutter_lints" package below contains a set of recommended lints to 45 | # encourage good coding practices. The lint set provided by the package is 46 | # activated in the `analysis_options.yaml` file located at the root of your 47 | # package. See that file for information about deactivating specific lint 48 | # rules and activating additional ones. 49 | flutter_lints: ^2.0.0 50 | 51 | # For information on the generic Dart part of this file, see the 52 | # following page: https://dart.dev/tools/pub/pubspec 53 | 54 | # The following section is specific to Flutter packages. 55 | flutter: 56 | 57 | # The following line ensures that the Material Icons font is 58 | # included with your application, so that you can use the icons in 59 | # the material Icons class. 60 | uses-material-design: true 61 | 62 | # To add assets to your application, add an assets section, like this: 63 | # assets: 64 | # - images/a_dot_burr.jpeg 65 | # - images/a_dot_ham.jpeg 66 | 67 | # An image asset can refer to one or more resolution-specific "variants", see 68 | # https://flutter.dev/assets-and-images/#resolution-aware 69 | 70 | # For details regarding adding assets from package dependencies, see 71 | # https://flutter.dev/assets-and-images/#from-packages 72 | 73 | # To add custom fonts to your application, add a fonts section here, 74 | # in this "flutter" section. Each entry in this list should have a 75 | # "family" key with the font family name, and a "fonts" key with a 76 | # list giving the asset and other descriptors for the font. For 77 | # example: 78 | # fonts: 79 | # - family: Schyler 80 | # fonts: 81 | # - asset: fonts/Schyler-Regular.ttf 82 | # - asset: fonts/Schyler-Italic.ttf 83 | # style: italic 84 | # - family: Trajan Pro 85 | # fonts: 86 | # - asset: fonts/TrajanPro.ttf 87 | # - asset: fonts/TrajanPro_Bold.ttf 88 | # weight: 700 89 | # 90 | # For details regarding fonts from package dependencies, 91 | # see https://flutter.dev/custom-fonts/#from-packages 92 | --------------------------------------------------------------------------------