kochkomplize/lib/firebase_options.dart

69 lines
2.6 KiB
Dart
Raw Normal View History

// File generated by FlutterFire CLI.
// ignore_for_file: lines_longer_than_80_chars, avoid_classes_with_only_static_members
import 'package:firebase_core/firebase_core.dart';
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:
throw UnsupportedError(
'DefaultFirebaseOptions have not been configured for macos - '
'you can reconfigure this by running the FlutterFire CLI again.',
);
case TargetPlatform.windows:
throw UnsupportedError(
'DefaultFirebaseOptions have not been configured for windows - '
'you can reconfigure this by running the FlutterFire CLI again.',
);
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: 'AIzaSyAACZYqWGQre2FqeXxC5qid1E0K2yuXD5Q',
appId: '1:460915828512:web:4db5d6cfa1e11481771945',
messagingSenderId: '460915828512',
projectId: 'kochkomplize',
authDomain: 'kochkomplize.firebaseapp.com',
databaseURL: 'https://kochkomplize-default-rtdb.europe-west1.firebasedatabase.app',
storageBucket: 'kochkomplize.appspot.com',
measurementId: 'G-0W73YW74KY',
);
static const FirebaseOptions android = FirebaseOptions(
apiKey: 'AIzaSyBzHwDZscVmyTuyJx9darx_8KkhpiCcNNQ',
appId: '1:460915828512:android:73914cecf1d06ff0771945',
messagingSenderId: '460915828512',
projectId: 'kochkomplize',
databaseURL: 'https://kochkomplize-default-rtdb.europe-west1.firebasedatabase.app',
storageBucket: 'kochkomplize.appspot.com',
);
static const FirebaseOptions ios = FirebaseOptions(
apiKey: 'AIzaSyDn1MhJq7gjUtyFJaewgC425jwJmAVCrDk',
appId: '1:460915828512:ios:ec4610516aa6bb0d771945',
messagingSenderId: '460915828512',
projectId: 'kochkomplize',
databaseURL: 'https://kochkomplize-default-rtdb.europe-west1.firebasedatabase.app',
storageBucket: 'kochkomplize.appspot.com',
iosBundleId: 'com.example.kochkomplize',
);
}