setup prod, dev, qa env for android app (#59)
This commit is contained in:
committed by
GitHub Enterprise
parent
795a11ba13
commit
fe7b24f0fd
@@ -33,6 +33,21 @@ android {
|
||||
dataBinding {
|
||||
enabled true
|
||||
}
|
||||
|
||||
flavorDimensions "app"
|
||||
productFlavors {
|
||||
qa {
|
||||
dimension "app"
|
||||
applicationId "com.navi.medici.androidCustomerApp.qa"
|
||||
}
|
||||
dev {
|
||||
applicationId "com.navi.medici.androidCustomerApp.dev"
|
||||
dimension "app"
|
||||
}
|
||||
prod {
|
||||
dimension "app"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
ext {
|
||||
|
||||
@@ -1,7 +1,11 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<?xml version="1.0" encoding="utf-8"?><!--
|
||||
~ /**
|
||||
~ * Copyright (c) 2019 . All rights reserved @Navi
|
||||
~ */
|
||||
-->
|
||||
|
||||
<!-- <string name="base_url">https://5ab1dd15-c349-4724-8da6-45c72a7d7219.mock.pstmn.io</string>-->
|
||||
|
||||
<resources>
|
||||
|
||||
<string name="base_url">https://dev-mobile-application-service.np.navi-tech.in/</string>
|
||||
<string name="terms_and_conditions_link">http://www.navi.com</string>
|
||||
13
app/src/prod/res/values/network_strings.xml
Normal file
13
app/src/prod/res/values/network_strings.xml
Normal file
@@ -0,0 +1,13 @@
|
||||
<?xml version="1.0" encoding="utf-8"?><!--
|
||||
~ /**
|
||||
~ * Copyright (c) 2019 . All rights reserved @Navi
|
||||
~ */
|
||||
-->
|
||||
|
||||
<resources>
|
||||
|
||||
<string name="base_url">https://dev-mobile-application-service.np.navi-tech.in/</string>
|
||||
<string name="terms_and_conditions_link">http://www.navi.com</string>
|
||||
<string name="privacy_policy_link">http://www.navi.com</string>
|
||||
|
||||
</resources>
|
||||
14
app/src/qa/res/values/network_strings.xml
Normal file
14
app/src/qa/res/values/network_strings.xml
Normal file
@@ -0,0 +1,14 @@
|
||||
<?xml version="1.0" encoding="utf-8"?><!--
|
||||
~ /**
|
||||
~ * Copyright (c) 2019 . All rights reserved @Navi
|
||||
~ */
|
||||
-->
|
||||
|
||||
|
||||
<resources>
|
||||
|
||||
<string name="base_url">https://qa-mobile-application-service.np.navi-tech.in/</string>
|
||||
<string name="terms_and_conditions_link">http://www.navi.com</string>
|
||||
<string name="privacy_policy_link">http://www.navi.com</string>
|
||||
|
||||
</resources>
|
||||
Reference in New Issue
Block a user