diff --git a/android/app/build.gradle b/android/app/build.gradle index f266527..1ebcf72 100644 --- a/android/app/build.gradle +++ b/android/app/build.gradle @@ -160,7 +160,20 @@ android { buildConfigField "String", "appTitle", "\"dinect (develop)\"" buildConfigField "boolean", "showBonus", "true" } - } + + biohacker { + applicationId 'ru.fivefit.biochecker' + buildConfigField "String", "locale", "\"ru\"" + buildConfigField "String", "flavor", "\"biohacker\"" + buildConfigField "int", "currency", "643" + buildConfigField "String", "supportPhone", "\"support@dinect.com\"" + buildConfigField "String", "supportUrl", "\"http://www.dinect.com\"" + buildConfigField "String", "endpoint", "\"https://pos-api.dinect.com/20130701/\"" + buildConfigField "String", "appToken", "\"bdea0f3ba9034b688019a7cac753d1209e2b227f\"" + buildConfigField "String", "appTitle", "\"BioChecker\"" + buildConfigField "boolean", "showBonus", "true" + } + } sourceSets { diff --git a/android/app/src/biohacker/res/mipmap-hdpi/ic_launcher.png b/android/app/src/biohacker/res/mipmap-hdpi/ic_launcher.png new file mode 100644 index 0000000..6c04f18 Binary files /dev/null and b/android/app/src/biohacker/res/mipmap-hdpi/ic_launcher.png differ diff --git a/android/app/src/biohacker/res/mipmap-mdpi/ic_launcher.png b/android/app/src/biohacker/res/mipmap-mdpi/ic_launcher.png new file mode 100644 index 0000000..ebc23e1 Binary files /dev/null and b/android/app/src/biohacker/res/mipmap-mdpi/ic_launcher.png differ diff --git a/android/app/src/biohacker/res/mipmap-xhdpi/ic_launcher.png b/android/app/src/biohacker/res/mipmap-xhdpi/ic_launcher.png new file mode 100644 index 0000000..b73551b Binary files /dev/null and b/android/app/src/biohacker/res/mipmap-xhdpi/ic_launcher.png differ diff --git a/android/app/src/biohacker/res/mipmap-xxhdpi/ic_launcher.png b/android/app/src/biohacker/res/mipmap-xxhdpi/ic_launcher.png new file mode 100644 index 0000000..16bdc59 Binary files /dev/null and b/android/app/src/biohacker/res/mipmap-xxhdpi/ic_launcher.png differ diff --git a/android/app/src/biohacker/res/mipmap-xxxhdpi/ic_launcher.png b/android/app/src/biohacker/res/mipmap-xxxhdpi/ic_launcher.png new file mode 100644 index 0000000..30a4079 Binary files /dev/null and b/android/app/src/biohacker/res/mipmap-xxxhdpi/ic_launcher.png differ diff --git a/android/app/src/biohacker/res/values/strings.xml b/android/app/src/biohacker/res/values/strings.xml new file mode 100644 index 0000000..a66e3f3 --- /dev/null +++ b/android/app/src/biohacker/res/values/strings.xml @@ -0,0 +1,3 @@ + + BioChecker + diff --git a/android/app/src/biohacker/web_hi_res_512.png b/android/app/src/biohacker/web_hi_res_512.png new file mode 100644 index 0000000..473d89d Binary files /dev/null and b/android/app/src/biohacker/web_hi_res_512.png differ diff --git a/assets/biohacker_logo.png b/assets/biohacker_logo.png new file mode 100644 index 0000000..6180be2 Binary files /dev/null and b/assets/biohacker_logo.png differ diff --git a/assets/biohacker_splash.png b/assets/biohacker_splash.png new file mode 100644 index 0000000..503e4b6 Binary files /dev/null and b/assets/biohacker_splash.png differ diff --git a/ios/Runner/AppDelegate.m b/ios/Runner/AppDelegate.m index cc742c1..7fd9c8c 100644 --- a/ios/Runner/AppDelegate.m +++ b/ios/Runner/AppDelegate.m @@ -74,6 +74,17 @@ @"appTitle" : @"PIP", @"showBonus" : @YES, }, + @"ru.fivefit.biochecker" : @{ + @"locale" : @"ru", + @"flavor" : @"biohacker", + @"currency" : @643, + @"supportPhone" : @"support@dinect.com", + @"supportUrl" : @"http://www.dinect.com", + @"endPoint" : @"https://pos-api.dinect.com/20130701/", + @"appToken" : @"bdea0f3ba9034b688019a7cac753d1209e2b227f", + @"appTitle" : @"BioChecker", + @"showBonus" : @YES, + }, }; NSDictionary *buildSettings = settings[bundleIdentifier]; diff --git a/lib/resources.dart b/lib/resources.dart index 799cee5..38d9bc4 100644 --- a/lib/resources.dart +++ b/lib/resources.dart @@ -18,6 +18,7 @@ class Resources { case 'autobonus': return new Color(0xffeb0004); case 'dinect': return new Color(0xff3daee3); case 'crypto': return new Color(0xff0f3d87); + case 'biohacker': return new Color(0xff464646); default: return new Color(0xffffffff); } } @@ -28,6 +29,7 @@ class Resources { case 'autobonus': return new Color(0xffeb0004); case 'dinect': return new Color(0xff33cc99); case 'crypto': return new Color(0xffffc34d); + case 'biohacker': return new Color(0xffff6134); default: return new Color(0xffffffff); } diff --git a/pubspec.lock b/pubspec.lock index 9e40bf9..ddb8dae 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -152,4 +152,4 @@ packages: source: hosted version: "3.0.0" sdks: - dart: ">=2.0.0-dev.23.0 <=2.0.0-edge.0d5cf900b021bf5c9fa593ffa12b15bcd1cc5fe0" + dart: ">=2.0.0-dev.23.0 <=2.0.0-edge.3c4dccbd46f152be9e1b6ca95c57357e8e48057c" diff --git a/pubspec.yaml b/pubspec.yaml index 130c1d1..6a6a487 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -30,11 +30,13 @@ flutter: - assets/pip_logo.png - assets/dinect_logo.png - assets/crypto_logo.png + - assets/biohacker_logo.png - assets/autobonus_splash.png - assets/pip_splash.png - assets/dinect_splash.png - assets/crypto_splash.png + - assets/biohacker_splash.png - assets/settings.png - assets/settings_arrow.png