feat: implement Stripe checkout flow, update profile settings UI for subscriptions, and add agent profile editing.

This commit is contained in:
pradeepkumar
2026-03-09 06:04:54 +05:30
parent e129be5a59
commit 0102617dc7
16 changed files with 2597 additions and 183 deletions

View 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,
);
}