diff --git a/AuthKey_67L2G322GR.p8 b/AuthKey_67L2G322GR.p8
new file mode 100644
index 0000000..eddd4c6
--- /dev/null
+++ b/AuthKey_67L2G322GR.p8
@@ -0,0 +1,6 @@
+-----BEGIN PRIVATE KEY-----
+MIGTAgEAMBMGByqGSM49AgEGCCqGSM49AwEHBHkwdwIBAQQg+oBl9YdOiMRXfQZe
+nIe6tR1tojoOvvcohNJmJtH+SsagCgYIKoZIzj0DAQehRANCAATDY9E82MAgMI/g
+bKF1t4zLHJ1Yt9uoOnedNYsfyZLhh3l3ZyXRj02uDXz04AsNbNFjkLJXPc4xY9ad
++A4rY70x
+-----END PRIVATE KEY-----
\ No newline at end of file
diff --git a/android/build.gradle b/android/build.gradle
index 7991b9d..dc67123 100644
--- a/android/build.gradle
+++ b/android/build.gradle
@@ -1,5 +1,5 @@
buildscript {
- ext.kotlin_version = '1.6.0'
+ ext.kotlin_version = '1.7.20'
repositories {
google()
mavenCentral()
diff --git a/android/gradle/wrapper/gradle-wrapper.properties b/android/gradle/wrapper/gradle-wrapper.properties
index ed1a787..2f8758c 100644
--- a/android/gradle/wrapper/gradle-wrapper.properties
+++ b/android/gradle/wrapper/gradle-wrapper.properties
@@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
-distributionUrl=https\://services.gradle.org/distributions/gradle-7.0.2-bin.zip
+distributionUrl=https\://services.gradle.org/distributions/gradle-7.3.3-bin.zip
\ No newline at end of file
diff --git a/assets/images/cancel_button.svg b/assets/images/cancel_button.svg
new file mode 100644
index 0000000..2aba62a
--- /dev/null
+++ b/assets/images/cancel_button.svg
@@ -0,0 +1,9 @@
+
diff --git a/assets/images/document.svg b/assets/images/document.svg
new file mode 100644
index 0000000..ca0e83f
--- /dev/null
+++ b/assets/images/document.svg
@@ -0,0 +1,4 @@
+
diff --git a/assets/langs/ar-SA.json b/assets/langs/ar-SA.json
index b2e0ed8..3a4cd96 100644
--- a/assets/langs/ar-SA.json
+++ b/assets/langs/ar-SA.json
@@ -532,5 +532,13 @@
"connectHmgWifi": "قم بتوصيل HMG WIFI",
"connectedHmgWifi": "اتصال HMG WIFI",
"itgForms": "نماذج (ITG)",
- "resetAdPassword": "إعادة تعيين كلمة مرور AD"
+ "resetAdPassword": "إعادة تعيين كلمة مرور AD",
+ "myDocuments": "مستنداتي",
+ "requiredDocuments": "المستندات المطلوبة",
+ "optionalDocuments": "المستندات الاختيارية",
+ "allDocuments": "كافة المستندات",
+ "expiredDocuments": "المستندات منتهية الصلاحية",
+ "missingDocuments": "مستندات مفقودة",
+ "uploadedDocuments": "المستندات التي تم تحميلها",
+ "addAtLeastOneAttachment": "الرجاء إضافة مرفق واحد على الأقل."
}
\ No newline at end of file
diff --git a/assets/langs/en-US.json b/assets/langs/en-US.json
index 1ecfa3e..02bcd94 100644
--- a/assets/langs/en-US.json
+++ b/assets/langs/en-US.json
@@ -471,7 +471,7 @@
"gameTime": "Game Time:",
"joinMarathon": "Join Marathon",
"joinDemoMarathon": "Join Demo Marathon",
- "demo":"Demo",
+ "demo": "Demo",
"minutes": "Minutes",
"seconds": "Seconds",
"note": "Note:",
@@ -532,6 +532,14 @@
"connectHmgWifi": "Connect HMG WIFI",
"connectedHmgWifi": "Connected HMG WIFI",
"itgForms": "ITG Forms",
+ "resetAdPassword": "Reset AD Password",
+ "myDocuments": "My Documents",
+ "requiredDocuments": "Required Documents",
+ "optionalDocuments": "Optional Documents",
+ "allDocuments": "All\nDocuments",
+ "expiredDocuments": "Expired\nDocuments",
+ "missingDocuments": "Missing\nDocuments",
+ "uploadedDocuments": "Uploaded\nDocuments"
"resetAdPassword": "Reset AD Password"
"manage": "Manage",
"members": "Members",
@@ -551,5 +559,6 @@
"searchByUserName": "Search By Username",
"userSearch": "User Search",
"userName": "User Name",
- "userId": "UserID"
+ "userId": "UserID",
+ "addAtLeastOneAttachment": "Please add at least one attachment."
}
\ No newline at end of file
diff --git a/ios/Runner.xcodeproj/project.pbxproj b/ios/Runner.xcodeproj/project.pbxproj
index 07157bb..073c15f 100644
--- a/ios/Runner.xcodeproj/project.pbxproj
+++ b/ios/Runner.xcodeproj/project.pbxproj
@@ -3,7 +3,7 @@
archiveVersion = 1;
classes = {
};
- objectVersion = 51;
+ objectVersion = 54;
objects = {
/* Begin PBXBuildFile section */
@@ -227,6 +227,7 @@
};
3B06AD1E1E4923F5004D2608 /* Thin Binary */ = {
isa = PBXShellScriptBuildPhase;
+ alwaysOutOfDate = 1;
buildActionMask = 2147483647;
files = (
);
@@ -241,6 +242,7 @@
};
9740EEB61CF901F6004384FC /* Run Script */ = {
isa = PBXShellScriptBuildPhase;
+ alwaysOutOfDate = 1;
buildActionMask = 2147483647;
files = (
);
@@ -364,17 +366,18 @@
CODE_SIGN_ENTITLEMENTS = Runner/Runner.entitlements;
CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_STYLE = Automatic;
- CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";
+ CURRENT_PROJECT_VERSION = 1;
DEVELOPMENT_TEAM = 99Z3UD3LJM;
ENABLE_BITCODE = NO;
INFOPLIST_FILE = Runner/Info.plist;
INFOPLIST_KEY_CFBundleDisplayName = Mohemm;
- IPHONEOS_DEPLOYMENT_TARGET = 12.0;
+ IPHONEOS_DEPLOYMENT_TARGET = 13.0;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
);
- PRODUCT_BUNDLE_IDENTIFIER = com.cloudsolutions.mohemmtest;
+ MARKETING_VERSION = 3.7.2;
+ PRODUCT_BUNDLE_IDENTIFIER = com.cloudsolutions.mohemm;
PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE_SPECIFIER = "";
SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
@@ -501,17 +504,18 @@
CODE_SIGN_ENTITLEMENTS = Runner/Runner.entitlements;
CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_STYLE = Automatic;
- CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";
+ CURRENT_PROJECT_VERSION = 1;
DEVELOPMENT_TEAM = 99Z3UD3LJM;
ENABLE_BITCODE = NO;
INFOPLIST_FILE = Runner/Info.plist;
INFOPLIST_KEY_CFBundleDisplayName = Mohemm;
- IPHONEOS_DEPLOYMENT_TARGET = 12.0;
+ IPHONEOS_DEPLOYMENT_TARGET = 13.0;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
);
- PRODUCT_BUNDLE_IDENTIFIER = com.cloudsolutions.mohemmtest;
+ MARKETING_VERSION = 3.7.2;
+ PRODUCT_BUNDLE_IDENTIFIER = com.cloudsolutions.mohemm;
PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE_SPECIFIER = "";
SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
@@ -530,17 +534,18 @@
CODE_SIGN_ENTITLEMENTS = Runner/Runner.entitlements;
CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_STYLE = Automatic;
- CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";
+ CURRENT_PROJECT_VERSION = 1;
DEVELOPMENT_TEAM = 99Z3UD3LJM;
ENABLE_BITCODE = NO;
INFOPLIST_FILE = Runner/Info.plist;
INFOPLIST_KEY_CFBundleDisplayName = Mohemm;
- IPHONEOS_DEPLOYMENT_TARGET = 12.0;
+ IPHONEOS_DEPLOYMENT_TARGET = 13.0;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
);
- PRODUCT_BUNDLE_IDENTIFIER = com.cloudsolutions.mohemmtest;
+ MARKETING_VERSION = 3.7.2;
+ PRODUCT_BUNDLE_IDENTIFIER = com.cloudsolutions.mohemm;
PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE_SPECIFIER = "";
SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
diff --git a/ios/Runner/Info.plist b/ios/Runner/Info.plist
index 75c680b..cb62b88 100644
--- a/ios/Runner/Info.plist
+++ b/ios/Runner/Info.plist
@@ -2,15 +2,6 @@
- NSAppTransportSecurity
-
- NSAllowsArbitraryLoads
-
- NSAllowsArbitraryLoadsForMedia
-
- NSAllowsArbitraryLoadsInWebContent
-
-
CADisableMinimumFrameDurationOnPhone
CFBundleDevelopmentRegion
@@ -31,6 +22,10 @@
????
CFBundleVersion
$(FLUTTER_BUILD_NUMBER)
+ FirebaseAppDelegateProxyEnabled
+
+ ITSAppUsesNonExemptEncryption
+
LSApplicationQueriesSchemes
sms
@@ -41,6 +36,15 @@
NFCReaderUsageDescription
This App requires access to NFC to mark your attendance.
+ NSAppTransportSecurity
+
+ NSAllowsArbitraryLoads
+
+ NSAllowsArbitraryLoadsForMedia
+
+ NSAllowsArbitraryLoadsInWebContent
+
+
NSCameraUsageDescription
This app requires camera access to capture & upload picture as profile image.
NSFaceIDUsageDescription
@@ -51,17 +55,17 @@
This App requires access to your location to mark your attendance.
NSLocationWhenInUseUsageDescription
This App requires access to your location to mark your attendance.
- NSPhotoLibraryUsageDescription
- This app requires photo library access to select image as document & upload it.
NSMicrophoneUsageDescription
This app requires microphone access to for call.
+ NSPhotoLibraryUsageDescription
+ This app requires photo library access to select image as document & upload it.
+ UIApplicationSupportsIndirectInputEvents
+
UIBackgroundModes
fetch
remote-notification
- FirebaseAppDelegateProxyEnabled
-
UILaunchStoryboardName
LaunchScreen
UIMainStoryboardFile
@@ -85,8 +89,6 @@
0000
- ITSAppUsesNonExemptEncryption
-
com.apple.developer.nfc.readersession.formats
TAG
diff --git a/lib/api/dashboard_api_client.dart b/lib/api/dashboard_api_client.dart
index dfa4801..77cc37d 100644
--- a/lib/api/dashboard_api_client.dart
+++ b/lib/api/dashboard_api_client.dart
@@ -201,13 +201,15 @@ class DashboardApiClient {
}, url, postParams);
}
- Future setAdvertisementViewed(String masterID, int advertisementId) async {
+ Future setAdvertisementViewed(String masterID, int advertisementId, String? ackValue) async {
String url = "${ApiConsts.cocRest}Mohemm_ITG_UpdateAdvertisementAsViewed";
Map postParams = {
"ItgNotificationMasterId": masterID,
"EmployeeNumber": AppState().memberInformationList!.eMPLOYEENUMBER.toString(),
- "ItgAdvertisement": {"advertisementId": advertisementId, "acknowledgment": true} //Mobile Id
+ "ItgAdvertisementId": advertisementId,
+ "ItgAcknowledgment": ackValue,
+ // "ItgAdvertisement": {"ItgAdvertisementId": advertisementId, "ItgAcknowledgment": ackValue} //Mobile Id
};
postParams.addAll(AppState().postParamsJson);
return await ApiClient().postJsonForObject((json) {
diff --git a/lib/api/my_requests_api_client.dart b/lib/api/my_requests_api_client.dart
index c9507b9..96eafa5 100644
--- a/lib/api/my_requests_api_client.dart
+++ b/lib/api/my_requests_api_client.dart
@@ -60,7 +60,7 @@ class MyRequestsApiClient {
}, url, postParams);
}
- Future getSubmitNewRequest(List