feat: implement Stripe checkout flow, update profile settings UI for subscriptions, and add agent profile editing.
This commit is contained in:
48
lib/config/firebase_config.dart
Normal file
48
lib/config/firebase_config.dart
Normal file
@@ -0,0 +1,48 @@
|
||||
import 'package:firebase_core/firebase_core.dart';
|
||||
import 'package:real_estate_mobile/config/app_config.dart';
|
||||
|
||||
class FirebaseConfig {
|
||||
static FirebaseOptions get currentOptions {
|
||||
switch (AppConfig.flavor) {
|
||||
case Flavor.dev:
|
||||
return _dev;
|
||||
case Flavor.demo:
|
||||
return _demo;
|
||||
case Flavor.local:
|
||||
return _local;
|
||||
}
|
||||
}
|
||||
|
||||
// ── Dev ──
|
||||
static const _dev = FirebaseOptions(
|
||||
apiKey: 'AIzaSyAwb_9fc7n9gbN_IQqWeYRkHSSykzVHCyc', // Android
|
||||
appId: '1:703616926518:android:4342b796fbabb690fca997',
|
||||
messagingSenderId: '703616926518',
|
||||
projectId: 'real-estate-2d71e',
|
||||
storageBucket: 'real-estate-2d71e.firebasestorage.app',
|
||||
iosBundleId: 'com.requestn.realEstateMobile.dev',
|
||||
iosClientId: null,
|
||||
);
|
||||
|
||||
// ── Demo ──
|
||||
static const _demo = FirebaseOptions(
|
||||
apiKey: 'AIzaSyAwb_9fc7n9gbN_IQqWeYRkHSSykzVHCyc',
|
||||
appId: '1:703616926518:android:270639d6887d2cb4fca997',
|
||||
messagingSenderId: '703616926518',
|
||||
projectId: 'real-estate-2d71e',
|
||||
storageBucket: 'real-estate-2d71e.firebasestorage.app',
|
||||
iosBundleId: 'com.requestn.realEstateMobile.demo',
|
||||
iosClientId: null,
|
||||
);
|
||||
|
||||
// ── Local ──
|
||||
static const _local = FirebaseOptions(
|
||||
apiKey: 'AIzaSyAwb_9fc7n9gbN_IQqWeYRkHSSykzVHCyc',
|
||||
appId: '1:703616926518:android:2eb242f07b174c25fca997',
|
||||
messagingSenderId: '703616926518',
|
||||
projectId: 'real-estate-2d71e',
|
||||
storageBucket: 'real-estate-2d71e.firebasestorage.app',
|
||||
iosBundleId: 'com.requestn.realEstateMobile.local',
|
||||
iosClientId: null,
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user