From 0c6b8b0c9d505ec08aa8365601b240802cebc2c0 Mon Sep 17 00:00:00 2001 From: Vetrichelvan Date: Mon, 21 Jul 2025 16:59:30 +0530 Subject: [PATCH] feat: Implement Firebase authentication setup --- ios/Podfile | 2 +- ios/Podfile.lock | 99 ++++++++++--------- .../xcshareddata/xcschemes/Runner.xcscheme | 3 + ios/Runner/AppDelegate.swift | 2 +- 4 files changed, 57 insertions(+), 49 deletions(-) diff --git a/ios/Podfile b/ios/Podfile index d97f17e..04c36cf 100644 --- a/ios/Podfile +++ b/ios/Podfile @@ -1,5 +1,5 @@ # Uncomment this line to define a global platform for your project -# platform :ios, '12.0' +platform :ios, '14.0' # CocoaPods analytics sends network stats synchronously affecting flutter build latency. ENV['COCOAPODS_DISABLE_STATS'] = 'true' diff --git a/ios/Podfile.lock b/ios/Podfile.lock index 347623b..f5e91b6 100644 --- a/ios/Podfile.lock +++ b/ios/Podfile.lock @@ -1,56 +1,59 @@ PODS: - - Firebase/Auth (10.24.0): + - Firebase/Auth (11.15.0): - Firebase/CoreOnly - - FirebaseAuth (~> 10.24.0) - - Firebase/CoreOnly (10.24.0): - - FirebaseCore (= 10.24.0) - - firebase_auth (4.19.4): - - Firebase/Auth (= 10.24.0) + - FirebaseAuth (~> 11.15.0) + - Firebase/CoreOnly (11.15.0): + - FirebaseCore (~> 11.15.0) + - firebase_auth (5.6.2): + - Firebase/Auth (= 11.15.0) - firebase_core - Flutter - - firebase_core (2.30.1): - - Firebase/CoreOnly (= 10.24.0) + - firebase_core (3.15.1): + - Firebase/CoreOnly (= 11.15.0) - Flutter - - FirebaseAppCheckInterop (10.24.0) - - FirebaseAuth (10.24.0): - - FirebaseAppCheckInterop (~> 10.17) - - FirebaseCore (~> 10.0) - - GoogleUtilities/AppDelegateSwizzler (~> 7.8) - - GoogleUtilities/Environment (~> 7.8) - - GTMSessionFetcher/Core (< 4.0, >= 2.1) - - RecaptchaInterop (~> 100.0) - - FirebaseCore (10.24.0): - - FirebaseCoreInternal (~> 10.0) - - GoogleUtilities/Environment (~> 7.12) - - GoogleUtilities/Logger (~> 7.12) - - FirebaseCoreInternal (10.24.0): - - "GoogleUtilities/NSData+zlib (~> 7.8)" + - FirebaseAppCheckInterop (11.15.0) + - FirebaseAuth (11.15.0): + - FirebaseAppCheckInterop (~> 11.0) + - FirebaseAuthInterop (~> 11.0) + - FirebaseCore (~> 11.15.0) + - FirebaseCoreExtension (~> 11.15.0) + - GoogleUtilities/AppDelegateSwizzler (~> 8.1) + - GoogleUtilities/Environment (~> 8.1) + - GTMSessionFetcher/Core (< 5.0, >= 3.4) + - RecaptchaInterop (~> 101.0) + - FirebaseAuthInterop (11.15.0) + - FirebaseCore (11.15.0): + - FirebaseCoreInternal (~> 11.15.0) + - GoogleUtilities/Environment (~> 8.1) + - GoogleUtilities/Logger (~> 8.1) + - FirebaseCoreExtension (11.15.0): + - FirebaseCore (~> 11.15.0) + - FirebaseCoreInternal (11.15.0): + - "GoogleUtilities/NSData+zlib (~> 8.1)" - Flutter (1.0.0) - - GoogleUtilities/AppDelegateSwizzler (7.13.0): + - GoogleUtilities/AppDelegateSwizzler (8.1.0): - GoogleUtilities/Environment - GoogleUtilities/Logger - GoogleUtilities/Network - GoogleUtilities/Privacy - - GoogleUtilities/Environment (7.13.0): + - GoogleUtilities/Environment (8.1.0): - GoogleUtilities/Privacy - - PromisesObjC (< 3.0, >= 1.2) - - GoogleUtilities/Logger (7.13.0): + - GoogleUtilities/Logger (8.1.0): - GoogleUtilities/Environment - GoogleUtilities/Privacy - - GoogleUtilities/Network (7.13.0): + - GoogleUtilities/Network (8.1.0): - GoogleUtilities/Logger - "GoogleUtilities/NSData+zlib" - GoogleUtilities/Privacy - GoogleUtilities/Reachability - - "GoogleUtilities/NSData+zlib (7.13.0)": + - "GoogleUtilities/NSData+zlib (8.1.0)": - GoogleUtilities/Privacy - - GoogleUtilities/Privacy (7.13.0) - - GoogleUtilities/Reachability (7.13.0): + - GoogleUtilities/Privacy (8.1.0) + - GoogleUtilities/Reachability (8.1.0): - GoogleUtilities/Logger - GoogleUtilities/Privacy - - GTMSessionFetcher/Core (3.4.1) - - PromisesObjC (2.4.0) - - RecaptchaInterop (100.0.0) + - GTMSessionFetcher/Core (4.5.0) + - RecaptchaInterop (101.0.0) DEPENDENCIES: - firebase_auth (from `.symlinks/plugins/firebase_auth/ios`) @@ -62,11 +65,12 @@ SPEC REPOS: - Firebase - FirebaseAppCheckInterop - FirebaseAuth + - FirebaseAuthInterop - FirebaseCore + - FirebaseCoreExtension - FirebaseCoreInternal - GoogleUtilities - GTMSessionFetcher - - PromisesObjC - RecaptchaInterop EXTERNAL SOURCES: @@ -78,19 +82,20 @@ EXTERNAL SOURCES: :path: Flutter SPEC CHECKSUMS: - Firebase: 91fefd38712feb9186ea8996af6cbdef41473442 - firebase_auth: b782567cafd5cfd64debf54638a9f29b63abd7bf - firebase_core: 7f1e1156934d0da3be260174812842df9420e4ab - FirebaseAppCheckInterop: fecc08c89936c8acb1428d8088313aabedb348e4 - FirebaseAuth: 711d01cccefaf10035b3090a92956d0dd4f99088 - FirebaseCore: 11dc8a16dfb7c5e3c3f45ba0e191a33ac4f50894 - FirebaseCoreInternal: bcb5acffd4ea05e12a783ecf835f2210ce3dc6af + Firebase: d99ac19b909cd2c548339c2241ecd0d1599ab02e + firebase_auth: b8ed959bf77eca5cf0312b5e29708fe8311a0ddf + firebase_core: cf4d42a8ac915e51c0c2dc103442f3036d941a2d + FirebaseAppCheckInterop: 06fe5a3799278ae4667e6c432edd86b1030fa3df + FirebaseAuth: a6575e5fbf46b046c58dc211a28a5fbdd8d4c83b + FirebaseAuthInterop: 7087d7a4ee4bc4de019b2d0c240974ed5d89e2fd + FirebaseCore: efb3893e5b94f32b86e331e3bd6dadf18b66568e + FirebaseCoreExtension: edbd30474b5ccf04e5f001470bdf6ea616af2435 + FirebaseCoreInternal: 9afa45b1159304c963da48addb78275ef701c6b4 Flutter: e0871f40cf51350855a761d2e70bf5af5b9b5de7 - GoogleUtilities: d053d902a8edaa9904e1bd00c37535385b8ed152 - GTMSessionFetcher: 8000756fc1c19d2e5697b90311f7832d2e33f6cd - PromisesObjC: f5707f49cb48b9636751c5b2e7d227e43fba9f47 - RecaptchaInterop: 7d1a4a01a6b2cb1610a47ef3f85f0c411434cb21 + GoogleUtilities: 00c88b9a86066ef77f0da2fab05f65d7768ed8e1 + GTMSessionFetcher: fc75fc972958dceedee61cb662ae1da7a83a91cf + RecaptchaInterop: 11e0b637842dfb48308d242afc3f448062325aba -PODFILE CHECKSUM: 819463e6a0290f5a72f145ba7cde16e8b6ef0796 +PODFILE CHECKSUM: 1959d098c91d8a792531a723c4a9d7e9f6a01e38 -COCOAPODS: 1.15.2 +COCOAPODS: 1.16.2 diff --git a/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme b/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme index 8e3ca5d..e3773d4 100644 --- a/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme +++ b/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme @@ -26,6 +26,7 @@ buildConfiguration = "Debug" selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB" selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB" + customLLDBInitFile = "$(SRCROOT)/Flutter/ephemeral/flutter_lldbinit" shouldUseLaunchSchemeArgsEnv = "YES"> diff --git a/ios/Runner/AppDelegate.swift b/ios/Runner/AppDelegate.swift index 70693e4..b636303 100644 --- a/ios/Runner/AppDelegate.swift +++ b/ios/Runner/AppDelegate.swift @@ -1,7 +1,7 @@ import UIKit import Flutter -@UIApplicationMain +@main @objc class AppDelegate: FlutterAppDelegate { override func application( _ application: UIApplication,