This commit is contained in:
vtretyakov
2019-03-28 09:10:39 +07:00
parent 4710616742
commit 23c19b48d6
5 changed files with 30 additions and 9 deletions

View File

@@ -182,9 +182,9 @@ android {
buildConfigField "int", "currency", "643" buildConfigField "int", "currency", "643"
buildConfigField "String", "supportPhone", "\"support@dinect.com\"" buildConfigField "String", "supportPhone", "\"support@dinect.com\""
buildConfigField "String", "supportUrl", "\"http://www.dinect.com\"" buildConfigField "String", "supportUrl", "\"http://www.dinect.com\""
buildConfigField "String", "endpoint", "\"https://pos-api.dinect.com/20130701/\"" buildConfigField "String", "endpoint", "\"https://pos.api.racib.joys.digital/20130701/\""
buildConfigField "String", "appToken", "\"bdea0f3ba9034b688019a7cac753d1209e2b227f\"" buildConfigField "String", "appToken", "\"9fec83cdca38c357e6b65dbb17514cdd36bf2a08\""
buildConfigField "String", "appTitle", "\"Racib\"" buildConfigField "String", "appTitle", "\"RACIB Checker\""
buildConfigField "boolean", "showBonus", "false" buildConfigField "boolean", "showBonus", "false"
} }
} }

View File

@@ -1,3 +1,3 @@
<resources> <resources>
<string name="app_name">Racib</string> <string name="app_name">RACIB Checker</string>
</resources> </resources>

View File

@@ -139,7 +139,28 @@ target Dinect-OTE do
} }
end end
end end
target RACIB do
# Pods for Dinect
use_frameworks!
# Flutter Pods
pod 'Flutter', :path => ENV['FLUTTER_FRAMEWORK_DIR']
if File.exists? '../.flutter-plugins'
flutter_root = File.expand_path('..')
File.foreach('../.flutter-plugins') { |line|
plugin = line.split(pattern='=')
if plugin.length == 2
name = plugin[0].strip()
path = plugin[1].strip()
resolved_path = File.expand_path("#{path}/ios", flutter_root)
pod name, :path => resolved_path
else
puts "Invalid plugin specification: #{line}"
end
}
end
end
post_install do |installer| post_install do |installer|
installer.pods_project.targets.each do |target| installer.pods_project.targets.each do |target|
target.build_configurations.each do |config| target.build_configurations.each do |config|

View File

@@ -91,9 +91,9 @@
@"currency" : @643, @"currency" : @643,
@"supportPhone" : @"support@dinect.com", @"supportPhone" : @"support@dinect.com",
@"supportUrl" : @"http://www.dinect.com", @"supportUrl" : @"http://www.dinect.com",
@"endPoint" : @"https://pos-api.dinect.com/20130701/", @"endPoint" : @"https://pos.api.racib.joys.digital/20130701/",
@"appToken" : @"bdea0f3ba9034b688019a7cac753d1209e2b227f", @"appToken" : @"9fec83cdca38c357e6b65dbb17514cdd36bf2a08",
@"appTitle" : @"Racib", @"appTitle" : @"RACIB Checker",
@"showBonus" : @YES, @"showBonus" : @YES,
}, },
}; };

View File

@@ -23,7 +23,7 @@ class Resources {
case 'autobonus': return new Color(0xffeb0004); case 'autobonus': return new Color(0xffeb0004);
case 'dinect': return new Color(0xff33cc99); case 'dinect': return new Color(0xff33cc99);
case 'crypto': return new Color(0xffffc34d); case 'crypto': return new Color(0xffffc34d);
case 'racib': return new Color(0xffff6134); case 'racib': return new Color(0xffcfcfcf);
default: return new Color(0xffffffff); default: return new Color(0xffffffff);
} }
} }