master_clone
Faiz Hashmi 2 weeks ago
parent c8709bca85
commit b3ded8e675

@ -0,0 +1,44 @@
# Uncomment this line to define a global platform for your project
# platform :ios, '12.0'
# CocoaPods analytics sends network stats synchronously affecting flutter build latency.
ENV['COCOAPODS_DISABLE_STATS'] = 'true'
project 'Runner', {
'Debug' => :debug,
'Profile' => :release,
'Release' => :release,
}
def flutter_root
generated_xcode_build_settings_path = File.expand_path(File.join('..', 'Flutter', 'Generated.xcconfig'), __FILE__)
unless File.exist?(generated_xcode_build_settings_path)
raise "#{generated_xcode_build_settings_path} must exist. If you're running pod install manually, make sure flutter pub get is executed first"
end
File.foreach(generated_xcode_build_settings_path) do |line|
matches = line.match(/FLUTTER_ROOT\=(.*)/)
return matches[1].strip if matches
end
raise "FLUTTER_ROOT not found in #{generated_xcode_build_settings_path}. Try deleting Generated.xcconfig, then run flutter pub get"
end
require File.expand_path(File.join('packages', 'flutter_tools', 'bin', 'podhelper'), flutter_root)
flutter_ios_podfile_setup
target 'Runner' do
use_frameworks!
use_modular_headers!
flutter_install_all_ios_pods File.dirname(File.realpath(__FILE__))
target 'RunnerTests' do
inherit! :search_paths
end
end
post_install do |installer|
installer.pods_project.targets.each do |target|
flutter_additional_ios_build_settings(target)
end
end

@ -180,36 +180,6 @@ class AppConstants {
static const int projectIdKhobar = 60;
static const int projectIdTakhasusiWomen = 140;
// Deprecated: IP-based detection - now using projectID from server
// Kept for backward compatibility reference only
@Deprecated('Use projectID-based detection instead')
static const List<String> takhasusiMainBranchIps = [
'10.70.194.87',
'10.70.6.139',
'10.70.6.141',
'10.70.6.142',
'10.70.6.114',
'10.70.6.143',
'10.70.6.49',
'10.70.6.56',
'10.70.6.144',
'10.70.6.158',
'10.70.6.119',
'10.70.6.156',
'10.70.6.109',
'10.70.6.102',
'10.70.6.107',
'10.70.6.137',
'10.70.6.93',
'10.70.6.147',
'10.70.6.148',
'10.70.6.98',
'10.70.6.112',
'10.70.6.96',
'10.70.6.145',
'10.70.6.91',
'10.70.6.157',
];
}
class ApiConstants {
@ -217,7 +187,7 @@ class ApiConstants {
static String baseUrlUat = 'https://ms.hmg.com/nscapi'; // UAT
static String baseUrlDev = 'https://ms.hmg.com/nscapi2'; // DEV
static String baseUrl = baseUrlLive;
static String baseUrl = baseUrlDev;
// static String baseUrl = baseUrlDev;
static String baseUrlHub = '$baseUrl/PatientCallingHub';
static String baseUrlApi = '$baseUrl/api';

Loading…
Cancel
Save