feat: Integrate Firebase configuration and Google Maps Places Autocomplete for address validation
This commit is contained in:
38
apps/mobile/apps/client/lib/firebase_options.dart
Normal file
38
apps/mobile/apps/client/lib/firebase_options.dart
Normal file
@@ -0,0 +1,38 @@
|
||||
// File generated by Krow Coding Agent to fix Web Runtime Error.
|
||||
// Please update the appId for Web with the correct value from Firebase Console.
|
||||
|
||||
import 'package:firebase_core/firebase_core.dart' show FirebaseOptions;
|
||||
import 'package:flutter/foundation.dart'
|
||||
show kIsWeb;
|
||||
|
||||
/// Default [FirebaseOptions] for use with your Firebase apps.
|
||||
///
|
||||
/// Example:
|
||||
/// ```dart
|
||||
/// import 'firebase_options.dart';
|
||||
/// // ...
|
||||
/// await Firebase.initializeApp(
|
||||
/// options: DefaultFirebaseOptions.currentPlatform,
|
||||
/// );
|
||||
/// ```
|
||||
class DefaultFirebaseOptions {
|
||||
static FirebaseOptions get currentPlatform {
|
||||
if (kIsWeb) {
|
||||
return web;
|
||||
}
|
||||
throw UnsupportedError(
|
||||
'DefaultFirebaseOptions are not supported for this platform.',
|
||||
);
|
||||
}
|
||||
|
||||
static const FirebaseOptions web = FirebaseOptions(
|
||||
apiKey: 'AIzaSyBqRtZPMGU-Sz5x5UnRrunKu5NSWYyPRn8',
|
||||
// TODO: STOP! You must replace this placeholder with the actual Web App ID from your Firebase Console.
|
||||
// Go to Project Settings -> General -> Your apps -> Web App -> appId
|
||||
appId: '1:933560802882:web:173a841992885bb27757db',
|
||||
messagingSenderId: '933560802882',
|
||||
projectId: 'krow-workforce-dev',
|
||||
authDomain: 'krow-workforce-dev.firebaseapp.com',
|
||||
storageBucket: 'krow-workforce-dev.firebasestorage.app',
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user