| | |
| | |
| | import 'package:firebase_core/firebase_core.dart' show FirebaseOptions; |
| | import 'package:flutter/foundation.dart' |
| | show defaultTargetPlatform, kIsWeb, TargetPlatform; |
| |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | class DefaultFirebaseOptions { |
| | 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: 'AIzaSyCvH5XwGLlDSoDLvyXxO0zUrUiBbHTckWA', |
| | appId: '1:753356619237:web:fa235d2aa773c36042c30c', |
| | messagingSenderId: '753356619237', |
| | projectId: 'sante-823cc', |
| | authDomain: 'sante-823cc.firebaseapp.com', |
| | storageBucket: 'sante-823cc.firebasestorage.app', |
| | measurementId: 'G-4TW1QSGJZL', |
| | ); |
| |
|
| | static const FirebaseOptions android = FirebaseOptions( |
| | apiKey: 'AIzaSyCKzBRQK-ehu6ac9rftuNU9W9eo11F774c', |
| | appId: '1:753356619237:android:8c8147cb09237d3e42c30c', |
| | messagingSenderId: '753356619237', |
| | projectId: 'sante-823cc', |
| | storageBucket: 'sante-823cc.firebasestorage.app', |
| | ); |
| |
|
| | static const FirebaseOptions ios = FirebaseOptions( |
| | apiKey: 'AIzaSyCjcU00lYVYVFYReaYmSYoKhJAiw6GmHZo', |
| | appId: '1:753356619237:ios:da39b855577ce69f42c30c', |
| | messagingSenderId: '753356619237', |
| | projectId: 'sante-823cc', |
| | storageBucket: 'sante-823cc.firebasestorage.app', |
| | iosBundleId: 'com.example.application2', |
| | ); |
| |
|
| | static const FirebaseOptions macos = FirebaseOptions( |
| | apiKey: 'AIzaSyCjcU00lYVYVFYReaYmSYoKhJAiw6GmHZo', |
| | appId: '1:753356619237:ios:da39b855577ce69f42c30c', |
| | messagingSenderId: '753356619237', |
| | projectId: 'sante-823cc', |
| | storageBucket: 'sante-823cc.firebasestorage.app', |
| | iosBundleId: 'com.example.application2', |
| | ); |
| |
|
| | static const FirebaseOptions windows = FirebaseOptions( |
| | apiKey: 'AIzaSyCvH5XwGLlDSoDLvyXxO0zUrUiBbHTckWA', |
| | appId: '1:753356619237:web:13f08b44b3c76a9c42c30c', |
| | messagingSenderId: '753356619237', |
| | projectId: 'sante-823cc', |
| | authDomain: 'sante-823cc.firebaseapp.com', |
| | storageBucket: 'sante-823cc.firebasestorage.app', |
| | measurementId: 'G-K04B2WT92Y', |
| | ); |
| | } |
| |
|