Commit 6fa49ad1 by Niladri

Updated Code

parent 216ba3ae
......@@ -18,16 +18,16 @@ android {
flavorDimensions "tier"
signingConfigs {
debug {
keyAlias 'androiddebugkey'
keyPassword 'android'
storeFile file('/Users/chaukadev/.android/debug.keystore')
storePassword 'android'
keyAlias 'vportal'
keyPassword 'vportal'
storeFile file('vportal.jks')
storePassword 'vportal'
}
config {
keyAlias 'Uofl'
keyPassword 'Vsoft@123'
storeFile file('/Users/apple/Desktop/uofl_builds/Uofl_keys')
storePassword 'Vsoft@123'
keyAlias 'vportal'
keyPassword 'vportal'
storeFile file('vportal.jks')
storePassword 'vportal'
}
}
......@@ -39,7 +39,7 @@ android {
minSdkVersion 15
targetSdkVersion 27
versionCode 1
versionName "0.0.33"
versionName "0.0.1"
multiDexEnabled true
}
buildTypes {
......
......@@ -97,23 +97,23 @@ public class SyncService extends IntentService {
if(Constants.DEBUG) CatalogueLog.d("startSync: result of syncing attachment "+i+": "+result);
}
/*Then we will work on dirty variable form*/
List<HRCaseItemInput> hrCaseItemInputList = HRCaseItemInputManager.getDirtyItemInput();
if(Constants.DEBUG) CatalogueLog.d("startSync: HRCase form to sync: "+hrCaseItemInputList.size());
for (int i = 0; i < hrCaseItemInputList.size(); i++) {
HRCaseItemInput hrCaseItemInput = hrCaseItemInputList.get(i);
result = syncHRCaseVariableForm(hrCaseItemInput);
if(Constants.DEBUG) CatalogueLog.d("startSync: result of syncing hrCaseItemInput "+i+": "+result);
}
/*Then we will work on dirty HRCase attachment*/
List<HRCaseAttachment> hrCaseAttachmentList = HRCaseAttachmentManager.getDirtyHRCaseAttachment();
if(Constants.DEBUG) CatalogueLog.d("startSync: HRCaseAttachment to sync: "+hrCaseAttachmentList.size());
for (int i = 0; i < hrCaseAttachmentList.size(); i++) {
HRCaseAttachment hrCaseAttachment = hrCaseAttachmentList.get(i);
result = syncHRCaseAttachment(hrCaseAttachment);
if(Constants.DEBUG) CatalogueLog.d("startSync: result of syncing hrCaseAttachment "+i+": "+result);
}
// /*Then we will work on dirty variable form*/
// List<HRCaseItemInput> hrCaseItemInputList = HRCaseItemInputManager.getDirtyItemInput();
// if(Constants.DEBUG) CatalogueLog.d("startSync: HRCase form to sync: "+hrCaseItemInputList.size());
// for (int i = 0; i < hrCaseItemInputList.size(); i++) {
// HRCaseItemInput hrCaseItemInput = hrCaseItemInputList.get(i);
// result = syncHRCaseVariableForm(hrCaseItemInput);
// if(Constants.DEBUG) CatalogueLog.d("startSync: result of syncing hrCaseItemInput "+i+": "+result);
// }
//
// /*Then we will work on dirty HRCase attachment*/
// List<HRCaseAttachment> hrCaseAttachmentList = HRCaseAttachmentManager.getDirtyHRCaseAttachment();
// if(Constants.DEBUG) CatalogueLog.d("startSync: HRCaseAttachment to sync: "+hrCaseAttachmentList.size());
// for (int i = 0; i < hrCaseAttachmentList.size(); i++) {
// HRCaseAttachment hrCaseAttachment = hrCaseAttachmentList.get(i);
// result = syncHRCaseAttachment(hrCaseAttachment);
// if(Constants.DEBUG) CatalogueLog.d("startSync: result of syncing hrCaseAttachment "+i+": "+result);
// }
/*Then we will work on dirty incident form*/
List<Incident> incidentInputList = ReportIncidentValueManager.getDirtyIncident();
......
......@@ -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_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 {
.setTitle(R.string.home_screen_report_incident_title)
.setMenuIconResId(R.string.home_screen_my_request_icon)
.build(),
new CreateHRCaseMenuItemData.Builder()
.setTitle(R.string.home_screen_create_hr_case_title)
.setMenuIconResId(R.string.home_screen_create_hr_case_icon)
.build(),
new ViewHRCaseMenuItemData.Builder()
.setTitle(R.string.home_screen_view_hr_case_title)
.setMenuIconResId(R.string.home_screen_view_hr_case_icon)
.build(),
// new CreateHRCaseMenuItemData.Builder()
// .setTitle(R.string.home_screen_create_hr_case_title)
// .setMenuIconResId(R.string.home_screen_create_hr_case_icon)
// .build(),
// new ViewHRCaseMenuItemData.Builder()
// .setTitle(R.string.home_screen_view_hr_case_title)
// .setMenuIconResId(R.string.home_screen_view_hr_case_icon)
// .build(),
new ChatMenuItemData.Builder()
.setTitle(R.string.home_screen_chat_title)
.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()
// 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