22 lines
691 B
Dart
22 lines
691 B
Dart
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;
|
|
}
|
|
// Handle other platforms if needed
|
|
return web;
|
|
}
|
|
|
|
static const FirebaseOptions web = FirebaseOptions(
|
|
apiKey: 'AIzaSyDXVQr3rlBPXhk-dYB6DyQF_JYrHKxXwrk',
|
|
appId: '1:654650461516:web:7a9e7c84c26c5a3a7c0e2c',
|
|
messagingSenderId: '654650461516',
|
|
projectId: 'petitspas-dev',
|
|
authDomain: 'petitspas-dev.firebaseapp.com',
|
|
storageBucket: 'petitspas-dev.appspot.com',
|
|
);
|
|
} |