This commit is contained in:
pradeepkumar
2026-04-08 04:32:07 +05:30
parent 82c0582bca
commit 8d121cd586
6 changed files with 362 additions and 6 deletions

View File

@@ -51,13 +51,16 @@ android {
keyAlias = keyProperties.getProperty("demoKeyAlias", "")
keyPassword = keyProperties.getProperty("demoKeyPassword", "")
}
val prodStorePath = keyProperties.getProperty("prodStoreFile", "")
if (prodStorePath.isNotEmpty()) {
create("prodRelease") {
storeFile = file(keyProperties.getProperty("prodStoreFile", ""))
storeFile = file(prodStorePath)
storePassword = keyProperties.getProperty("prodStorePassword", "")
keyAlias = keyProperties.getProperty("prodKeyAlias", "")
keyPassword = keyProperties.getProperty("prodKeyPassword", "")
}
}
}
flavorDimensions += "flavor-type"
@@ -83,7 +86,7 @@ android {
dimension = "flavor-type"
// No applicationIdSuffix — prod uses the base applicationId
resValue("string", "app_name", "RE-Quest")
signingConfig = signingConfigs.getByName("prodRelease")
signingConfigs.findByName("prodRelease")?.let { signingConfig = it }
}
}

View File

@@ -0,0 +1,134 @@
{
"project_info": {
"project_number": "703616926518",
"project_id": "real-estate-2d71e",
"storage_bucket": "real-estate-2d71e.firebasestorage.app"
},
"client": [
{
"client_info": {
"mobilesdk_app_id": "1:703616926518:android:77f205bca96f096ffca997",
"android_client_info": {
"package_name": "com.requestn.real_estate_mobile"
}
},
"oauth_client": [
{
"client_id": "703616926518-9h70kp29oqdgi8umr84u6n59kpb22q97.apps.googleusercontent.com",
"client_type": 3
}
],
"api_key": [
{
"current_key": "AIzaSyAwb_9fc7n9gbN_IQqWeYRkHSSykzVHCyc"
}
],
"services": {
"appinvite_service": {
"other_platform_oauth_client": [
{
"client_id": "703616926518-9h70kp29oqdgi8umr84u6n59kpb22q97.apps.googleusercontent.com",
"client_type": 3
}
]
}
}
},
{
"client_info": {
"mobilesdk_app_id": "1:703616926518:android:270639d6887d2cb4fca997",
"android_client_info": {
"package_name": "com.requestn.real_estate_mobile.demo"
}
},
"oauth_client": [
{
"client_id": "703616926518-irmpibm3vlr1msi8bj1um78qm333cbpi.apps.googleusercontent.com",
"client_type": 1,
"android_info": {
"package_name": "com.requestn.real_estate_mobile.demo",
"certificate_hash": "8e31b3360e5e029447ed18ad1729ea17ae80d5b0"
}
},
{
"client_id": "703616926518-9h70kp29oqdgi8umr84u6n59kpb22q97.apps.googleusercontent.com",
"client_type": 3
}
],
"api_key": [
{
"current_key": "AIzaSyAwb_9fc7n9gbN_IQqWeYRkHSSykzVHCyc"
}
],
"services": {
"appinvite_service": {
"other_platform_oauth_client": [
{
"client_id": "703616926518-9h70kp29oqdgi8umr84u6n59kpb22q97.apps.googleusercontent.com",
"client_type": 3
}
]
}
}
},
{
"client_info": {
"mobilesdk_app_id": "1:703616926518:android:4342b796fbabb690fca997",
"android_client_info": {
"package_name": "com.requestn.real_estate_mobile.dev"
}
},
"oauth_client": [
{
"client_id": "703616926518-9h70kp29oqdgi8umr84u6n59kpb22q97.apps.googleusercontent.com",
"client_type": 3
}
],
"api_key": [
{
"current_key": "AIzaSyAwb_9fc7n9gbN_IQqWeYRkHSSykzVHCyc"
}
],
"services": {
"appinvite_service": {
"other_platform_oauth_client": [
{
"client_id": "703616926518-9h70kp29oqdgi8umr84u6n59kpb22q97.apps.googleusercontent.com",
"client_type": 3
}
]
}
}
},
{
"client_info": {
"mobilesdk_app_id": "1:703616926518:android:2eb242f07b174c25fca997",
"android_client_info": {
"package_name": "com.requestn.real_estate_mobile.local"
}
},
"oauth_client": [
{
"client_id": "703616926518-9h70kp29oqdgi8umr84u6n59kpb22q97.apps.googleusercontent.com",
"client_type": 3
}
],
"api_key": [
{
"current_key": "AIzaSyAwb_9fc7n9gbN_IQqWeYRkHSSykzVHCyc"
}
],
"services": {
"appinvite_service": {
"other_platform_oauth_client": [
{
"client_id": "703616926518-9h70kp29oqdgi8umr84u6n59kpb22q97.apps.googleusercontent.com",
"client_type": 3
}
]
}
}
}
],
"configuration_version": "1"
}

View File

@@ -0,0 +1,32 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>ANDROID_CLIENT_ID</key>
<string>703616926518-irmpibm3vlr1msi8bj1um78qm333cbpi.apps.googleusercontent.com</string>
<key>API_KEY</key>
<string>AIzaSyD67KPio-70XW_yGjrRUyq9ejdZoZA1rmE</string>
<key>GCM_SENDER_ID</key>
<string>703616926518</string>
<key>PLIST_VERSION</key>
<string>1</string>
<key>BUNDLE_ID</key>
<string>com.requestn.realEstateMobile</string>
<key>PROJECT_ID</key>
<string>real-estate-2d71e</string>
<key>STORAGE_BUCKET</key>
<string>real-estate-2d71e.firebasestorage.app</string>
<key>IS_ADS_ENABLED</key>
<false></false>
<key>IS_ANALYTICS_ENABLED</key>
<false></false>
<key>IS_APPINVITE_ENABLED</key>
<true></true>
<key>IS_GCM_ENABLED</key>
<true></true>
<key>IS_SIGNIN_ENABLED</key>
<true></true>
<key>GOOGLE_APP_ID</key>
<string>1:703616926518:ios:43306a28b7dfebdafca997</string>
</dict>
</plist>

View File

@@ -0,0 +1,134 @@
{
"project_info": {
"project_number": "703616926518",
"project_id": "real-estate-2d71e",
"storage_bucket": "real-estate-2d71e.firebasestorage.app"
},
"client": [
{
"client_info": {
"mobilesdk_app_id": "1:703616926518:android:77f205bca96f096ffca997",
"android_client_info": {
"package_name": "com.requestn.real_estate_mobile"
}
},
"oauth_client": [
{
"client_id": "703616926518-9h70kp29oqdgi8umr84u6n59kpb22q97.apps.googleusercontent.com",
"client_type": 3
}
],
"api_key": [
{
"current_key": "AIzaSyAwb_9fc7n9gbN_IQqWeYRkHSSykzVHCyc"
}
],
"services": {
"appinvite_service": {
"other_platform_oauth_client": [
{
"client_id": "703616926518-9h70kp29oqdgi8umr84u6n59kpb22q97.apps.googleusercontent.com",
"client_type": 3
}
]
}
}
},
{
"client_info": {
"mobilesdk_app_id": "1:703616926518:android:270639d6887d2cb4fca997",
"android_client_info": {
"package_name": "com.requestn.real_estate_mobile.demo"
}
},
"oauth_client": [
{
"client_id": "703616926518-irmpibm3vlr1msi8bj1um78qm333cbpi.apps.googleusercontent.com",
"client_type": 1,
"android_info": {
"package_name": "com.requestn.real_estate_mobile.demo",
"certificate_hash": "8e31b3360e5e029447ed18ad1729ea17ae80d5b0"
}
},
{
"client_id": "703616926518-9h70kp29oqdgi8umr84u6n59kpb22q97.apps.googleusercontent.com",
"client_type": 3
}
],
"api_key": [
{
"current_key": "AIzaSyAwb_9fc7n9gbN_IQqWeYRkHSSykzVHCyc"
}
],
"services": {
"appinvite_service": {
"other_platform_oauth_client": [
{
"client_id": "703616926518-9h70kp29oqdgi8umr84u6n59kpb22q97.apps.googleusercontent.com",
"client_type": 3
}
]
}
}
},
{
"client_info": {
"mobilesdk_app_id": "1:703616926518:android:4342b796fbabb690fca997",
"android_client_info": {
"package_name": "com.requestn.real_estate_mobile.dev"
}
},
"oauth_client": [
{
"client_id": "703616926518-9h70kp29oqdgi8umr84u6n59kpb22q97.apps.googleusercontent.com",
"client_type": 3
}
],
"api_key": [
{
"current_key": "AIzaSyAwb_9fc7n9gbN_IQqWeYRkHSSykzVHCyc"
}
],
"services": {
"appinvite_service": {
"other_platform_oauth_client": [
{
"client_id": "703616926518-9h70kp29oqdgi8umr84u6n59kpb22q97.apps.googleusercontent.com",
"client_type": 3
}
]
}
}
},
{
"client_info": {
"mobilesdk_app_id": "1:703616926518:android:2eb242f07b174c25fca997",
"android_client_info": {
"package_name": "com.requestn.real_estate_mobile.local"
}
},
"oauth_client": [
{
"client_id": "703616926518-9h70kp29oqdgi8umr84u6n59kpb22q97.apps.googleusercontent.com",
"client_type": 3
}
],
"api_key": [
{
"current_key": "AIzaSyAwb_9fc7n9gbN_IQqWeYRkHSSykzVHCyc"
}
],
"services": {
"appinvite_service": {
"other_platform_oauth_client": [
{
"client_id": "703616926518-9h70kp29oqdgi8umr84u6n59kpb22q97.apps.googleusercontent.com",
"client_type": 3
}
]
}
}
}
],
"configuration_version": "1"
}

View File

@@ -0,0 +1,32 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>ANDROID_CLIENT_ID</key>
<string>703616926518-irmpibm3vlr1msi8bj1um78qm333cbpi.apps.googleusercontent.com</string>
<key>API_KEY</key>
<string>AIzaSyD67KPio-70XW_yGjrRUyq9ejdZoZA1rmE</string>
<key>GCM_SENDER_ID</key>
<string>703616926518</string>
<key>PLIST_VERSION</key>
<string>1</string>
<key>BUNDLE_ID</key>
<string>com.requestn.realEstateMobile</string>
<key>PROJECT_ID</key>
<string>real-estate-2d71e</string>
<key>STORAGE_BUCKET</key>
<string>real-estate-2d71e.firebasestorage.app</string>
<key>IS_ADS_ENABLED</key>
<false></false>
<key>IS_ANALYTICS_ENABLED</key>
<false></false>
<key>IS_APPINVITE_ENABLED</key>
<true></true>
<key>IS_GCM_ENABLED</key>
<true></true>
<key>IS_SIGNIN_ENABLED</key>
<true></true>
<key>GOOGLE_APP_ID</key>
<string>1:703616926518:ios:43306a28b7dfebdafca997</string>
</dict>
</plist>

View File

@@ -12,6 +12,8 @@ class FirebaseConfig {
return Platform.isIOS ? _demoIos : _demoAndroid;
case Flavor.local:
return Platform.isIOS ? _localIos : _localAndroid;
case Flavor.prod:
return Platform.isIOS ? _prodIos : _prodAndroid;
}
}
@@ -71,4 +73,23 @@ class FirebaseConfig {
storageBucket: 'real-estate-2d71e.firebasestorage.app',
iosBundleId: 'com.requestn.realEstateMobile.local',
);
// ── Prod (Android) ──
static const _prodAndroid = FirebaseOptions(
apiKey: 'AIzaSyAwb_9fc7n9gbN_IQqWeYRkHSSykzVHCyc',
appId: '1:703616926518:android:77f205bca96f096ffca997',
messagingSenderId: '703616926518',
projectId: 'real-estate-2d71e',
storageBucket: 'real-estate-2d71e.firebasestorage.app',
);
// ── Prod (iOS) ──
static const _prodIos = FirebaseOptions(
apiKey: 'AIzaSyD67KPio-70XW_yGjrRUyq9ejdZoZA1rmE',
appId: '1:703616926518:ios:43306a28b7dfebdafca997',
messagingSenderId: '703616926518',
projectId: 'real-estate-2d71e',
storageBucket: 'real-estate-2d71e.firebasestorage.app',
iosBundleId: 'com.requestn.realEstateMobile',
);
}