From 19709e296aec10d2cd24f904a87243216a454d5f Mon Sep 17 00:00:00 2001 From: omagdy7 Date: Mon, 4 Dec 2023 23:16:08 +0200 Subject: Added auth to signup page + some UI refactoring --- macos/Flutter/GeneratedPluginRegistrant.swift | 4 ++++ macos/Runner/GoogleService-Info.plist | 30 +++++++++++++++++++++++++++ macos/firebase_app_id_file.json | 7 +++++++ 3 files changed, 41 insertions(+) create mode 100644 macos/Runner/GoogleService-Info.plist create mode 100644 macos/firebase_app_id_file.json (limited to 'macos') diff --git a/macos/Flutter/GeneratedPluginRegistrant.swift b/macos/Flutter/GeneratedPluginRegistrant.swift index cccf817..7b9be20 100644 --- a/macos/Flutter/GeneratedPluginRegistrant.swift +++ b/macos/Flutter/GeneratedPluginRegistrant.swift @@ -5,6 +5,10 @@ import FlutterMacOS import Foundation +import firebase_auth +import firebase_core func RegisterGeneratedPlugins(registry: FlutterPluginRegistry) { + FLTFirebaseAuthPlugin.register(with: registry.registrar(forPlugin: "FLTFirebaseAuthPlugin")) + FLTFirebaseCorePlugin.register(with: registry.registrar(forPlugin: "FLTFirebaseCorePlugin")) } diff --git a/macos/Runner/GoogleService-Info.plist b/macos/Runner/GoogleService-Info.plist new file mode 100644 index 0000000..4b9d32d --- /dev/null +++ b/macos/Runner/GoogleService-Info.plist @@ -0,0 +1,30 @@ + + + + + API_KEY + AIzaSyDPVVoV41YzjMvC08fsQ7Rfmx2TsIMVrQY + GCM_SENDER_ID + 824587935735 + PLIST_VERSION + 1 + BUNDLE_ID + com.example.carpool.RunnerTests + PROJECT_ID + carpool-3cd5c + STORAGE_BUCKET + carpool-3cd5c.appspot.com + IS_ADS_ENABLED + + IS_ANALYTICS_ENABLED + + IS_APPINVITE_ENABLED + + IS_GCM_ENABLED + + IS_SIGNIN_ENABLED + + GOOGLE_APP_ID + 1:824587935735:ios:6a28a4d39e625fb65298f2 + + \ No newline at end of file diff --git a/macos/firebase_app_id_file.json b/macos/firebase_app_id_file.json new file mode 100644 index 0000000..184f5c0 --- /dev/null +++ b/macos/firebase_app_id_file.json @@ -0,0 +1,7 @@ +{ + "file_generated_by": "FlutterFire CLI", + "purpose": "FirebaseAppID & ProjectID for this Firebase app in this directory", + "GOOGLE_APP_ID": "1:824587935735:ios:6a28a4d39e625fb65298f2", + "FIREBASE_PROJECT_ID": "carpool-3cd5c", + "GCM_SENDER_ID": "824587935735" +} \ No newline at end of file -- cgit v1.2.3