make builds for test servers

This commit is contained in:
vtretyakov
2017-11-27 16:05:08 +07:00
parent 8ca0de4b82
commit 1ce8ce3d56
47 changed files with 131 additions and 17 deletions

View File

@@ -54,6 +54,62 @@ android {
buildConfigField "String", "appTitle", "\"Dinect\"" buildConfigField "String", "appTitle", "\"Dinect\""
buildConfigField "boolean", "showBonus", "true" buildConfigField "boolean", "showBonus", "true"
}
dinect_INT {
applicationId 'com.dinect.checker.int'
buildConfigField "String", "locale", "\"ru\""
buildConfigField "String", "flavor", "\"dinect\""
buildConfigField "int", "currency", "643"
buildConfigField "String", "supportPhone", "\"8-800-77-55-032\""
buildConfigField "String", "supportUrl", "\"http://www.dinect.com\""
buildConfigField "String", "endpoint", "\"https://pos-api-int.dinect.com/20130701/\""
buildConfigField "String", "appToken", "\"9fec83cdca38c357e6b65dbb17514cdd36bf2a08\""
buildConfigField "String", "appTitle", "\"Dinect (INT)\""
buildConfigField "boolean", "showBonus", "true"
}
dinect_OTE {
applicationId 'com.dinect.checker.ote'
buildConfigField "String", "locale", "\"ru\""
buildConfigField "String", "flavor", "\"dinect\""
buildConfigField "int", "currency", "643"
buildConfigField "String", "supportPhone", "\"8-800-77-55-032\""
buildConfigField "String", "supportUrl", "\"http://www.dinect.com\""
buildConfigField "String", "endpoint", "\"https://pos-api-ote.dinect.com/20130701/\""
buildConfigField "String", "appToken", "\"9fec83cdca38c357e6b65dbb17514cdd36bf2a08\""
buildConfigField "String", "appTitle", "\"Dinect (OTE)\""
buildConfigField "boolean", "showBonus", "true"
}
dinect_TESTING {
applicationId 'com.dinect.checker.testing'
buildConfigField "String", "locale", "\"ru\""
buildConfigField "String", "flavor", "\"dinect\""
buildConfigField "int", "currency", "643"
buildConfigField "String", "supportPhone", "\"8-800-77-55-032\""
buildConfigField "String", "supportUrl", "\"http://www.dinect.com\""
buildConfigField "String", "endpoint", "\"https://pos-api-testing.dinect.com/20130701/\""
buildConfigField "String", "appToken", "\"9fec83cdca38c357e6b65dbb17514cdd36bf2a08\""
buildConfigField "String", "appTitle", "\"Dinect (TESTING)\""
buildConfigField "boolean", "showBonus", "true"
}
dinect_STAGING {
applicationId 'com.dinect.checker.staging'
buildConfigField "String", "locale", "\"ru\""
buildConfigField "String", "flavor", "\"dinect\""
buildConfigField "int", "currency", "643"
buildConfigField "String", "supportPhone", "\"8-800-77-55-032\""
buildConfigField "String", "supportUrl", "\"http://www.dinect.com\""
buildConfigField "String", "endpoint", "\"https://pos-api-staging.dinect.com/20130701/\""
buildConfigField "String", "appToken", "\"9fec83cdca38c357e6b65dbb17514cdd36bf2a08\""
buildConfigField "String", "appTitle", "\"Dinect (STAGING)\""
buildConfigField "boolean", "showBonus", "true"
} }
autobonus { autobonus {
@@ -82,16 +138,30 @@ android {
buildConfigField "boolean", "showBonus", "true" buildConfigField "boolean", "showBonus", "true"
} }
crypto {
applicationId 'com.dinect.checker.crypto'
buildConfigField "String", "locale", "\"ru\""
buildConfigField "String", "flavor", "\"dinect\""
buildConfigField "int", "currency", "643"
buildConfigField "String", "supportPhone", "\"8-800-77-55-032\""
buildConfigField "String", "supportUrl", "\"http://www.dinect.com\""
buildConfigField "String", "endpoint", "\"https://pos-api-crypto-int.dinect.com/20130701/\""
buildConfigField "String", "appToken", "\"bdea0f3ba9034b688019a7cac753d1209e2b227f\""
buildConfigField "String", "appTitle", "\"Dinect Crypto\""
buildConfigField "boolean", "showBonus", "true"
}
develop { develop {
applicationId 'com.dinect.develop' applicationId 'com.dinect.develop'
buildConfigField "String", "locale", "\"ru\"" buildConfigField "String", "locale", "\"ru\""
buildConfigField "String", "flavor", "\"autobonus\"" buildConfigField "String", "flavor", "\"dinect\""
buildConfigField "int", "currency", "643" buildConfigField "int", "currency", "643"
buildConfigField "String", "supportPhone", "\"8 800 555 35 35\"" buildConfigField "String", "supportPhone", "\"8 800 555 35 35\""
buildConfigField "String", "supportUrl", "\"http://yandex.ru/\"" buildConfigField "String", "supportUrl", "\"http://yandex.ru/\""
buildConfigField "String", "endpoint", "\"https://pos-api-int.dinect.com/20130701/\"" buildConfigField "String", "endpoint", "\"https://pos-api-int.dinect.com/20130701/\""
buildConfigField "String", "appToken", "\"9fec83cdca38c357e6b65dbb17514cdd36bf2a08\"" buildConfigField "String", "appToken", "\"9fec83cdca38c357e6b65dbb17514cdd36bf2a08\""
buildConfigField "String", "appTitle", "\"Autobonus (develop)\"" buildConfigField "String", "appTitle", "\"dinect (develop)\""
buildConfigField "boolean", "showBonus", "true" buildConfigField "boolean", "showBonus", "true"
} }

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.4 KiB

View File

@@ -0,0 +1,3 @@
<resources>
<string name="app_name">AutoBonus</string>
</resources>

View File

@@ -0,0 +1,3 @@
<resources>
<string name="app_name">AutoBonus</string>
</resources>

View File

@@ -0,0 +1,3 @@
<resources>
<string name="app_name">AutoBonus</string>
</resources>

View File

@@ -0,0 +1,3 @@
<resources>
<string name="app_name">Dinect Crypto</string>
</resources>

View File

@@ -0,0 +1,3 @@
<resources>
<string name="app_name">Dinect Crypto</string>
</resources>

View File

@@ -0,0 +1,3 @@
<resources>
<string name="app_name">Dinect Crypto</string>
</resources>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 13 KiB

View File

@@ -1,3 +0,0 @@
<resources>
<string name="app_name">Dinect</string>
</resources>

View File

@@ -1,3 +0,0 @@
<resources>
<string name="app_name">Dinect</string>
</resources>

View File

@@ -1,3 +0,0 @@
<resources>
<string name="app_name">Dinect</string>
</resources>

View File

@@ -0,0 +1,3 @@
<resources>
<string name="app_name">Dinect (INT)</string>
</resources>

View File

@@ -0,0 +1,3 @@
<resources>
<string name="app_name">Dinect (INT)</string>
</resources>

View File

@@ -0,0 +1,3 @@
<resources>
<string name="app_name">Dinect (INT)</string>
</resources>

View File

@@ -0,0 +1,3 @@
<resources>
<string name="app_name">Dinect (OTE)</string>
</resources>

View File

@@ -0,0 +1,3 @@
<resources>
<string name="app_name">Dinect (OTE)</string>
</resources>

View File

@@ -0,0 +1,3 @@
<resources>
<string name="app_name">Dinect (OTE)</string>
</resources>

View File

@@ -0,0 +1,3 @@
<resources>
<string name="app_name">Dinect (STAGING)</string>
</resources>

View File

@@ -0,0 +1,3 @@
<resources>
<string name="app_name">Dinect (STAGING)</string>
</resources>

View File

@@ -0,0 +1,3 @@
<resources>
<string name="app_name">Dinect (STAGING)</string>
</resources>

View File

@@ -0,0 +1,3 @@
<resources>
<string name="app_name">Dinect (TESTING)</string>
</resources>

View File

@@ -0,0 +1,3 @@
<resources>
<string name="app_name">Dinect (TESTING)</string>
</resources>

View File

@@ -0,0 +1,3 @@
<resources>
<string name="app_name">Dinect (TESTING)</string>
</resources>

View File

@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android" <manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.dinect.checker" package="com.dinect.checker"
android:versionCode="2" android:versionCode="3"
android:versionName="1.1.4"> android:versionName="1.1.5">
<uses-sdk <uses-sdk
android:minSdkVersion="16" android:minSdkVersion="16"

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.2 KiB

After

Width:  |  Height:  |  Size: 3.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

After

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.1 KiB

After

Width:  |  Height:  |  Size: 4.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.1 KiB

After

Width:  |  Height:  |  Size: 9.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.4 KiB

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.3 KiB

View File

@@ -1,5 +1,5 @@
<resources> <resources>
<string name="app_name">AutoBonus</string> <string name="app_name">Dinect</string>
<string name="scanner_title">Сканер карты</string> <string name="scanner_title">Сканер карты</string>
<string name="scan">Сканировать</string> <string name="scan">Сканировать</string>
<string name="faq">Справка</string> <string name="faq">Справка</string>

View File

@@ -1,5 +1,5 @@
<resources> <resources>
<string name="app_name">AutoBonus</string> <string name="app_name">Dinect</string>
<string name="scanner_title">Сканер карти</string> <string name="scanner_title">Сканер карти</string>
<string name="scan">Сканувати</string> <string name="scan">Сканувати</string>
<string name="faq">Допомога</string> <string name="faq">Допомога</string>

View File

@@ -1,5 +1,5 @@
<resources> <resources>
<string name="app_name">AutoBonus</string> <string name="app_name">Dinect</string>
<string name="scanner_title">Card Scanner</string> <string name="scanner_title">Card Scanner</string>
<string name="scan">Scan</string> <string name="scan">Scan</string>
<string name="faq">Help</string> <string name="faq">Help</string>

View File

@@ -45,7 +45,6 @@ flutter:
- assets/faq_expansion_icon.png - assets/faq_expansion_icon.png
- assets/powered_by_dinect_splash.png - assets/powered_by_dinect_splash.png
- assets/powered_by_dinect.png - assets/powered_by_dinect.png
- assets/autobonus_logo.png
- assets/splash_text.png - assets/splash_text.png
# To add assets from package dependencies, first ensure the asset # To add assets from package dependencies, first ensure the asset