enrollment-app/lib/firebase-config.dart
2026-01-09 10:02:34 +05:30

24 lines
817 B
Dart
Executable File

import 'package:firebase_core/firebase_core.dart';
const firebaseConfig = {
'apiKey': "AIzaSyAg0e5u7Piy6sWfgKl0C6D2XYyOakGB4wg",
'authDomain': "push-notification-enrollment.firebaseapp.com",
'projectId': "push-notification-enrollment",
'storageBucket': "push-notification-enrollment.appspot.com",
'messagingSenderId': "203846206303",
'appId': "1:203846206303:web:292619fd22c24ff99b6cea",
};
Future<void> initializeFirebase() async {
await Firebase.initializeApp(
options: FirebaseOptions(
apiKey: firebaseConfig['apiKey']!,
authDomain: firebaseConfig['authDomain']!,
projectId: firebaseConfig['projectId']!,
storageBucket: firebaseConfig['storageBucket']!,
messagingSenderId: firebaseConfig['messagingSenderId']!,
appId: firebaseConfig['appId']!,
),
);
}