fix
This commit is contained in:
@@ -51,13 +51,16 @@ android {
|
|||||||
keyAlias = keyProperties.getProperty("demoKeyAlias", "")
|
keyAlias = keyProperties.getProperty("demoKeyAlias", "")
|
||||||
keyPassword = keyProperties.getProperty("demoKeyPassword", "")
|
keyPassword = keyProperties.getProperty("demoKeyPassword", "")
|
||||||
}
|
}
|
||||||
|
val prodStorePath = keyProperties.getProperty("prodStoreFile", "")
|
||||||
|
if (prodStorePath.isNotEmpty()) {
|
||||||
create("prodRelease") {
|
create("prodRelease") {
|
||||||
storeFile = file(keyProperties.getProperty("prodStoreFile", ""))
|
storeFile = file(prodStorePath)
|
||||||
storePassword = keyProperties.getProperty("prodStorePassword", "")
|
storePassword = keyProperties.getProperty("prodStorePassword", "")
|
||||||
keyAlias = keyProperties.getProperty("prodKeyAlias", "")
|
keyAlias = keyProperties.getProperty("prodKeyAlias", "")
|
||||||
keyPassword = keyProperties.getProperty("prodKeyPassword", "")
|
keyPassword = keyProperties.getProperty("prodKeyPassword", "")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
flavorDimensions += "flavor-type"
|
flavorDimensions += "flavor-type"
|
||||||
|
|
||||||
@@ -83,7 +86,7 @@ android {
|
|||||||
dimension = "flavor-type"
|
dimension = "flavor-type"
|
||||||
// No applicationIdSuffix — prod uses the base applicationId
|
// No applicationIdSuffix — prod uses the base applicationId
|
||||||
resValue("string", "app_name", "RE-Quest")
|
resValue("string", "app_name", "RE-Quest")
|
||||||
signingConfig = signingConfigs.getByName("prodRelease")
|
signingConfigs.findByName("prodRelease")?.let { signingConfig = it }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
134
android/app/src/prod/google-services.json
Normal file
134
android/app/src/prod/google-services.json
Normal 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"
|
||||||
|
}
|
||||||
32
firebase/prod/GoogleService-Info.plist
Normal file
32
firebase/prod/GoogleService-Info.plist
Normal 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>
|
||||||
134
firebase/prod/google-services.json
Normal file
134
firebase/prod/google-services.json
Normal 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"
|
||||||
|
}
|
||||||
32
ios/config/prod/GoogleService-Info.plist
Normal file
32
ios/config/prod/GoogleService-Info.plist
Normal 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>
|
||||||
@@ -12,6 +12,8 @@ class FirebaseConfig {
|
|||||||
return Platform.isIOS ? _demoIos : _demoAndroid;
|
return Platform.isIOS ? _demoIos : _demoAndroid;
|
||||||
case Flavor.local:
|
case Flavor.local:
|
||||||
return Platform.isIOS ? _localIos : _localAndroid;
|
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',
|
storageBucket: 'real-estate-2d71e.firebasestorage.app',
|
||||||
iosBundleId: 'com.requestn.realEstateMobile.local',
|
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',
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user