89 lines
2.9 KiB
Dart
89 lines
2.9 KiB
Dart
// 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;
|
|
|
|
/// 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;
|
|
}
|
|
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: 'AIzaSyDqcGjTQTrZjhFoBvbhwsOuDaxvA4p8Ch4',
|
|
appId: '1:77433712483:web:89d62f69ed8ffb09ab6d56',
|
|
messagingSenderId: '77433712483',
|
|
projectId: 'peak-c376b',
|
|
authDomain: 'peak-c376b.firebaseapp.com',
|
|
storageBucket: 'peak-c376b.firebasestorage.app',
|
|
measurementId: 'G-B94Y2DVT96',
|
|
);
|
|
|
|
static const FirebaseOptions macos = FirebaseOptions(
|
|
apiKey: 'AIzaSyD3XsySzfF9Tp84jbAc_T0AwI-RSDRawmI',
|
|
appId: '1:77433712483:ios:f21e81701d8a2740ab6d56',
|
|
messagingSenderId: '77433712483',
|
|
projectId: 'peak-c376b',
|
|
storageBucket: 'peak-c376b.firebasestorage.app',
|
|
iosBundleId: 'zw.co.qantra.qpay',
|
|
);
|
|
|
|
static const FirebaseOptions windows = FirebaseOptions(
|
|
apiKey: 'AIzaSyDqcGjTQTrZjhFoBvbhwsOuDaxvA4p8Ch4',
|
|
appId: '1:77433712483:web:03b1df2872cd9723ab6d56',
|
|
messagingSenderId: '77433712483',
|
|
projectId: 'peak-c376b',
|
|
authDomain: 'peak-c376b.firebaseapp.com',
|
|
storageBucket: 'peak-c376b.firebasestorage.app',
|
|
measurementId: 'G-DMD0HQ4W18',
|
|
);
|
|
|
|
static const FirebaseOptions ios = FirebaseOptions(
|
|
apiKey: 'AIzaSyD3XsySzfF9Tp84jbAc_T0AwI-RSDRawmI',
|
|
appId: '1:77433712483:ios:f21e81701d8a2740ab6d56',
|
|
messagingSenderId: '77433712483',
|
|
projectId: 'peak-c376b',
|
|
storageBucket: 'peak-c376b.firebasestorage.app',
|
|
iosBundleId: 'zw.co.qantra.qpay',
|
|
);
|
|
|
|
static const FirebaseOptions android = FirebaseOptions(
|
|
apiKey: 'AIzaSyARyIWVumzj4UWNwplKZRxxVYmw_H6hBKI',
|
|
appId: '1:77433712483:android:c6508ec8c6a23889ab6d56',
|
|
messagingSenderId: '77433712483',
|
|
projectId: 'peak-c376b',
|
|
storageBucket: 'peak-c376b.firebasestorage.app',
|
|
);
|
|
|
|
} |