Commit 6fa49ad1 by Niladri

Updated Code

parent 216ba3ae
...@@ -18,16 +18,16 @@ android { ...@@ -18,16 +18,16 @@ android {
flavorDimensions "tier" flavorDimensions "tier"
signingConfigs { signingConfigs {
debug { debug {
keyAlias 'androiddebugkey' keyAlias 'vportal'
keyPassword 'android' keyPassword 'vportal'
storeFile file('/Users/chaukadev/.android/debug.keystore') storeFile file('vportal.jks')
storePassword 'android' storePassword 'vportal'
} }
config { config {
keyAlias 'Uofl' keyAlias 'vportal'
keyPassword 'Vsoft@123' keyPassword 'vportal'
storeFile file('/Users/apple/Desktop/uofl_builds/Uofl_keys') storeFile file('vportal.jks')
storePassword 'Vsoft@123' storePassword 'vportal'
} }
} }
...@@ -39,7 +39,7 @@ android { ...@@ -39,7 +39,7 @@ android {
minSdkVersion 15 minSdkVersion 15
targetSdkVersion 27 targetSdkVersion 27
versionCode 1 versionCode 1
versionName "0.0.33" versionName "0.0.1"
multiDexEnabled true multiDexEnabled true
} }
buildTypes { buildTypes {
......
...@@ -97,23 +97,23 @@ public class SyncService extends IntentService { ...@@ -97,23 +97,23 @@ public class SyncService extends IntentService {
if(Constants.DEBUG) CatalogueLog.d("startSync: result of syncing attachment "+i+": "+result); if(Constants.DEBUG) CatalogueLog.d("startSync: result of syncing attachment "+i+": "+result);
} }
/*Then we will work on dirty variable form*/ // /*Then we will work on dirty variable form*/
List<HRCaseItemInput> hrCaseItemInputList = HRCaseItemInputManager.getDirtyItemInput(); // List<HRCaseItemInput> hrCaseItemInputList = HRCaseItemInputManager.getDirtyItemInput();
if(Constants.DEBUG) CatalogueLog.d("startSync: HRCase form to sync: "+hrCaseItemInputList.size()); // if(Constants.DEBUG) CatalogueLog.d("startSync: HRCase form to sync: "+hrCaseItemInputList.size());
for (int i = 0; i < hrCaseItemInputList.size(); i++) { // for (int i = 0; i < hrCaseItemInputList.size(); i++) {
HRCaseItemInput hrCaseItemInput = hrCaseItemInputList.get(i); // HRCaseItemInput hrCaseItemInput = hrCaseItemInputList.get(i);
result = syncHRCaseVariableForm(hrCaseItemInput); // result = syncHRCaseVariableForm(hrCaseItemInput);
if(Constants.DEBUG) CatalogueLog.d("startSync: result of syncing hrCaseItemInput "+i+": "+result); // if(Constants.DEBUG) CatalogueLog.d("startSync: result of syncing hrCaseItemInput "+i+": "+result);
} // }
//
/*Then we will work on dirty HRCase attachment*/ // /*Then we will work on dirty HRCase attachment*/
List<HRCaseAttachment> hrCaseAttachmentList = HRCaseAttachmentManager.getDirtyHRCaseAttachment(); // List<HRCaseAttachment> hrCaseAttachmentList = HRCaseAttachmentManager.getDirtyHRCaseAttachment();
if(Constants.DEBUG) CatalogueLog.d("startSync: HRCaseAttachment to sync: "+hrCaseAttachmentList.size()); // if(Constants.DEBUG) CatalogueLog.d("startSync: HRCaseAttachment to sync: "+hrCaseAttachmentList.size());
for (int i = 0; i < hrCaseAttachmentList.size(); i++) { // for (int i = 0; i < hrCaseAttachmentList.size(); i++) {
HRCaseAttachment hrCaseAttachment = hrCaseAttachmentList.get(i); // HRCaseAttachment hrCaseAttachment = hrCaseAttachmentList.get(i);
result = syncHRCaseAttachment(hrCaseAttachment); // result = syncHRCaseAttachment(hrCaseAttachment);
if(Constants.DEBUG) CatalogueLog.d("startSync: result of syncing hrCaseAttachment "+i+": "+result); // if(Constants.DEBUG) CatalogueLog.d("startSync: result of syncing hrCaseAttachment "+i+": "+result);
} // }
/*Then we will work on dirty incident form*/ /*Then we will work on dirty incident form*/
List<Incident> incidentInputList = ReportIncidentValueManager.getDirtyIncident(); List<Incident> incidentInputList = ReportIncidentValueManager.getDirtyIncident();
......
...@@ -61,5 +61,5 @@ public class AppConfig { ...@@ -61,5 +61,5 @@ public class AppConfig {
* */ * */
public static final String CHAT_SERVER_URL_RELEASE = "http://111.93.6.218:12914/"; public static final String CHAT_SERVER_URL_RELEASE = "http://111.93.6.218:12914/";
public static final String CHAT_SERVER_URL_DEBUG = "http://111.93.6.218:12911/"; public static final String CHAT_SERVER_URL_DEBUG = "http://111.93.6.218:12911/";
public static final String CHAT_SERVER_URL_STAGING = "http://111.93.6.218:12912/"; public static final String CHAT_SERVER_URL_STAGING = "http://test.vera.ai.vsoftconsulting.com/";
} }
...@@ -36,25 +36,25 @@ public class MenuProvider { ...@@ -36,25 +36,25 @@ public class MenuProvider {
.setTitle(R.string.home_screen_report_incident_title) .setTitle(R.string.home_screen_report_incident_title)
.setMenuIconResId(R.string.home_screen_my_request_icon) .setMenuIconResId(R.string.home_screen_my_request_icon)
.build(), .build(),
new CreateHRCaseMenuItemData.Builder() // new CreateHRCaseMenuItemData.Builder()
.setTitle(R.string.home_screen_create_hr_case_title) // .setTitle(R.string.home_screen_create_hr_case_title)
.setMenuIconResId(R.string.home_screen_create_hr_case_icon) // .setMenuIconResId(R.string.home_screen_create_hr_case_icon)
.build(), // .build(),
new ViewHRCaseMenuItemData.Builder() // new ViewHRCaseMenuItemData.Builder()
.setTitle(R.string.home_screen_view_hr_case_title) // .setTitle(R.string.home_screen_view_hr_case_title)
.setMenuIconResId(R.string.home_screen_view_hr_case_icon) // .setMenuIconResId(R.string.home_screen_view_hr_case_icon)
.build(), // .build(),
new ChatMenuItemData.Builder() new ChatMenuItemData.Builder()
.setTitle(R.string.home_screen_chat_title) .setTitle(R.string.home_screen_chat_title)
.setMenuIconResId(R.string.home_screen_chat_icon) .setMenuIconResId(R.string.home_screen_chat_icon)
.build(),
new NotificationMenuItemData.Builder()
.setTitle(R.string.home_screen_notification_title)
.setMenuIconResId(R.string.home_screen_notification_icon)
.build(),
new ApprovalsMenuItemData.Builder()
.setTitle(R.string.home_screen_approvals_title)
.setMenuIconResId(R.string.home_screen_approvals_icon)
.build() .build()
// new NotificationMenuItemData.Builder()
// .setTitle(R.string.home_screen_notification_title)
// .setMenuIconResId(R.string.home_screen_notification_icon)
// .build(),
// new ApprovalsMenuItemData.Builder()
// .setTitle(R.string.home_screen_approvals_title)
// .setMenuIconResId(R.string.home_screen_approvals_icon)
// .build()
); );
} }
\ No newline at end of file
No preview for this file type
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment