diff --git a/android/app/build.gradle b/android/app/build.gradle index 80ef9ef..28f11b7 100644 --- a/android/app/build.gradle +++ b/android/app/build.gradle @@ -182,9 +182,9 @@ android { 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", "\"Racib\"" + buildConfigField "String", "endpoint", "\"https://pos.api.racib.joys.digital/20130701/\"" + buildConfigField "String", "appToken", "\"9fec83cdca38c357e6b65dbb17514cdd36bf2a08\"" + buildConfigField "String", "appTitle", "\"RACIB Checker\"" buildConfigField "boolean", "showBonus", "false" } } diff --git a/android/app/src/racib/res/values/strings.xml b/android/app/src/racib/res/values/strings.xml index 6ff86ba..4a449bb 100644 --- a/android/app/src/racib/res/values/strings.xml +++ b/android/app/src/racib/res/values/strings.xml @@ -1,3 +1,3 @@ - Racib + RACIB Checker diff --git a/ios/Podfile b/ios/Podfile index ca29655..dec240d 100644 --- a/ios/Podfile +++ b/ios/Podfile @@ -139,7 +139,28 @@ target ‘Dinect-OTE’ do } 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| installer.pods_project.targets.each do |target| target.build_configurations.each do |config| diff --git a/ios/Runner/AppDelegate.m b/ios/Runner/AppDelegate.m index 54b7392..7c0de80 100644 --- a/ios/Runner/AppDelegate.m +++ b/ios/Runner/AppDelegate.m @@ -91,9 +91,9 @@ @"currency" : @643, @"supportPhone" : @"support@dinect.com", @"supportUrl" : @"http://www.dinect.com", - @"endPoint" : @"https://pos-api.dinect.com/20130701/", - @"appToken" : @"bdea0f3ba9034b688019a7cac753d1209e2b227f", - @"appTitle" : @"Racib", + @"endPoint" : @"https://pos.api.racib.joys.digital/20130701/", + @"appToken" : @"9fec83cdca38c357e6b65dbb17514cdd36bf2a08", + @"appTitle" : @"RACIB Checker", @"showBonus" : @YES, }, }; diff --git a/lib/resources.dart b/lib/resources.dart index 7d8504a..bafd15c 100644 --- a/lib/resources.dart +++ b/lib/resources.dart @@ -23,7 +23,7 @@ class Resources { case 'autobonus': return new Color(0xffeb0004); case 'dinect': return new Color(0xff33cc99); case 'crypto': return new Color(0xffffc34d); - case 'racib': return new Color(0xffff6134); + case 'racib': return new Color(0xffcfcfcf); default: return new Color(0xffffffff); } }