Skip to content

Commit

Permalink
Add firebase/auth dependencies to flutter - close #141
Browse files Browse the repository at this point in the history
  • Loading branch information
matuella committed Dec 9, 2021
1 parent 304606d commit dfc83ad
Show file tree
Hide file tree
Showing 7 changed files with 295 additions and 62 deletions.
10 changes: 9 additions & 1 deletion flutter/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,12 @@ to anyone that wants to contribute to this project, or to simply understand why
application's architecture.

Don't forget to check out both [General ARCHITECTURE.md](../ARCHITECTURE.md) and
[Firebase ARCHITECTURE.md](../firebase/ARCHITECTURE.md), which also impact on how the Flutter application is structured.
[Firebase ARCHITECTURE.md](../firebase/ARCHITECTURE.md), which also impact on how the Flutter application is structured.

### Platforms Minimum Supported Version

Which dependencies raises our application minimal version support:

Minimum supported Android `minSdkVersion` = `19`. Reasons: [`cloud_firestore: >=3.0.0`](https://github.com/FirebaseExtended/flutterfire/blob/master/packages/cloud_firestore/cloud_firestore/CHANGELOG.md#300).

Minimum supported iOS version = `10`. Reasons: [`cloud_firestore: >=0.15.0`](https://github.com/FirebaseExtended/flutterfire/blob/master/packages/cloud_firestore/cloud_firestore/CHANGELOG.md#0150).
2 changes: 1 addition & 1 deletion flutter/android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ android {

defaultConfig {
applicationId "com.olmps.memoClient"
minSdkVersion 17
minSdkVersion 19
targetSdkVersion 30
versionCode 7
versionName flutterVersionName
Expand Down
1 change: 1 addition & 0 deletions flutter/ios/Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ require File.expand_path(File.join('packages', 'flutter_tools', 'bin', 'podhelpe
flutter_ios_podfile_setup

target 'Runner' do
pod 'FirebaseFirestore', :git => 'https://github.com/invertase/firestore-ios-sdk-frameworks.git', :tag => '8.9.1'
use_frameworks!
use_modular_headers!

Expand Down
171 changes: 129 additions & 42 deletions flutter/ios/Podfile.lock
Original file line number Diff line number Diff line change
@@ -1,49 +1,81 @@
PODS:
- Firebase/AnalyticsWithoutAdIdSupport (8.8.0):
- AppAuth (1.4.0):
- AppAuth/Core (= 1.4.0)
- AppAuth/ExternalUserAgent (= 1.4.0)
- AppAuth/Core (1.4.0)
- AppAuth/ExternalUserAgent (1.4.0)
- cloud_firestore (3.1.4):
- Firebase/Firestore (= 8.9.0)
- firebase_core
- Flutter
- Firebase/AnalyticsWithoutAdIdSupport (8.9.0):
- Firebase/CoreOnly
- FirebaseAnalytics/WithoutAdIdSupport (~> 8.9.0)
- Firebase/Auth (8.9.0):
- Firebase/CoreOnly
- FirebaseAuth (~> 8.9.0)
- Firebase/CoreOnly (8.9.0):
- FirebaseCore (= 8.9.0)
- Firebase/Crashlytics (8.9.0):
- Firebase/CoreOnly
- FirebaseAnalytics/WithoutAdIdSupport (~> 8.8.0)
- Firebase/CoreOnly (8.8.0):
- FirebaseCore (= 8.8.0)
- Firebase/Crashlytics (8.8.0):
- FirebaseCrashlytics (~> 8.9.0)
- Firebase/Firestore (8.9.0):
- Firebase/CoreOnly
- FirebaseCrashlytics (~> 8.8.0)
- firebase_analytics (8.3.4):
- Firebase/AnalyticsWithoutAdIdSupport (= 8.8.0)
- FirebaseFirestore (~> 8.9.0)
- firebase_analytics (9.0.2):
- Firebase/AnalyticsWithoutAdIdSupport (= 8.9.0)
- firebase_core
- Flutter
- firebase_core (1.8.0):
- Firebase/CoreOnly (= 8.8.0)
- firebase_auth (3.3.3):
- Firebase/Auth (= 8.9.0)
- firebase_core
- Flutter
- firebase_core (1.10.5):
- Firebase/CoreOnly (= 8.9.0)
- Flutter
- firebase_crashlytics (2.2.4):
- Firebase/Crashlytics (= 8.8.0)
- firebase_crashlytics (2.4.3):
- Firebase/Crashlytics (= 8.9.0)
- firebase_core
- Flutter
- FirebaseAnalytics/WithoutAdIdSupport (8.8.0):
- FirebaseAnalytics/WithoutAdIdSupport (8.9.1):
- FirebaseCore (~> 8.0)
- FirebaseInstallations (~> 8.0)
- GoogleAppMeasurement/WithoutAdIdSupport (= 8.8.0)
- GoogleUtilities/AppDelegateSwizzler (~> 7.4)
- GoogleUtilities/MethodSwizzler (~> 7.4)
- GoogleUtilities/Network (~> 7.4)
- "GoogleUtilities/NSData+zlib (~> 7.4)"
- GoogleAppMeasurement/WithoutAdIdSupport (= 8.9.1)
- GoogleUtilities/AppDelegateSwizzler (~> 7.6)
- GoogleUtilities/MethodSwizzler (~> 7.6)
- GoogleUtilities/Network (~> 7.6)
- "GoogleUtilities/NSData+zlib (~> 7.6)"
- nanopb (~> 2.30908.0)
- FirebaseCore (8.8.0):
- FirebaseAuth (8.9.0):
- FirebaseCore (~> 8.0)
- GoogleUtilities/AppDelegateSwizzler (~> 7.6)
- GoogleUtilities/Environment (~> 7.6)
- GTMSessionFetcher/Core (~> 1.5)
- FirebaseCore (8.9.0):
- FirebaseCoreDiagnostics (~> 8.0)
- GoogleUtilities/Environment (~> 7.4)
- GoogleUtilities/Logger (~> 7.4)
- FirebaseCoreDiagnostics (8.9.0):
- GoogleUtilities/Environment (~> 7.6)
- GoogleUtilities/Logger (~> 7.6)
- FirebaseCoreDiagnostics (8.10.0):
- GoogleDataTransport (~> 9.1)
- GoogleUtilities/Environment (~> 7.6)
- GoogleUtilities/Logger (~> 7.6)
- nanopb (~> 2.30908.0)
- FirebaseCrashlytics (8.8.0):
- FirebaseCrashlytics (8.9.0):
- FirebaseCore (~> 8.0)
- FirebaseInstallations (~> 8.0)
- GoogleDataTransport (~> 9.0)
- GoogleUtilities/Environment (~> 7.4)
- GoogleDataTransport (~> 9.1)
- GoogleUtilities/Environment (~> 7.6)
- nanopb (~> 2.30908.0)
- PromisesObjC (< 3.0, >= 1.2)
- FirebaseInstallations (8.9.0):
- FirebaseFirestore (8.9.1):
- FirebaseFirestore/AutodetectLeveldb (= 8.9.1)
- FirebaseFirestore/AutodetectLeveldb (8.9.1):
- FirebaseFirestore/Base
- FirebaseFirestore/WithLeveldb
- FirebaseFirestore/Base (8.9.1)
- FirebaseFirestore/WithLeveldb (8.9.1):
- FirebaseFirestore/Base
- FirebaseInstallations (8.10.0):
- FirebaseCore (~> 8.0)
- GoogleUtilities/Environment (~> 7.6)
- GoogleUtilities/UserDefaults (~> 7.6)
Expand All @@ -58,16 +90,23 @@ PODS:
- OrderedSet (~> 5.0)
- flutter_keyboard_visibility (0.0.1):
- Flutter
- GoogleAppMeasurement/WithoutAdIdSupport (8.8.0):
- GoogleUtilities/AppDelegateSwizzler (~> 7.4)
- GoogleUtilities/MethodSwizzler (~> 7.4)
- GoogleUtilities/Network (~> 7.4)
- "GoogleUtilities/NSData+zlib (~> 7.4)"
- google_sign_in (0.0.1):
- Flutter
- GoogleSignIn (~> 5.0)
- GoogleAppMeasurement/WithoutAdIdSupport (8.9.1):
- GoogleUtilities/AppDelegateSwizzler (~> 7.6)
- GoogleUtilities/MethodSwizzler (~> 7.6)
- GoogleUtilities/Network (~> 7.6)
- "GoogleUtilities/NSData+zlib (~> 7.6)"
- nanopb (~> 2.30908.0)
- GoogleDataTransport (9.1.2):
- GoogleUtilities/Environment (~> 7.2)
- nanopb (~> 2.30908.0)
- PromisesObjC (< 3.0, >= 1.2)
- GoogleSignIn (5.0.2):
- AppAuth (~> 1.2)
- GTMAppAuth (~> 1.0)
- GTMSessionFetcher/Core (~> 1.1)
- GoogleUtilities/AppDelegateSwizzler (7.6.0):
- GoogleUtilities/Environment
- GoogleUtilities/Logger
Expand All @@ -87,6 +126,10 @@ PODS:
- GoogleUtilities/Logger
- GoogleUtilities/UserDefaults (7.6.0):
- GoogleUtilities/Logger
- GTMAppAuth (1.2.2):
- AppAuth/Core (~> 1.4)
- GTMSessionFetcher/Core (~> 1.5)
- GTMSessionFetcher/Core (1.7.0)
- image_picker (0.0.1):
- Flutter
- nanopb (2.30908.0):
Expand All @@ -100,88 +143,132 @@ PODS:
- path_provider (0.0.1):
- Flutter
- PromisesObjC (2.0.0)
- sign_in_with_apple (0.0.1):
- Flutter
- url_launcher (0.0.1):
- Flutter
- video_player (0.0.1):
- Flutter
- webview_flutter_wkwebview (0.0.1):
- Flutter

DEPENDENCIES:
- cloud_firestore (from `.symlinks/plugins/cloud_firestore/ios`)
- firebase_analytics (from `.symlinks/plugins/firebase_analytics/ios`)
- firebase_auth (from `.symlinks/plugins/firebase_auth/ios`)
- firebase_core (from `.symlinks/plugins/firebase_core/ios`)
- firebase_crashlytics (from `.symlinks/plugins/firebase_crashlytics/ios`)
- FirebaseFirestore (from `https://github.com/invertase/firestore-ios-sdk-frameworks.git`, tag `8.9.1`)
- Flutter (from `Flutter`)
- flutter_inappwebview (from `.symlinks/plugins/flutter_inappwebview/ios`)
- flutter_keyboard_visibility (from `.symlinks/plugins/flutter_keyboard_visibility/ios`)
- google_sign_in (from `.symlinks/plugins/google_sign_in/ios`)
- image_picker (from `.symlinks/plugins/image_picker/ios`)
- package_info_plus (from `.symlinks/plugins/package_info_plus/ios`)
- path_provider (from `.symlinks/plugins/path_provider/ios`)
- sign_in_with_apple (from `.symlinks/plugins/sign_in_with_apple/ios`)
- url_launcher (from `.symlinks/plugins/url_launcher/ios`)
- video_player (from `.symlinks/plugins/video_player/ios`)
- webview_flutter_wkwebview (from `.symlinks/plugins/webview_flutter_wkwebview/ios`)

SPEC REPOS:
trunk:
- AppAuth
- Firebase
- FirebaseAnalytics
- FirebaseAuth
- FirebaseCore
- FirebaseCoreDiagnostics
- FirebaseCrashlytics
- FirebaseInstallations
- GoogleAppMeasurement
- GoogleDataTransport
- GoogleSignIn
- GoogleUtilities
- GTMAppAuth
- GTMSessionFetcher
- nanopb
- OrderedSet
- PromisesObjC

EXTERNAL SOURCES:
cloud_firestore:
:path: ".symlinks/plugins/cloud_firestore/ios"
firebase_analytics:
:path: ".symlinks/plugins/firebase_analytics/ios"
firebase_auth:
:path: ".symlinks/plugins/firebase_auth/ios"
firebase_core:
:path: ".symlinks/plugins/firebase_core/ios"
firebase_crashlytics:
:path: ".symlinks/plugins/firebase_crashlytics/ios"
FirebaseFirestore:
:git: https://github.com/invertase/firestore-ios-sdk-frameworks.git
:tag: 8.9.1
Flutter:
:path: Flutter
flutter_inappwebview:
:path: ".symlinks/plugins/flutter_inappwebview/ios"
flutter_keyboard_visibility:
:path: ".symlinks/plugins/flutter_keyboard_visibility/ios"
google_sign_in:
:path: ".symlinks/plugins/google_sign_in/ios"
image_picker:
:path: ".symlinks/plugins/image_picker/ios"
package_info_plus:
:path: ".symlinks/plugins/package_info_plus/ios"
path_provider:
:path: ".symlinks/plugins/path_provider/ios"
sign_in_with_apple:
:path: ".symlinks/plugins/sign_in_with_apple/ios"
url_launcher:
:path: ".symlinks/plugins/url_launcher/ios"
video_player:
:path: ".symlinks/plugins/video_player/ios"
webview_flutter_wkwebview:
:path: ".symlinks/plugins/webview_flutter_wkwebview/ios"

CHECKOUT OPTIONS:
FirebaseFirestore:
:git: https://github.com/invertase/firestore-ios-sdk-frameworks.git
:tag: 8.9.1

SPEC CHECKSUMS:
Firebase: 629510f1a9ddb235f3a7c5c8ceb23ba887f0f814
firebase_analytics: ebba4a4815cf045ff915c3609c58e2a3da900459
firebase_core: 3b4c707f5a8eff38f52fd5580895bcd89357bf42
firebase_crashlytics: 5e4c7b5695a7ffe144a55dacfddebbf8eb36028a
FirebaseAnalytics: 5506ea8b867d8423485a84b4cd612d279f7b0b8a
FirebaseCore: 98b29e3828f0a53651c363937a7f7d92a19f1ba2
FirebaseCoreDiagnostics: 5daa63f1c1409d981a2d5007daa100b36eac6a34
FirebaseCrashlytics: 3660c045c8e45cc4276110562a0ef44cf43c8157
FirebaseInstallations: caa7c8e0d3e2345b8829d2fa9ca1b4dfbf2fcc85
AppAuth: 31bcec809a638d7bd2f86ea8a52bd45f6e81e7c7
cloud_firestore: c978a55e0bfc675cdc2291ef7670a69695cc663a
Firebase: 13d8d96499e2635428d5bf0ec675df21f95d9a95
firebase_analytics: 3e1400e21214df4b644c2c05ea5943d0a2b83a2f
firebase_auth: fe3a1deb12ebd850295344234abc15588d086baf
firebase_core: dfcae4c150a5e24436a0b7677c470478a234d5bf
firebase_crashlytics: 6713843d68feb3cefa1471e20dfaa72b934d6db8
FirebaseAnalytics: 4ab446ce08a3fe52e8a4303dd997cf26276bf968
FirebaseAuth: 2b78b2a32c07b3ecfa4970bdf1d3632b8304099b
FirebaseCore: 599ee609343eaf4941bd188f85e3aa077ffe325b
FirebaseCoreDiagnostics: 56fb7216d87e0e6ec2feddefa9d8a392fe8b2c18
FirebaseCrashlytics: 40efbd81157dae307ec95612fa1328347284d2c2
FirebaseFirestore: 8bdeeaa9050448e2693397c96d4e77882c0778ce
FirebaseInstallations: 830327b45345ffc859eaa9c17bcd5ae893fd5425
Flutter: 50d75fe2f02b26cc09d224853bb45737f8b3214a
flutter_inappwebview: bfd58618f49dc62f2676de690fc6dcda1d6c3721
flutter_keyboard_visibility: 0339d06371254c3eb25eeb90ba8d17dca8f9c069
GoogleAppMeasurement: 5ba1164e3c844ba84272555e916d0a6d3d977e91
google_sign_in: c5cecea71f3be43282263550556e311c4cc03582
GoogleAppMeasurement: 837649ad3987936c232f6717c5680216f6243d24
GoogleDataTransport: 629c20a4d363167143f30ea78320d5a7eb8bd940
GoogleSignIn: 7137d297ddc022a7e0aa4619c86d72c909fa7213
GoogleUtilities: 684ee790a24f73ebb2d1d966e9711c203f2a4237
GTMAppAuth: ad5c2b70b9a8689e1a04033c9369c4915bfcbe89
GTMSessionFetcher: 43748f93435c2aa068b1cbe39655aaf600652e91
image_picker: 9aa50e1d8cdacdbed739e925b7eea16d014367e6
nanopb: a0ba3315591a9ae0a16a309ee504766e90db0c96
OrderedSet: aaeb196f7fef5a9edf55d89760da9176ad40b93c
package_info_plus: 6c92f08e1f853dc01228d6f553146438dafcd14e
path_provider: d1e9807085df1f9cc9318206cd649dc0b76be3de
PromisesObjC: 68159ce6952d93e17b2dfe273b8c40907db5ba58
sign_in_with_apple: f3bf75217ea4c2c8b91823f225d70230119b8440
url_launcher: b6e016d912f04be9f5bf6e8e82dc599b7ba59649
video_player: ecd305f42e9044793efd34846e1ce64c31ea6fcb
webview_flutter_wkwebview: 005fbd90c888a42c5690919a1527ecc6649e1162

PODFILE CHECKSUM: 93c13a6b510094ca189e0993ce1f80877faea644
PODFILE CHECKSUM: 3ce002b85b1f80133acfca3dbe4c480f1b115b33

COCOAPODS: 1.11.2
18 changes: 18 additions & 0 deletions flutter/ios/Runner.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,7 @@
3B06AD1E1E4923F5004D2608 /* Thin Binary */,
F11B46619634D8B4BE86AF84 /* [CP] Embed Pods Frameworks */,
6367837C2680BA27009BA5B1 /* Firebase Crashlytics */,
957DC8921CF56831BF1E1C25 /* [CP] Copy Pods Resources */,
);
buildRules = (
);
Expand Down Expand Up @@ -264,6 +265,23 @@
shellPath = /bin/sh;
shellScript = "${PODS_ROOT}/FirebaseCrashlytics/run\n";
};
957DC8921CF56831BF1E1C25 /* [CP] Copy Pods Resources */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
);
inputFileListPaths = (
"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-resources-${CONFIGURATION}-input-files.xcfilelist",
);
name = "[CP] Copy Pods Resources";
outputFileListPaths = (
"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-resources-${CONFIGURATION}-output-files.xcfilelist",
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-resources.sh\"\n";
showEnvVarsInLog = 0;
};
9740EEB61CF901F6004384FC /* Run Script */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
Expand Down
Loading

0 comments on commit dfc83ad

Please sign in to comment.