You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
PatientApp-KKUMC/lib/config/config.dart

41 lines
1.2 KiB
Dart

const MAX_SMALL_SCREEN = 660;
const BASE_URL = 'https://hmgwebservices.com/Services';
const GET_PROJECT = '/Lists.svc/REST/GetProject';
//const BASE_URL = 'https://hmgwebservices.com/'; // Production Environment
//const BASE_URL = 'https://uat.hmgwebservices.com/'; // UAT Environment
//URL to get clinic list
const GET_CLINICS_LIST_URL = "Services/lists.svc/REST/GetClinicCentralized";
//URL to get doctors list
const GET_DOCTORS_LIST_URL = "Services/Doctors.svc/REST/SearchDoctorsByTime";
class AppGlobal {
static var context;
AppSharedPreferences sharedPref = AppSharedPreferences();
Request getPublicRequest() {
Request request = new Request();
request.VersionID = 5.3; //3.6;
request.Channel = 3;
// request.LanguageID = await sharedPref.getString(APP_LANGUAGE);
request.IPAdress = "10.20.10.20";
request.generalid = 'Cs2020@2016\$2958';
request.PatientOutSA = 0;
request.SessionID = null;
request.isDentalAllowedBackend = false;
request.DeviceTypeID = Platform.isIOS ? 1 : 2;
return request;
}
}
const CHANNEL = 3;
const GENERAL_ID = 'Cs2020@2016\$2958';
const IP_ADDRESS = '10.20.10.20';
const VERSION_ID = 5.5;