Co-authored-by: MENDOZA BALLARDO GAEL RICARDO <gael-meb123@users.noreply.github.com>
Co-authored-by: Azareth-Tr <Azareth-Tr@users.noreply.github.com> Co-authored-by: eddgranados12 <eddgranados12@users.noreply.github.com> primeras vistas para el frontend, configuracion para firebase
This commit is contained in:
@@ -1,14 +1,88 @@
|
||||
// File generated by FlutterFire CLI.
|
||||
// ignore_for_file: type=lint
|
||||
import 'package:firebase_core/firebase_core.dart' show FirebaseOptions;
|
||||
import 'package:flutter/foundation.dart'
|
||||
show defaultTargetPlatform, kIsWeb, TargetPlatform;
|
||||
|
||||
// Placeholder file for Firebase configuration.
|
||||
// Run `flutterfire configure` to generate a proper `firebase_options.dart` file
|
||||
// and replace the implementation below. For local dev you can also rely on
|
||||
// `google-services.json` (Android) and `GoogleService-Info.plist` (iOS) instead
|
||||
// of providing explicit FirebaseOptions.
|
||||
|
||||
/// 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 {
|
||||
// TODO: Replace with generated FirebaseOptions from `flutterfire configure`.
|
||||
return null;
|
||||
static FirebaseOptions get currentPlatform {
|
||||
if (kIsWeb) {
|
||||
return web;
|
||||
}
|
||||
switch (defaultTargetPlatform) {
|
||||
case TargetPlatform.android:
|
||||
return android;
|
||||
case TargetPlatform.iOS:
|
||||
return ios;
|
||||
case TargetPlatform.macOS:
|
||||
return macos;
|
||||
case TargetPlatform.windows:
|
||||
return windows;
|
||||
case TargetPlatform.linux:
|
||||
throw UnsupportedError(
|
||||
'DefaultFirebaseOptions have not been configured for linux - '
|
||||
'you can reconfigure this by running the FlutterFire CLI again.',
|
||||
);
|
||||
default:
|
||||
throw UnsupportedError(
|
||||
'DefaultFirebaseOptions are not supported for this platform.',
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
static const FirebaseOptions web = FirebaseOptions(
|
||||
apiKey: 'AIzaSyCFklMyOhE7smpHESbiId9K4v6AIdvb_Vw',
|
||||
appId: '1:446089041715:web:4675e76c702e083e879046',
|
||||
messagingSenderId: '446089041715',
|
||||
projectId: 'recoleccion-app',
|
||||
authDomain: 'recoleccion-app.firebaseapp.com',
|
||||
storageBucket: 'recoleccion-app.firebasestorage.app',
|
||||
measurementId: 'G-9SDC6YCM6M',
|
||||
);
|
||||
|
||||
static const FirebaseOptions android = FirebaseOptions(
|
||||
apiKey: 'AIzaSyDV0rzoXy6lKOXFaN4vDRnjMrUoTgtqh8E',
|
||||
appId: '1:446089041715:android:561dccabff253d1f879046',
|
||||
messagingSenderId: '446089041715',
|
||||
projectId: 'recoleccion-app',
|
||||
storageBucket: 'recoleccion-app.firebasestorage.app',
|
||||
);
|
||||
|
||||
static const FirebaseOptions ios = FirebaseOptions(
|
||||
apiKey: 'AIzaSyA7BewYK-cbZdtUkigxcU2di9en4VOHTyg',
|
||||
appId: '1:446089041715:ios:6edb76038f517454879046',
|
||||
messagingSenderId: '446089041715',
|
||||
projectId: 'recoleccion-app',
|
||||
storageBucket: 'recoleccion-app.firebasestorage.app',
|
||||
iosBundleId: 'com.equipo.recolecta.recolectaApp',
|
||||
);
|
||||
|
||||
static const FirebaseOptions macos = FirebaseOptions(
|
||||
apiKey: 'AIzaSyA7BewYK-cbZdtUkigxcU2di9en4VOHTyg',
|
||||
appId: '1:446089041715:ios:6edb76038f517454879046',
|
||||
messagingSenderId: '446089041715',
|
||||
projectId: 'recoleccion-app',
|
||||
storageBucket: 'recoleccion-app.firebasestorage.app',
|
||||
iosBundleId: 'com.equipo.recolecta.recolectaApp',
|
||||
);
|
||||
|
||||
static const FirebaseOptions windows = FirebaseOptions(
|
||||
apiKey: 'AIzaSyCFklMyOhE7smpHESbiId9K4v6AIdvb_Vw',
|
||||
appId: '1:446089041715:web:d0f612e0a6749eea879046',
|
||||
messagingSenderId: '446089041715',
|
||||
projectId: 'recoleccion-app',
|
||||
authDomain: 'recoleccion-app.firebaseapp.com',
|
||||
storageBucket: 'recoleccion-app.firebasestorage.app',
|
||||
measurementId: 'G-5ZEJB09QEL',
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user