Skip to content

Instantly share code, notes, and snippets.

@mono0926
Created December 7, 2021 05:29
Show Gist options
  • Star 10 You must be signed in to star a gist
  • Fork 4 You must be signed in to fork a gist
  • Save mono0926/4976867dd533012588a8558ad15f4d8e to your computer and use it in GitHub Desktop.
Save mono0926/4976867dd533012588a8558ad15f4d8e to your computer and use it in GitHub Desktop.
// File generated by FlutterFire CLI.
// ignore_for_file: lines_longer_than_80_chars
import 'package:firebase_core/firebase_core.dart' show FirebaseOptions;
import 'package:flutter/foundation.dart'
show defaultTargetPlatform, kIsWeb, TargetPlatform;
/// 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;
}
// ignore: missing_enum_constant_in_switch
switch (defaultTargetPlatform) {
case TargetPlatform.android:
return android;
case TargetPlatform.iOS:
return ios;
case TargetPlatform.macOS:
return macos;
}
throw UnsupportedError(
'DefaultFirebaseOptions are not supported for this platform.',
);
}
static const FirebaseOptions web = FirebaseOptions(
apiKey: 'xxxxxxxxxxxxxxxxxxx',
appId: 'xxxxxxxxxxxxxxxxxxx',
messagingSenderId: 'xxxxxxxxxxxxxxxxxxx',
projectId: 'xxxxxxxxxxxxxxxxxxx',
authDomain: 'xxxxxxxxxxxxxxxxxxx',
databaseURL: 'xxxxxxxxxxxxxxxxxxx',
storageBucket: 'xxxxxxxxxxxxxxxxxxx',
measurementId: 'xxxxxxxxxxxxxxxxxxx',
);
static const FirebaseOptions android = FirebaseOptions(
apiKey: 'xxxxxxxxxxxxxxxxxxx',
appId: 'xxxxxxxxxxxxxxxxxxx',
messagingSenderId: 'xxxxxxxxxxxxxxxxxxx',
projectId: 'xxxxxxxxxxxxxxxxxxx',
databaseURL: 'xxxxxxxxxxxxxxxxxxx',
storageBucket: 'xxxxxxxxxxxxxxxxxxx',
);
static const FirebaseOptions ios = FirebaseOptions(
apiKey: 'xxxxxxxxxxxxxxxxxxx',
appId: 'xxxxxxxxxxxxxxxxxxx',
messagingSenderId: 'xxxxxxxxxxxxxxxxxxx',
projectId: 'xxxxxxxxxxxxxxxxxxx',
databaseURL: 'xxxxxxxxxxxxxxxxxxx',
storageBucket: 'xxxxxxxxxxxxxxxxxxx',
androidClientId: 'xxxxxxxxxxxxxxxxxxx',
iosClientId: 'xxxxxxxxxxxxxxxxxxx',
iosBundleId: 'xxxxxxxxxxxxxxxxxxx',
);
static const FirebaseOptions macos = FirebaseOptions(
apiKey: 'xxxxxxxxxxxxxxxxxxx',
appId: 'xxxxxxxxxxxxxxxxxxx',
messagingSenderId: 'xxxxxxxxxxxxxxxxxxx',
projectId: 'xxxxxxxxxxxxxxxxxxx',
databaseURL: 'xxxxxxxxxxxxxxxxxxx',
storageBucket: 'xxxxxxxxxxxxxxxxxxx',
androidClientId: 'xxxxxxxxxxxxxxxxxxx',
iosClientId: 'xxxxxxxxxxxxxxxxxxx',
iosBundleId: 'xxxxxxxxxxxxxxxxxxx',
);
}
@uchwoody
Copy link

Lifesaver!

@Hami0095
Copy link

BROOOOOOO!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

@KAsare1
Copy link

KAsare1 commented Dec 7, 2022

🫡❤️❤️❤️❤️

@BrunomaFigueiredo
Copy link

Saving lives in 2023, Ths ❤️

@BrunoSantosCosta
Copy link

Thanksss ❤️

@MiladZarour
Copy link

THX

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment