|
|
|
|
@ -3,14 +3,14 @@ class URLs {
|
|
|
|
|
|
|
|
|
|
static const String appReleaseBuildNumber = "22";
|
|
|
|
|
|
|
|
|
|
static const host1 = "https://atomsm.hmg.com"; // production url
|
|
|
|
|
// static const host1 = "https://atomsm.hmg.com"; // production url
|
|
|
|
|
// static const host1 = "https://atomsmdev.hmg.com"; // local DEV url
|
|
|
|
|
// static const host1 = "https://atomsmuat.hmg.com"; // local UAT url
|
|
|
|
|
static const host1 = "https://atomsmuat.hmg.com"; // local UAT url
|
|
|
|
|
|
|
|
|
|
// static String _baseUrl = "$_host/mobile";
|
|
|
|
|
static String _baseUrl = "$_host/mobile";
|
|
|
|
|
// static final String _baseUrl = "$_host/v2/mobile"; // new V2 apis
|
|
|
|
|
// static final String _baseUrl = "$_host/mobile"; // host local UAT
|
|
|
|
|
static final String _baseUrl = "$_host/v3/mobile"; // v3 for new CM,PM,TM
|
|
|
|
|
// static final String _baseUrl = "$_host/v3/mobile"; // v3 for new CM,PM,TM
|
|
|
|
|
|
|
|
|
|
static String _host = host1;
|
|
|
|
|
|
|
|
|
|
@ -21,7 +21,8 @@ class URLs {
|
|
|
|
|
// static String getFileUrl(String file) => (file == null || file.isEmpty) ? null :1 (file.contains("/") ? file : "$_host/attachment/$file");
|
|
|
|
|
|
|
|
|
|
// API Routes
|
|
|
|
|
static get login => "$_baseUrl/MobileAuth/Login"; // web login
|
|
|
|
|
static get login => "$_baseUrl/MobileAuth/Login";
|
|
|
|
|
static get logout => "$_baseUrl/MobileAuth/Logout";
|
|
|
|
|
static get checkLoginValidation => "$_baseUrl/Account/Authenticate"; // web login
|
|
|
|
|
static get checkAppVersion => "$_baseUrl/Account/CheckAppVersion"; // web login
|
|
|
|
|
//Reset Password Apis...
|
|
|
|
|
|