@os1-platform/dispatch-mobile 3.1.9 → 3.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +0 -2
- package/android/.gradle/8.13/checksums/checksums.lock +0 -0
- package/android/.gradle/8.13/checksums/md5-checksums.bin +0 -0
- package/android/.gradle/8.13/checksums/sha1-checksums.bin +0 -0
- package/android/.gradle/8.13/executionHistory/executionHistory.lock +0 -0
- package/android/.gradle/{8.10.2 → 8.13}/fileHashes/fileHashes.bin +0 -0
- package/android/.gradle/8.13/fileHashes/fileHashes.lock +0 -0
- package/android/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
- package/android/.gradle/buildOutputCleanup/cache.properties +2 -2
- package/android/.idea/caches/deviceStreaming.xml +218 -12
- package/android/build.gradle +14 -15
- package/android/gradle.properties +9 -4
- package/android/src/main/AndroidManifest.xml +4 -1
- package/android/src/main/java/com/dispatchsdk/location/LocationModule.kt +3 -3
- package/android/src/main/java/com/dispatchsdk/sync/SyncEventService.kt +2 -3
- package/android/src/main/java/com/dispatchsdk/utils/DispatchSdkUtils.kt +27 -11
- package/babel.config.js +1 -1
- package/dispatch-mobile.podspec +1 -1
- package/lib/commonjs/analytics/sentry/SentryAnalyticsUtils.js +1 -2
- package/lib/commonjs/analytics/sentry/SentryAnalyticsUtils.js.map +1 -1
- package/lib/commonjs/analytics/sentry/SentrySdkConstants.js +4 -0
- package/lib/commonjs/analytics/sentry/SentrySdkConstants.js.map +1 -1
- package/lib/commonjs/components/dispatch/DispatchExecNavigator.js +1 -2
- package/lib/commonjs/components/dispatch/DispatchExecNavigator.js.map +1 -1
- package/lib/commonjs/components/executiontasks/cancellation/CancelET.js +4 -5
- package/lib/commonjs/components/executiontasks/cancellation/CancelET.js.map +1 -1
- package/lib/commonjs/components/executiontasks/captureInput/CaptureText.js +5 -6
- package/lib/commonjs/components/executiontasks/captureInput/CaptureText.js.map +1 -1
- package/lib/commonjs/components/executiontasks/collectPayment/CollectPayment.js +1 -2
- package/lib/commonjs/components/executiontasks/collectPayment/CollectPayment.js.map +1 -1
- package/lib/commonjs/components/executiontasks/collectPayment/PaymentUtils.js +1 -2
- package/lib/commonjs/components/executiontasks/collectPayment/PaymentUtils.js.map +1 -1
- package/lib/commonjs/components/executiontasks/collectPayment/components/CompletePayment.js +3 -4
- package/lib/commonjs/components/executiontasks/collectPayment/components/CompletePayment.js.map +1 -1
- package/lib/commonjs/components/executiontasks/collectPayment/components/InitPayment.js +5 -9
- package/lib/commonjs/components/executiontasks/collectPayment/components/InitPayment.js.map +1 -1
- package/lib/commonjs/components/executiontasks/collectPayment/components/PaymentContactDetails.js +8 -9
- package/lib/commonjs/components/executiontasks/collectPayment/components/PaymentContactDetails.js.map +1 -1
- package/lib/commonjs/components/executiontasks/collectPayment/components/ProcessPayment.js +24 -25
- package/lib/commonjs/components/executiontasks/collectPayment/components/ProcessPayment.js.map +1 -1
- package/lib/commonjs/components/executiontasks/deliver/DeliverET.js +1 -2
- package/lib/commonjs/components/executiontasks/deliver/DeliverET.js.map +1 -1
- package/lib/commonjs/components/executiontasks/deliver/SLDeliverET.js +5 -6
- package/lib/commonjs/components/executiontasks/deliver/SLDeliverET.js.map +1 -1
- package/lib/commonjs/components/executiontasks/display/DisplayModalET.js +1 -2
- package/lib/commonjs/components/executiontasks/display/DisplayModalET.js.map +1 -1
- package/lib/commonjs/components/executiontasks/doodle/SignatureET.js +6 -7
- package/lib/commonjs/components/executiontasks/doodle/SignatureET.js.map +1 -1
- package/lib/commonjs/components/executiontasks/dropCash/DropCashET.js +1 -2
- package/lib/commonjs/components/executiontasks/dropCash/DropCashET.js.map +1 -1
- package/lib/commonjs/components/executiontasks/dropCash/SLDropCash.js +5 -6
- package/lib/commonjs/components/executiontasks/dropCash/SLDropCash.js.map +1 -1
- package/lib/commonjs/components/executiontasks/forms/FormGenerator.js +13 -35
- package/lib/commonjs/components/executiontasks/forms/FormGenerator.js.map +1 -1
- package/lib/commonjs/components/executiontasks/forms/widgets/DateTimeWidget.js +1 -2
- package/lib/commonjs/components/executiontasks/forms/widgets/DateTimeWidget.js.map +1 -1
- package/lib/commonjs/components/executiontasks/forms/widgets/DropdownWidget.js +1 -2
- package/lib/commonjs/components/executiontasks/forms/widgets/DropdownWidget.js.map +1 -1
- package/lib/commonjs/components/executiontasks/forms/widgets/QRBarcodeScannerWidget.js +4 -5
- package/lib/commonjs/components/executiontasks/forms/widgets/QRBarcodeScannerWidget.js.map +1 -1
- package/lib/commonjs/components/executiontasks/forms/widgets/TimeRangeSelector.js +1 -2
- package/lib/commonjs/components/executiontasks/forms/widgets/TimeRangeSelector.js.map +1 -1
- package/lib/commonjs/components/executiontasks/httpRequest/HttpRequestET.js +1 -2
- package/lib/commonjs/components/executiontasks/httpRequest/HttpRequestET.js.map +1 -1
- package/lib/commonjs/components/executiontasks/imageCapture/CaptureUtils.js +1 -2
- package/lib/commonjs/components/executiontasks/imageCapture/CaptureUtils.js.map +1 -1
- package/lib/commonjs/components/executiontasks/imageCapture/ImageCapture.js +5 -6
- package/lib/commonjs/components/executiontasks/imageCapture/ImageCapture.js.map +1 -1
- package/lib/commonjs/components/executiontasks/payments/completePayment/CompletePaymentET.js +5 -6
- package/lib/commonjs/components/executiontasks/payments/completePayment/CompletePaymentET.js.map +1 -1
- package/lib/commonjs/components/executiontasks/payments/init/InitPaymentET.js +5 -6
- package/lib/commonjs/components/executiontasks/payments/init/InitPaymentET.js.map +1 -1
- package/lib/commonjs/components/executiontasks/payments/processPayment/ProcessPaymentET.js +5 -6
- package/lib/commonjs/components/executiontasks/payments/processPayment/ProcessPaymentET.js.map +1 -1
- package/lib/commonjs/components/executiontasks/pickup/PickupET.js +1 -2
- package/lib/commonjs/components/executiontasks/pickup/PickupET.js.map +1 -1
- package/lib/commonjs/components/executiontasks/pickup/SLPickupET.js +5 -6
- package/lib/commonjs/components/executiontasks/pickup/SLPickupET.js.map +1 -1
- package/lib/commonjs/components/executiontasks/scan/ScanET.js +8 -9
- package/lib/commonjs/components/executiontasks/scan/ScanET.js.map +1 -1
- package/lib/commonjs/components/executiontasks/scan/interfaces.js +17 -1
- package/lib/commonjs/components/executiontasks/scan/interfaces.js.map +1 -1
- package/lib/commonjs/components/executiontasks/scan/sub_components/CScanner.js +5 -6
- package/lib/commonjs/components/executiontasks/scan/sub_components/CScanner.js.map +1 -1
- package/lib/commonjs/components/executiontasks/scan/sub_components/DropDownUtils.js +1 -1
- package/lib/commonjs/components/executiontasks/scan/sub_components/DropDownUtils.js.map +1 -1
- package/lib/commonjs/components/executiontasks/scan/sub_components/ERDropDown.js +1 -2
- package/lib/commonjs/components/executiontasks/scan/sub_components/ERDropDown.js.map +1 -1
- package/lib/commonjs/components/executiontasks/scan/sub_components/SummaryPage.js +6 -6
- package/lib/commonjs/components/executiontasks/scan/sub_components/SummaryPage.js.map +1 -1
- package/lib/commonjs/components/executiontasks/scan/utils.js +13 -15
- package/lib/commonjs/components/executiontasks/scan/utils.js.map +1 -1
- package/lib/commonjs/components/executiontasks/validateOTP/ValidateOTPET.js +1 -2
- package/lib/commonjs/components/executiontasks/validateOTP/ValidateOTPET.js.map +1 -1
- package/lib/commonjs/components/executiontasks/validateOTP/ValidateOTPSchema.js.map +1 -1
- package/lib/commonjs/components/executiontasks/validateOTP/components/ContactListView.js +5 -7
- package/lib/commonjs/components/executiontasks/validateOTP/components/ContactListView.js.map +1 -1
- package/lib/commonjs/components/executiontasks/validateOTP/components/OTPView.js +5 -6
- package/lib/commonjs/components/executiontasks/validateOTP/components/OTPView.js.map +1 -1
- package/lib/commonjs/components/executiontasks/validateOTP/components/VerificationComplete.js +8 -11
- package/lib/commonjs/components/executiontasks/validateOTP/components/VerificationComplete.js.map +1 -1
- package/lib/commonjs/components/executiontasks/validateOTP/sub-components/OTPInput.js +1 -2
- package/lib/commonjs/components/executiontasks/validateOTP/sub-components/OTPInput.js.map +1 -1
- package/lib/commonjs/components/executiontasks/validateOTP/utils.js +1 -2
- package/lib/commonjs/components/executiontasks/validateOTP/utils.js.map +1 -1
- package/lib/commonjs/components/executiontasks/verifyLocation/GeofenceUtils.js +1 -2
- package/lib/commonjs/components/executiontasks/verifyLocation/GeofenceUtils.js.map +1 -1
- package/lib/commonjs/components/executiontasks/verifyLocation/VerifyLocationET.js +1 -2
- package/lib/commonjs/components/executiontasks/verifyLocation/VerifyLocationET.js.map +1 -1
- package/lib/commonjs/components/executiontasks/verifyOtp/VerifyOtpET.js +7 -12
- package/lib/commonjs/components/executiontasks/verifyOtp/VerifyOtpET.js.map +1 -1
- package/lib/commonjs/components/widgets/AlertDisplay.js +1 -2
- package/lib/commonjs/components/widgets/AlertDisplay.js.map +1 -1
- package/lib/commonjs/components/widgets/CancelOrderDialog.js +3 -4
- package/lib/commonjs/components/widgets/CancelOrderDialog.js.map +1 -1
- package/lib/commonjs/components/widgets/Card.js +2 -2
- package/lib/commonjs/components/widgets/Card.js.map +1 -1
- package/lib/commonjs/components/widgets/SearchBar.js +4 -3
- package/lib/commonjs/components/widgets/SearchBar.js.map +1 -1
- package/lib/commonjs/components/widgets/SnackBarCustom.js +12 -15
- package/lib/commonjs/components/widgets/SnackBarCustom.js.map +1 -1
- package/lib/commonjs/components/widgets/SplitTextInput.js +2 -3
- package/lib/commonjs/components/widgets/SplitTextInput.js.map +1 -1
- package/lib/commonjs/components/widgets/TabsComponent.js +1 -2
- package/lib/commonjs/components/widgets/TabsComponent.js.map +1 -1
- package/lib/commonjs/components/widgets/Timer.js +1 -2
- package/lib/commonjs/components/widgets/Timer.js.map +1 -1
- package/lib/commonjs/database/DBManager.js +112 -0
- package/lib/commonjs/database/DBManager.js.map +1 -0
- package/lib/commonjs/database/dbUpdate.json +6 -0
- package/lib/commonjs/index.js +1 -2
- package/lib/commonjs/index.js.map +1 -1
- package/lib/commonjs/manager/dispatch/DispatchStateContainer.js +1 -2
- package/lib/commonjs/manager/dispatch/DispatchStateContainer.js.map +1 -1
- package/lib/commonjs/manager/dispatchCodes/EventCodeRepo.js +8 -9
- package/lib/commonjs/manager/dispatchCodes/EventCodeRepo.js.map +1 -1
- package/lib/commonjs/manager/dispatchCodes/ReasonCodeContainer.js +5 -6
- package/lib/commonjs/manager/dispatchCodes/ReasonCodeContainer.js.map +1 -1
- package/lib/commonjs/manager/dispatchCodes/ReasonCodeRepo.js +13 -10
- package/lib/commonjs/manager/dispatchCodes/ReasonCodeRepo.js.map +1 -1
- package/lib/commonjs/manager/location/LocationManager.js +0 -4
- package/lib/commonjs/manager/location/LocationManager.js.map +1 -1
- package/lib/commonjs/manager/sdk/DispatchSDKManager.js +8 -3
- package/lib/commonjs/manager/sdk/DispatchSDKManager.js.map +1 -1
- package/lib/commonjs/manager/sdk/callbacksHandler.js +1 -1
- package/lib/commonjs/manager/sdk/callbacksHandler.js.map +1 -1
- package/lib/commonjs/manager/syncmanager/AppSyncManager.js +1 -2
- package/lib/commonjs/manager/syncmanager/AppSyncManager.js.map +1 -1
- package/lib/commonjs/manager/syncmanager/DBConfig.js +6 -2
- package/lib/commonjs/manager/syncmanager/DBConfig.js.map +1 -1
- package/lib/commonjs/manager/syncmanager/database.js +118 -47
- package/lib/commonjs/manager/syncmanager/database.js.map +1 -1
- package/lib/commonjs/manager/syncmanager/document/DocumentHttpClient.js +1 -2
- package/lib/commonjs/manager/syncmanager/document/DocumentHttpClient.js.map +1 -1
- package/lib/commonjs/manager/syncmanager/document/DocumentManager.js +17 -22
- package/lib/commonjs/manager/syncmanager/document/DocumentManager.js.map +1 -1
- package/lib/commonjs/manager/syncmanager/document/DocumentSyncManager.js +86 -77
- package/lib/commonjs/manager/syncmanager/document/DocumentSyncManager.js.map +1 -1
- package/lib/commonjs/manager/syncmanager/events/ETEventsManager.js +25 -28
- package/lib/commonjs/manager/syncmanager/events/ETEventsManager.js.map +1 -1
- package/lib/commonjs/manager/syncmanager/events/EventsSyncManager.js +1 -2
- package/lib/commonjs/manager/syncmanager/events/EventsSyncManager.js.map +1 -1
- package/lib/commonjs/manager/syncmanager/events/SyncHttpClient.js +1 -2
- package/lib/commonjs/manager/syncmanager/events/SyncHttpClient.js.map +1 -1
- package/lib/commonjs/models/execTasks/ETConfig.js +1 -0
- package/lib/commonjs/models/execTasks/ETConfig.js.map +1 -1
- package/lib/commonjs/models/sdk.js.map +1 -1
- package/lib/commonjs/native/signature/SignatureCapture.js +2 -2
- package/lib/commonjs/native/signature/SignatureCapture.js.map +1 -1
- package/lib/commonjs/network/client.js.map +1 -1
- package/lib/commonjs/styles/executionTasks/CommonStyles.js +1 -2
- package/lib/commonjs/styles/executionTasks/CommonStyles.js.map +1 -1
- package/lib/commonjs/ui/screens/CancellationScreen.js +1 -2
- package/lib/commonjs/ui/screens/CancellationScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/CaptureInputScreen.js +1 -2
- package/lib/commonjs/ui/screens/CaptureInputScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/CollectPaymentScreen.js +1 -2
- package/lib/commonjs/ui/screens/CollectPaymentScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/CompleteObjectiveScreen.js +1 -2
- package/lib/commonjs/ui/screens/CompleteObjectiveScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/DeliverScreen.js +1 -2
- package/lib/commonjs/ui/screens/DeliverScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/DisplayScreen.js +1 -2
- package/lib/commonjs/ui/screens/DisplayScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/DoodleScreen.js +1 -2
- package/lib/commonjs/ui/screens/DoodleScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/DropCashScreen.js +1 -2
- package/lib/commonjs/ui/screens/DropCashScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/FormsScreen.js +1 -2
- package/lib/commonjs/ui/screens/FormsScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/GeofenceScreen.js +1 -2
- package/lib/commonjs/ui/screens/GeofenceScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/ImageCaptureScreen.js +1 -2
- package/lib/commonjs/ui/screens/ImageCaptureScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/PaymentScreen.js +1 -2
- package/lib/commonjs/ui/screens/PaymentScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/PickupScreen.js +1 -2
- package/lib/commonjs/ui/screens/PickupScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/ScanScreen.js +1 -2
- package/lib/commonjs/ui/screens/ScanScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/StartWorkFlowScreen.js +1 -2
- package/lib/commonjs/ui/screens/StartWorkFlowScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/ValidateOTPScreen.js +1 -2
- package/lib/commonjs/ui/screens/ValidateOTPScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/WithBaseDispatchScreen.js +1 -2
- package/lib/commonjs/ui/screens/WithBaseDispatchScreen.js.map +1 -1
- package/lib/commonjs/utils/Constants.js.map +1 -1
- package/lib/commonjs/utils/Logger.js +1 -1
- package/lib/commonjs/utils/Logger.js.map +1 -1
- package/lib/commonjs/utils/SdkUtils.js +6 -5
- package/lib/commonjs/utils/SdkUtils.js.map +1 -1
- package/lib/commonjs/utils/SyncManagerUtils.js +3 -2
- package/lib/commonjs/utils/SyncManagerUtils.js.map +1 -1
- package/lib/commonjs/utils/fcm/FCM.js +1 -2
- package/lib/commonjs/utils/fcm/FCM.js.map +1 -1
- package/lib/commonjs/utils/fcm/FcmUtils.js +1 -2
- package/lib/commonjs/utils/fcm/FcmUtils.js.map +1 -1
- package/lib/commonjs/utils/hooks/useModal.js +1 -2
- package/lib/commonjs/utils/hooks/useModal.js.map +1 -1
- package/lib/commonjs/utils/storage.js +1 -2
- package/lib/commonjs/utils/storage.js.map +1 -1
- package/lib/module/analytics/sentry/SentrySdkConstants.js +4 -0
- package/lib/module/analytics/sentry/SentrySdkConstants.js.map +1 -1
- package/lib/module/components/executiontasks/cancellation/CancelET.js +1 -1
- package/lib/module/components/executiontasks/cancellation/CancelET.js.map +1 -1
- package/lib/module/components/executiontasks/captureInput/CaptureText.js +3 -3
- package/lib/module/components/executiontasks/captureInput/CaptureText.js.map +1 -1
- package/lib/module/components/executiontasks/collectPayment/components/CompletePayment.js +2 -2
- package/lib/module/components/executiontasks/collectPayment/components/CompletePayment.js.map +1 -1
- package/lib/module/components/executiontasks/collectPayment/components/InitPayment.js +3 -6
- package/lib/module/components/executiontasks/collectPayment/components/InitPayment.js.map +1 -1
- package/lib/module/components/executiontasks/collectPayment/components/PaymentContactDetails.js +6 -6
- package/lib/module/components/executiontasks/collectPayment/components/PaymentContactDetails.js.map +1 -1
- package/lib/module/components/executiontasks/collectPayment/components/ProcessPayment.js +21 -21
- package/lib/module/components/executiontasks/collectPayment/components/ProcessPayment.js.map +1 -1
- package/lib/module/components/executiontasks/deliver/SLDeliverET.js +3 -3
- package/lib/module/components/executiontasks/deliver/SLDeliverET.js.map +1 -1
- package/lib/module/components/executiontasks/doodle/SignatureET.js +4 -4
- package/lib/module/components/executiontasks/doodle/SignatureET.js.map +1 -1
- package/lib/module/components/executiontasks/dropCash/SLDropCash.js +3 -3
- package/lib/module/components/executiontasks/dropCash/SLDropCash.js.map +1 -1
- package/lib/module/components/executiontasks/forms/FormGenerator.js +11 -32
- package/lib/module/components/executiontasks/forms/FormGenerator.js.map +1 -1
- package/lib/module/components/executiontasks/forms/widgets/QRBarcodeScannerWidget.js +2 -2
- package/lib/module/components/executiontasks/forms/widgets/QRBarcodeScannerWidget.js.map +1 -1
- package/lib/module/components/executiontasks/imageCapture/ImageCapture.js +4 -4
- package/lib/module/components/executiontasks/imageCapture/ImageCapture.js.map +1 -1
- package/lib/module/components/executiontasks/payments/completePayment/CompletePaymentET.js +3 -3
- package/lib/module/components/executiontasks/payments/completePayment/CompletePaymentET.js.map +1 -1
- package/lib/module/components/executiontasks/payments/init/InitPaymentET.js +3 -3
- package/lib/module/components/executiontasks/payments/init/InitPaymentET.js.map +1 -1
- package/lib/module/components/executiontasks/payments/processPayment/ProcessPaymentET.js +3 -3
- package/lib/module/components/executiontasks/payments/processPayment/ProcessPaymentET.js.map +1 -1
- package/lib/module/components/executiontasks/pickup/PickupET.js.map +1 -1
- package/lib/module/components/executiontasks/pickup/SLPickupET.js +3 -3
- package/lib/module/components/executiontasks/pickup/SLPickupET.js.map +1 -1
- package/lib/module/components/executiontasks/scan/ScanET.js +5 -5
- package/lib/module/components/executiontasks/scan/ScanET.js.map +1 -1
- package/lib/module/components/executiontasks/scan/interfaces.js +16 -0
- package/lib/module/components/executiontasks/scan/interfaces.js.map +1 -1
- package/lib/module/components/executiontasks/scan/sub_components/CScanner.js +5 -5
- package/lib/module/components/executiontasks/scan/sub_components/CScanner.js.map +1 -1
- package/lib/module/components/executiontasks/scan/sub_components/DropDownUtils.js +2 -2
- package/lib/module/components/executiontasks/scan/sub_components/DropDownUtils.js.map +1 -1
- package/lib/module/components/executiontasks/scan/sub_components/ERDropDown.js.map +1 -1
- package/lib/module/components/executiontasks/scan/sub_components/SummaryPage.js +3 -3
- package/lib/module/components/executiontasks/scan/sub_components/SummaryPage.js.map +1 -1
- package/lib/module/components/executiontasks/scan/utils.js +13 -14
- package/lib/module/components/executiontasks/scan/utils.js.map +1 -1
- package/lib/module/components/executiontasks/validateOTP/ValidateOTPET.js.map +1 -1
- package/lib/module/components/executiontasks/validateOTP/ValidateOTPSchema.js.map +1 -1
- package/lib/module/components/executiontasks/validateOTP/components/ContactListView.js +3 -4
- package/lib/module/components/executiontasks/validateOTP/components/ContactListView.js.map +1 -1
- package/lib/module/components/executiontasks/validateOTP/components/OTPView.js +3 -3
- package/lib/module/components/executiontasks/validateOTP/components/OTPView.js.map +1 -1
- package/lib/module/components/executiontasks/validateOTP/components/VerificationComplete.js +7 -9
- package/lib/module/components/executiontasks/validateOTP/components/VerificationComplete.js.map +1 -1
- package/lib/module/components/executiontasks/verifyOtp/VerifyOtpET.js +7 -10
- package/lib/module/components/executiontasks/verifyOtp/VerifyOtpET.js.map +1 -1
- package/lib/module/components/widgets/CancelOrderDialog.js +1 -1
- package/lib/module/components/widgets/CancelOrderDialog.js.map +1 -1
- package/lib/module/components/widgets/Card.js +1 -1
- package/lib/module/components/widgets/Card.js.map +1 -1
- package/lib/module/components/widgets/SearchBar.js +2 -1
- package/lib/module/components/widgets/SearchBar.js.map +1 -1
- package/lib/module/components/widgets/SnackBarCustom.js +6 -8
- package/lib/module/components/widgets/SnackBarCustom.js.map +1 -1
- package/lib/module/components/widgets/SplitTextInput.js +1 -1
- package/lib/module/components/widgets/SplitTextInput.js.map +1 -1
- package/lib/module/components/widgets/Timer.js.map +1 -1
- package/lib/module/database/DBManager.js +104 -0
- package/lib/module/database/DBManager.js.map +1 -0
- package/lib/module/database/dbUpdate.json +6 -0
- package/lib/module/manager/dispatch/DispatchStateContainer.js.map +1 -1
- package/lib/module/manager/dispatchCodes/EventCodeRepo.js +7 -7
- package/lib/module/manager/dispatchCodes/EventCodeRepo.js.map +1 -1
- package/lib/module/manager/dispatchCodes/ReasonCodeContainer.js +4 -4
- package/lib/module/manager/dispatchCodes/ReasonCodeContainer.js.map +1 -1
- package/lib/module/manager/dispatchCodes/ReasonCodeRepo.js +13 -8
- package/lib/module/manager/dispatchCodes/ReasonCodeRepo.js.map +1 -1
- package/lib/module/manager/location/LocationManager.js +0 -4
- package/lib/module/manager/location/LocationManager.js.map +1 -1
- package/lib/module/manager/sdk/DispatchSDKManager.js +7 -1
- package/lib/module/manager/sdk/DispatchSDKManager.js.map +1 -1
- package/lib/module/manager/sdk/callbacksHandler.js +0 -2
- package/lib/module/manager/sdk/callbacksHandler.js.map +1 -1
- package/lib/module/manager/syncmanager/DBConfig.js +5 -1
- package/lib/module/manager/syncmanager/DBConfig.js.map +1 -1
- package/lib/module/manager/syncmanager/database.js +117 -43
- package/lib/module/manager/syncmanager/database.js.map +1 -1
- package/lib/module/manager/syncmanager/document/DocumentManager.js +16 -20
- package/lib/module/manager/syncmanager/document/DocumentManager.js.map +1 -1
- package/lib/module/manager/syncmanager/document/DocumentSyncManager.js +85 -75
- package/lib/module/manager/syncmanager/document/DocumentSyncManager.js.map +1 -1
- package/lib/module/manager/syncmanager/events/ETEventsManager.js +20 -22
- package/lib/module/manager/syncmanager/events/ETEventsManager.js.map +1 -1
- package/lib/module/manager/syncmanager/events/EventsSyncManager.js.map +1 -1
- package/lib/module/models/execTasks/ETConfig.js +1 -0
- package/lib/module/models/execTasks/ETConfig.js.map +1 -1
- package/lib/module/models/sdk.js.map +1 -1
- package/lib/module/native/signature/SignatureCapture.js +2 -2
- package/lib/module/native/signature/SignatureCapture.js.map +1 -1
- package/lib/module/network/client.js.map +1 -1
- package/lib/module/ui/screens/ValidateOTPScreen.js.map +1 -1
- package/lib/module/utils/Constants.js.map +1 -1
- package/lib/module/utils/Logger.js +1 -1
- package/lib/module/utils/Logger.js.map +1 -1
- package/lib/module/utils/SdkUtils.js +5 -3
- package/lib/module/utils/SdkUtils.js.map +1 -1
- package/lib/module/utils/SyncManagerUtils.js +2 -0
- package/lib/module/utils/SyncManagerUtils.js.map +1 -1
- package/lib/typescript/babel.config.d.ts +1 -0
- package/lib/typescript/jest.config.d.ts +7 -0
- package/lib/typescript/jest.setup.d.ts +1 -0
- package/lib/typescript/scripts/bootstrap.d.ts +1 -0
- package/lib/typescript/{components → src/components}/executiontasks/httpRequest/HttpEtUtils.d.ts +1 -1
- package/lib/typescript/{components → src/components}/executiontasks/scan/interfaces.d.ts +15 -0
- package/lib/typescript/{components → src/components}/executiontasks/validateOTP/ValidateOTPSchema.d.ts +1 -1
- package/lib/typescript/{components → src/components}/widgets/CancelOrderDialog.d.ts +1 -1
- package/lib/typescript/{components → src/components}/widgets/SnackBarCustom.d.ts +3 -2
- package/lib/typescript/src/components/widgets/Timer.d.ts +6 -0
- package/lib/typescript/src/database/DBManager.d.ts +1 -0
- package/lib/typescript/{manager → src/manager}/dispatchCodes/EventCodeRepo.d.ts +1 -1
- package/lib/typescript/{manager → src/manager}/dispatchCodes/ReasonCodeRepo.d.ts +5 -3
- package/lib/typescript/{manager → src/manager}/syncmanager/DBConfig.d.ts +5 -1
- package/lib/typescript/src/manager/syncmanager/database.d.ts +31 -0
- package/lib/typescript/{manager → src/manager}/syncmanager/document/DocumentManager.d.ts +2 -3
- package/lib/typescript/{manager → src/manager}/syncmanager/document/DocumentSyncManager.d.ts +1 -2
- package/lib/typescript/{network → src/network}/GraphQLClient.d.ts +5 -5
- package/lib/typescript/{network → src/network}/NetworkClient.d.ts +3 -3
- package/lib/typescript/{network → src/network}/client.d.ts +3 -3
- package/lib/typescript/{resources → src/resources}/Login.d.ts +7 -7
- package/lib/typescript/{resources → src/resources}/network.d.ts +1 -1
- package/lib/typescript/{utils → src/utils}/ApiUtils.d.ts +2 -2
- package/lib/typescript/{utils → src/utils}/Constants.d.ts +4 -0
- package/package.json +104 -127
- package/src/components/executiontasks/cancellation/CancelET.tsx +1 -1
- package/src/components/executiontasks/captureInput/CaptureText.tsx +6 -6
- package/src/components/executiontasks/collectPayment/components/CompletePayment.tsx +2 -3
- package/src/components/executiontasks/collectPayment/components/InitPayment.tsx +3 -7
- package/src/components/executiontasks/collectPayment/components/PaymentContactDetails.tsx +3 -4
- package/src/components/executiontasks/collectPayment/components/ProcessPayment.tsx +7 -8
- package/src/components/executiontasks/deliver/SLDeliverET.tsx +3 -4
- package/src/components/executiontasks/doodle/SignatureET.tsx +5 -5
- package/src/components/executiontasks/dropCash/SLDropCash.tsx +3 -4
- package/src/components/executiontasks/forms/FormGenerator.tsx +38 -55
- package/src/components/executiontasks/forms/widgets/QRBarcodeScannerWidget.tsx +2 -2
- package/src/components/executiontasks/imageCapture/ImageCapture.tsx +5 -7
- package/src/components/executiontasks/payments/completePayment/CompletePaymentET.tsx +3 -4
- package/src/components/executiontasks/payments/init/InitPaymentET.tsx +3 -4
- package/src/components/executiontasks/payments/processPayment/ProcessPaymentET.tsx +3 -4
- package/src/components/executiontasks/pickup/PickupET.tsx +3 -9
- package/src/components/executiontasks/pickup/SLPickupET.tsx +3 -4
- package/src/components/executiontasks/scan/ScanET.tsx +5 -6
- package/src/components/executiontasks/scan/interfaces.ts +16 -0
- package/src/components/executiontasks/scan/sub_components/CScanner.tsx +7 -6
- package/src/components/executiontasks/scan/sub_components/DropDownUtils.ts +2 -2
- package/src/components/executiontasks/scan/sub_components/ERDropDown.tsx +0 -1
- package/src/components/executiontasks/scan/sub_components/SummaryPage.tsx +3 -3
- package/src/components/executiontasks/scan/utils.ts +13 -13
- package/src/components/executiontasks/validateOTP/ValidateOTPET.tsx +5 -0
- package/src/components/executiontasks/validateOTP/ValidateOTPSchema.ts +1 -1
- package/src/components/executiontasks/validateOTP/components/ContactListView.tsx +3 -11
- package/src/components/executiontasks/validateOTP/components/OTPView.tsx +3 -4
- package/src/components/executiontasks/validateOTP/components/VerificationComplete.tsx +7 -7
- package/src/components/executiontasks/verifyOtp/VerifyOtpET.tsx +9 -17
- package/src/components/widgets/CancelOrderDialog.tsx +2 -2
- package/src/components/widgets/Card.tsx +1 -1
- package/src/components/widgets/SearchBar.tsx +2 -1
- package/src/components/widgets/SnackBarCustom.tsx +8 -10
- package/src/components/widgets/SplitTextInput.tsx +1 -1
- package/src/components/widgets/Timer.tsx +0 -1
- package/src/database/DBManager.ts +118 -0
- package/src/database/dbUpdate.json +6 -0
- package/src/manager/dispatch/DispatchStateContainer.tsx +5 -25
- package/src/manager/dispatchCodes/EventCodeRepo.ts +8 -12
- package/src/manager/dispatchCodes/ReasonCodeContainer.ts +5 -5
- package/src/manager/dispatchCodes/ReasonCodeRepo.ts +17 -15
- package/src/manager/location/LocationManager.ts +1 -8
- package/src/manager/sdk/DispatchSDKManager.ts +12 -4
- package/src/manager/sdk/callbacksHandler.ts +3 -8
- package/src/manager/syncmanager/DBConfig.ts +6 -1
- package/src/manager/syncmanager/database.ts +130 -71
- package/src/manager/syncmanager/document/DocumentManager.ts +19 -24
- package/src/manager/syncmanager/document/DocumentSyncManager.ts +95 -82
- package/src/manager/syncmanager/events/ETEventsManager.ts +30 -35
- package/src/manager/syncmanager/events/EventsSyncManager.ts +1 -1
- package/src/models/sdk.ts +2 -6
- package/src/native/signature/SignatureCapture.tsx +4 -3
- package/src/network/client.ts +2 -2
- package/src/ui/screens/ValidateOTPScreen.tsx +2 -4
- package/src/utils/Constants.ts +6 -1
- package/src/utils/Logger.ts +2 -1
- package/src/utils/SdkUtils.ts +6 -7
- package/src/utils/SyncManagerUtils.ts +1 -0
- package/tsconfig.build.json +1 -1
- package/tsconfig.json +2 -3
- package/android/.gradle/8.10.2/checksums/checksums.lock +0 -0
- package/android/.gradle/8.10.2/checksums/md5-checksums.bin +0 -0
- package/android/.gradle/8.10.2/checksums/sha1-checksums.bin +0 -0
- package/android/.gradle/8.10.2/executionHistory/executionHistory.lock +0 -0
- package/android/.gradle/8.10.2/fileHashes/fileHashes.lock +0 -0
- package/android/.gradle/8.10.2/gc.properties +0 -0
- package/lib/typescript/components/widgets/Timer.d.ts +0 -7
- package/lib/typescript/manager/syncmanager/database.d.ts +0 -7
- /package/android/.gradle/{8.10.2 → 8.13}/fileChanges/last-build.bin +0 -0
- /package/android/.gradle/{8.10.2 → 8.13}/fileHashes/resourceHashesCache.bin +0 -0
- /package/android/.gradle/{8.10.2/dependencies-accessors → 8.13}/gc.properties +0 -0
- /package/lib/typescript/{analytics → src/analytics}/firebase/FirebaseLogging.d.ts +0 -0
- /package/lib/typescript/{analytics → src/analytics}/sentry/SentryAnalyticsSingleton.d.ts +0 -0
- /package/lib/typescript/{analytics → src/analytics}/sentry/SentryAnalyticsUtils.d.ts +0 -0
- /package/lib/typescript/{analytics → src/analytics}/sentry/SentryModels.d.ts +0 -0
- /package/lib/typescript/{analytics → src/analytics}/sentry/SentrySdkConstants.d.ts +0 -0
- /package/lib/typescript/{components → src/components}/dispatch/DispatchExecNavigator.d.ts +0 -0
- /package/lib/typescript/{components → src/components}/executiontasks/CompletedWFSchema.d.ts +0 -0
- /package/lib/typescript/{components → src/components}/executiontasks/ExecutionTasksIndex.d.ts +0 -0
- /package/lib/typescript/{components → src/components}/executiontasks/cancellation/CancelET.d.ts +0 -0
- /package/lib/typescript/{components → src/components}/executiontasks/cancellation/CancellationSchema.d.ts +0 -0
- /package/lib/typescript/{components → src/components}/executiontasks/captureInput/CaptureInputSchema.d.ts +0 -0
- /package/lib/typescript/{components → src/components}/executiontasks/captureInput/CaptureText.d.ts +0 -0
- /package/lib/typescript/{components → src/components}/executiontasks/captureInput/utils.d.ts +0 -0
- /package/lib/typescript/{components → src/components}/executiontasks/collectPayment/CollectPayment.d.ts +0 -0
- /package/lib/typescript/{components → src/components}/executiontasks/collectPayment/CollectPaymentSchema.d.ts +0 -0
- /package/lib/typescript/{components → src/components}/executiontasks/collectPayment/PaymentStyles.d.ts +0 -0
- /package/lib/typescript/{components → src/components}/executiontasks/collectPayment/PaymentUtils.d.ts +0 -0
- /package/lib/typescript/{components → src/components}/executiontasks/collectPayment/components/CompletePayment.d.ts +0 -0
- /package/lib/typescript/{components → src/components}/executiontasks/collectPayment/components/CustomContactsModal.d.ts +0 -0
- /package/lib/typescript/{components → src/components}/executiontasks/collectPayment/components/InitPayment.d.ts +0 -0
- /package/lib/typescript/{components → src/components}/executiontasks/collectPayment/components/PaymentContactDetails.d.ts +0 -0
- /package/lib/typescript/{components → src/components}/executiontasks/collectPayment/components/ProcessPayment.d.ts +0 -0
- /package/lib/typescript/{components → src/components}/executiontasks/deliver/DeliverET.d.ts +0 -0
- /package/lib/typescript/{components → src/components}/executiontasks/deliver/DeliverETInput.d.ts +0 -0
- /package/lib/typescript/{components → src/components}/executiontasks/deliver/SLDeliverET.d.ts +0 -0
- /package/lib/typescript/{components → src/components}/executiontasks/display/DisplayModalET.d.ts +0 -0
- /package/lib/typescript/{components → src/components}/executiontasks/display/DisplaySchema.d.ts +0 -0
- /package/lib/typescript/{components → src/components}/executiontasks/doodle/SignatureET.d.ts +0 -0
- /package/lib/typescript/{components → src/components}/executiontasks/doodle/SignatureSchema.d.ts +0 -0
- /package/lib/typescript/{components → src/components}/executiontasks/dropCash/DropCashET.d.ts +0 -0
- /package/lib/typescript/{components → src/components}/executiontasks/dropCash/DropCashSchema.d.ts +0 -0
- /package/lib/typescript/{components → src/components}/executiontasks/dropCash/SLDropCash.d.ts +0 -0
- /package/lib/typescript/{components → src/components}/executiontasks/forms/FormGenerator.d.ts +0 -0
- /package/lib/typescript/{components → src/components}/executiontasks/forms/FormSchema.d.ts +0 -0
- /package/lib/typescript/{components → src/components}/executiontasks/forms/widgets/DateTimeWidget.d.ts +0 -0
- /package/lib/typescript/{components → src/components}/executiontasks/forms/widgets/DropdownWidget.d.ts +0 -0
- /package/lib/typescript/{components → src/components}/executiontasks/forms/widgets/QRBarcodeScannerWidget.d.ts +0 -0
- /package/lib/typescript/{components → src/components}/executiontasks/forms/widgets/TimeRangeSelector.d.ts +0 -0
- /package/lib/typescript/{components → src/components}/executiontasks/httpRequest/HttpRequestET.d.ts +0 -0
- /package/lib/typescript/{components → src/components}/executiontasks/httpRequest/HttpRequestETSchema.d.ts +0 -0
- /package/lib/typescript/{components → src/components}/executiontasks/imageCapture/CaptureSchema.d.ts +0 -0
- /package/lib/typescript/{components → src/components}/executiontasks/imageCapture/CaptureUtils.d.ts +0 -0
- /package/lib/typescript/{components → src/components}/executiontasks/imageCapture/ImageCapture.d.ts +0 -0
- /package/lib/typescript/{components → src/components}/executiontasks/payments/PaymentStyles.d.ts +0 -0
- /package/lib/typescript/{components → src/components}/executiontasks/payments/PaymentUtils.d.ts +0 -0
- /package/lib/typescript/{components → src/components}/executiontasks/payments/completePayment/CompletePaymentET.d.ts +0 -0
- /package/lib/typescript/{components → src/components}/executiontasks/payments/completePayment/CompletePaymentSchema.d.ts +0 -0
- /package/lib/typescript/{components → src/components}/executiontasks/payments/init/InitPaymentET.d.ts +0 -0
- /package/lib/typescript/{components → src/components}/executiontasks/payments/init/InitPaymentSchema.d.ts +0 -0
- /package/lib/typescript/{components → src/components}/executiontasks/payments/processPayment/ProcessPaymentET.d.ts +0 -0
- /package/lib/typescript/{components → src/components}/executiontasks/payments/processPayment/ProcessPaymentSchema.d.ts +0 -0
- /package/lib/typescript/{components → src/components}/executiontasks/pickup/PickpSchema.d.ts +0 -0
- /package/lib/typescript/{components → src/components}/executiontasks/pickup/PickupET.d.ts +0 -0
- /package/lib/typescript/{components → src/components}/executiontasks/pickup/SLPickupET.d.ts +0 -0
- /package/lib/typescript/{components → src/components}/executiontasks/scan/ScanET.d.ts +0 -0
- /package/lib/typescript/{components → src/components}/executiontasks/scan/ScanSchema.d.ts +0 -0
- /package/lib/typescript/{components → src/components}/executiontasks/scan/constants.d.ts +0 -0
- /package/lib/typescript/{components → src/components}/executiontasks/scan/modalConstant.d.ts +0 -0
- /package/lib/typescript/{components → src/components}/executiontasks/scan/sub_components/CScanner.d.ts +0 -0
- /package/lib/typescript/{components → src/components}/executiontasks/scan/sub_components/DropDownUtils.d.ts +0 -0
- /package/lib/typescript/{components → src/components}/executiontasks/scan/sub_components/ERDropDown.d.ts +0 -0
- /package/lib/typescript/{components → src/components}/executiontasks/scan/sub_components/SummaryPage.d.ts +0 -0
- /package/lib/typescript/{components → src/components}/executiontasks/scan/utils.d.ts +0 -0
- /package/lib/typescript/{components → src/components}/executiontasks/validateOTP/ValidateOTPET.d.ts +0 -0
- /package/lib/typescript/{components → src/components}/executiontasks/validateOTP/ValidateOtpStyles.d.ts +0 -0
- /package/lib/typescript/{components → src/components}/executiontasks/validateOTP/components/ContactListView.d.ts +0 -0
- /package/lib/typescript/{components → src/components}/executiontasks/validateOTP/components/OTPView.d.ts +0 -0
- /package/lib/typescript/{components → src/components}/executiontasks/validateOTP/components/VerificationComplete.d.ts +0 -0
- /package/lib/typescript/{components → src/components}/executiontasks/validateOTP/constants.d.ts +0 -0
- /package/lib/typescript/{components → src/components}/executiontasks/validateOTP/sub-components/ContactCard.d.ts +0 -0
- /package/lib/typescript/{components → src/components}/executiontasks/validateOTP/sub-components/OTPInput.d.ts +0 -0
- /package/lib/typescript/{components → src/components}/executiontasks/validateOTP/sub-components/ResendOTPButton.d.ts +0 -0
- /package/lib/typescript/{components → src/components}/executiontasks/validateOTP/utils.d.ts +0 -0
- /package/lib/typescript/{components → src/components}/executiontasks/verifyInput/VerifyInputSchema.d.ts +0 -0
- /package/lib/typescript/{components → src/components}/executiontasks/verifyLocation/GeofenceUtils.d.ts +0 -0
- /package/lib/typescript/{components → src/components}/executiontasks/verifyLocation/VerifyLocSchema.d.ts +0 -0
- /package/lib/typescript/{components → src/components}/executiontasks/verifyLocation/VerifyLocationET.d.ts +0 -0
- /package/lib/typescript/{components → src/components}/executiontasks/verifyOtp/VerifyOtpET.d.ts +0 -0
- /package/lib/typescript/{components → src/components}/executiontasks/verifyOtp/VerifyOtpSchema.d.ts +0 -0
- /package/lib/typescript/{components → src/components}/utils/Scale.d.ts +0 -0
- /package/lib/typescript/{components → src/components}/utils/index.d.ts +0 -0
- /package/lib/typescript/{components → src/components}/widgets/AlertDisplay.d.ts +0 -0
- /package/lib/typescript/{components → src/components}/widgets/Card.d.ts +0 -0
- /package/lib/typescript/{components → src/components}/widgets/ConfirmCancelModal.d.ts +0 -0
- /package/lib/typescript/{components → src/components}/widgets/GoBackModal.d.ts +0 -0
- /package/lib/typescript/{components → src/components}/widgets/IconButton.d.ts +0 -0
- /package/lib/typescript/{components → src/components}/widgets/ModalWidget.d.ts +0 -0
- /package/lib/typescript/{components → src/components}/widgets/ProgressDialog.d.ts +0 -0
- /package/lib/typescript/{components → src/components}/widgets/SearchBar.d.ts +0 -0
- /package/lib/typescript/{components → src/components}/widgets/SplitTextInput.d.ts +0 -0
- /package/lib/typescript/{components → src/components}/widgets/TabsComponent.d.ts +0 -0
- /package/lib/typescript/{components → src/components}/widgets/Toaster.d.ts +0 -0
- /package/lib/typescript/{config → src/config}/DispatchSDKConfig.d.ts +0 -0
- /package/lib/typescript/{constants → src/constants}/apiConstants.d.ts +0 -0
- /package/lib/typescript/{constants → src/constants}/constants.d.ts +0 -0
- /package/lib/typescript/{constants → src/constants}/statuscode.d.ts +0 -0
- /package/lib/typescript/{errors → src/errors}/BaseError.d.ts +0 -0
- /package/lib/typescript/{errors → src/errors}/ErrorCodes.d.ts +0 -0
- /package/lib/typescript/{events → src/events}/EventDispatcher.d.ts +0 -0
- /package/lib/typescript/{events → src/events}/EventListener.d.ts +0 -0
- /package/lib/typescript/{events → src/events}/constants.d.ts +0 -0
- /package/lib/typescript/{events → src/events}/index.d.ts +0 -0
- /package/lib/typescript/{events → src/events}/interface.d.ts +0 -0
- /package/lib/typescript/{icons → src/icons}/CircleMark.d.ts +0 -0
- /package/lib/typescript/{icons → src/icons}/FailedIcon.d.ts +0 -0
- /package/lib/typescript/{icons → src/icons}/FailureCloseIcon.d.ts +0 -0
- /package/lib/typescript/{icons → src/icons}/ScanIcon.d.ts +0 -0
- /package/lib/typescript/{icons → src/icons}/SuccessCompleteIcon.d.ts +0 -0
- /package/lib/typescript/{icons → src/icons}/file.d.ts +0 -0
- /package/lib/typescript/{icons → src/icons}/index.d.ts +0 -0
- /package/lib/typescript/{icons → src/icons}/interface.d.ts +0 -0
- /package/lib/typescript/{index.d.ts → src/index.d.ts} +0 -0
- /package/lib/typescript/{locale → src/locale}/Str.d.ts +0 -0
- /package/lib/typescript/{locale → src/locale}/i18n.d.ts +0 -0
- /package/lib/typescript/{locale → src/locale}/util.d.ts +0 -0
- /package/lib/typescript/{manager → src/manager}/dispatch/DispatchStateContainer.d.ts +0 -0
- /package/lib/typescript/{manager → src/manager}/dispatchCodes/EventCodeContainer.d.ts +0 -0
- /package/lib/typescript/{manager → src/manager}/dispatchCodes/ReasonCodeContainer.d.ts +0 -0
- /package/lib/typescript/{manager → src/manager}/jobRemoval/JobRemovalManager.d.ts +0 -0
- /package/lib/typescript/{manager → src/manager}/location/LocationManager.d.ts +0 -0
- /package/lib/typescript/{manager → src/manager}/sdk/DispatchSDKManager.d.ts +0 -0
- /package/lib/typescript/{manager → src/manager}/sdk/DispatchSdkCache.d.ts +0 -0
- /package/lib/typescript/{manager → src/manager}/sdk/callbacksHandler.d.ts +0 -0
- /package/lib/typescript/{manager → src/manager}/syncmanager/AppSyncManager.d.ts +0 -0
- /package/lib/typescript/{manager → src/manager}/syncmanager/NativeSyncManager.d.ts +0 -0
- /package/lib/typescript/{manager → src/manager}/syncmanager/constants.d.ts +0 -0
- /package/lib/typescript/{manager → src/manager}/syncmanager/document/DocumentHttpClient.d.ts +0 -0
- /package/lib/typescript/{manager → src/manager}/syncmanager/document/models.d.ts +0 -0
- /package/lib/typescript/{manager → src/manager}/syncmanager/events/ETEventsManager.d.ts +0 -0
- /package/lib/typescript/{manager → src/manager}/syncmanager/events/EventsGraphQLClient.d.ts +0 -0
- /package/lib/typescript/{manager → src/manager}/syncmanager/events/EventsSyncManager.d.ts +0 -0
- /package/lib/typescript/{manager → src/manager}/syncmanager/events/SyncHttpClient.d.ts +0 -0
- /package/lib/typescript/{models → src/models}/DispatchModels.d.ts +0 -0
- /package/lib/typescript/{models → src/models}/ReasonCodes.d.ts +0 -0
- /package/lib/typescript/{models → src/models}/auth.d.ts +0 -0
- /package/lib/typescript/{models → src/models}/execTasks/ETBaseModels.d.ts +0 -0
- /package/lib/typescript/{models → src/models}/execTasks/ETConfig.d.ts +0 -0
- /package/lib/typescript/{models → src/models}/execution.d.ts +0 -0
- /package/lib/typescript/{models → src/models}/fcm.d.ts +0 -0
- /package/lib/typescript/{models → src/models}/sdk.d.ts +0 -0
- /package/lib/typescript/{native → src/native}/LocationModule.d.ts +0 -0
- /package/lib/typescript/{native → src/native}/PermissionModule.d.ts +0 -0
- /package/lib/typescript/{native → src/native}/signature/SignatureCapture.d.ts +0 -0
- /package/lib/typescript/{network → src/network}/NetworkUtils.d.ts +0 -0
- /package/lib/typescript/{network → src/network}/Queries.d.ts +0 -0
- /package/lib/typescript/{res → src/res}/strings.d.ts +0 -0
- /package/lib/typescript/{styles → src/styles}/SdkColors.d.ts +0 -0
- /package/lib/typescript/{styles → src/styles}/executionTasks/CommonStyles.d.ts +0 -0
- /package/lib/typescript/{ui → src/ui}/screens/CancellationScreen.d.ts +0 -0
- /package/lib/typescript/{ui → src/ui}/screens/CaptureInputScreen.d.ts +0 -0
- /package/lib/typescript/{ui → src/ui}/screens/CollectPaymentScreen.d.ts +0 -0
- /package/lib/typescript/{ui → src/ui}/screens/CompleteObjectiveScreen.d.ts +0 -0
- /package/lib/typescript/{ui → src/ui}/screens/DeliverScreen.d.ts +0 -0
- /package/lib/typescript/{ui → src/ui}/screens/DisplayScreen.d.ts +0 -0
- /package/lib/typescript/{ui → src/ui}/screens/DoodleScreen.d.ts +0 -0
- /package/lib/typescript/{ui → src/ui}/screens/DropCashScreen.d.ts +0 -0
- /package/lib/typescript/{ui → src/ui}/screens/ETScreensIndex.d.ts +0 -0
- /package/lib/typescript/{ui → src/ui}/screens/FormsScreen.d.ts +0 -0
- /package/lib/typescript/{ui → src/ui}/screens/GeofenceScreen.d.ts +0 -0
- /package/lib/typescript/{ui → src/ui}/screens/HttpRequestScreen.d.ts +0 -0
- /package/lib/typescript/{ui → src/ui}/screens/ImageCaptureScreen.d.ts +0 -0
- /package/lib/typescript/{ui → src/ui}/screens/PaymentScreen.d.ts +0 -0
- /package/lib/typescript/{ui → src/ui}/screens/PickupScreen.d.ts +0 -0
- /package/lib/typescript/{ui → src/ui}/screens/ScanScreen.d.ts +0 -0
- /package/lib/typescript/{ui → src/ui}/screens/StartWorkFlowScreen.d.ts +0 -0
- /package/lib/typescript/{ui → src/ui}/screens/ValidateOTPScreen.d.ts +0 -0
- /package/lib/typescript/{ui → src/ui}/screens/WithBaseDispatchScreen.d.ts +0 -0
- /package/lib/typescript/{ui → src/ui}/uiConfig/RouteParams.d.ts +0 -0
- /package/lib/typescript/{utils → src/utils}/Enums.d.ts +0 -0
- /package/lib/typescript/{utils → src/utils}/ExecTaskUtils.d.ts +0 -0
- /package/lib/typescript/{utils → src/utils}/Logger.d.ts +0 -0
- /package/lib/typescript/{utils → src/utils}/NetworkUtil.d.ts +0 -0
- /package/lib/typescript/{utils → src/utils}/SdkUtils.d.ts +0 -0
- /package/lib/typescript/{utils → src/utils}/SyncManagerUtils.d.ts +0 -0
- /package/lib/typescript/{utils → src/utils}/context/paymentContext.d.ts +0 -0
- /package/lib/typescript/{utils → src/utils}/context/valdiateOTPContext.d.ts +0 -0
- /package/lib/typescript/{utils → src/utils}/fcm/FCM.d.ts +0 -0
- /package/lib/typescript/{utils → src/utils}/fcm/FcmUtils.d.ts +0 -0
- /package/lib/typescript/{utils → src/utils}/helper.d.ts +0 -0
- /package/lib/typescript/{utils → src/utils}/hooks/useModal.d.ts +0 -0
- /package/lib/typescript/{utils → src/utils}/hooks/useTimer.d.ts +0 -0
- /package/lib/typescript/{utils → src/utils}/loginHelper.d.ts +0 -0
- /package/lib/typescript/{utils → src/utils}/storage.d.ts +0 -0
- /package/lib/typescript/{utils → src/utils}/utils.d.ts +0 -0
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@os1-platform/dispatch-mobile",
|
|
3
|
-
"version": "3.1
|
|
3
|
+
"version": "3.2.1",
|
|
4
4
|
"description": "Dispatch SDK React Native Package",
|
|
5
5
|
"main": "lib/commonjs/index",
|
|
6
6
|
"module": "lib/module/index",
|
|
7
|
-
"types": "lib/typescript/index.d.ts",
|
|
7
|
+
"types": "lib/typescript/src/index.d.ts",
|
|
8
8
|
"react-native": "lib/module/index",
|
|
9
|
-
"source": "
|
|
9
|
+
"source": "./src/index.tsx",
|
|
10
10
|
"files": [
|
|
11
11
|
"src",
|
|
12
12
|
"lib",
|
|
@@ -40,7 +40,8 @@
|
|
|
40
40
|
"pods": "cd example && pod-install --quiet",
|
|
41
41
|
"bootstrap": "yarn example && yarn && yarn pods",
|
|
42
42
|
"local": "yarn && cd example && yarn start",
|
|
43
|
-
"clean": "del-cli android/build example/android/build example/android/app/build example/ios/build"
|
|
43
|
+
"clean": "del-cli android/build example/android/build example/android/app/build example/ios/build",
|
|
44
|
+
"postinstall": "patch-package"
|
|
44
45
|
},
|
|
45
46
|
"keywords": [
|
|
46
47
|
"react-native",
|
|
@@ -48,129 +49,129 @@
|
|
|
48
49
|
"ios"
|
|
49
50
|
],
|
|
50
51
|
"license": "MIT",
|
|
51
|
-
"author": "
|
|
52
|
-
"homepage": "https://github.com/
|
|
52
|
+
"author": "Anuj Sharma <anuj.sharma11@delhivery.com> (https://github.com/delhivery/platform-coreos-dispatch-sdk)",
|
|
53
|
+
"homepage": "https://github.com/delhivery/platform-coreos-dispatch-sdk?tab=readme-ov-file#readme",
|
|
53
54
|
"devDependencies": {
|
|
54
55
|
"@apollo/client": "^3.5.6",
|
|
55
|
-
"@babel/core": "^7.
|
|
56
|
-
"@babel/preset-env": "^7.
|
|
56
|
+
"@babel/core": "^7.25.2",
|
|
57
|
+
"@babel/preset-env": "^7.25.3",
|
|
57
58
|
"@babel/preset-typescript": "^7.15.0",
|
|
58
|
-
"@babel/runtime": "^7.
|
|
59
|
+
"@babel/runtime": "^7.25.0",
|
|
59
60
|
"@commitlint/config-conventional": "^11.0.0",
|
|
60
|
-
"@expo-google-fonts/ibm-plex-sans": "
|
|
61
|
-
"@react-native-async-storage/async-storage": "1.
|
|
62
|
-
"@react-native-community/
|
|
63
|
-
"@react-native-community/
|
|
64
|
-
"@react-native-community/
|
|
65
|
-
"@react-native-
|
|
66
|
-
"@react-native-
|
|
67
|
-
"@react-native-
|
|
68
|
-
"@react-native-firebase/
|
|
69
|
-
"@react-native-firebase/
|
|
70
|
-
"@react-native-firebase/
|
|
71
|
-
"@react-native/
|
|
72
|
-
"@react-native/
|
|
73
|
-
"@react-
|
|
74
|
-
"@react-
|
|
61
|
+
"@expo-google-fonts/ibm-plex-sans": "0.4.1",
|
|
62
|
+
"@react-native-async-storage/async-storage": "2.1.2",
|
|
63
|
+
"@react-native-community/cli": "18.0.0",
|
|
64
|
+
"@react-native-community/cli-platform-android": "18.0.0",
|
|
65
|
+
"@react-native-community/cli-platform-ios": "18.0.0",
|
|
66
|
+
"@react-native-community/datetimepicker": "8.4.1",
|
|
67
|
+
"@react-native-community/netinfo": "11.4.1",
|
|
68
|
+
"@react-native-cookies/cookies": "^6.2.1",
|
|
69
|
+
"@react-native-firebase/analytics": "22.4.0",
|
|
70
|
+
"@react-native-firebase/app": "22.4.0",
|
|
71
|
+
"@react-native-firebase/crashlytics": "22.4.0",
|
|
72
|
+
"@react-native-firebase/messaging": "22.4.0",
|
|
73
|
+
"@react-native-firebase/remote-config": "22.4.0",
|
|
74
|
+
"@react-native/eslint-config": "0.79.6",
|
|
75
|
+
"@react-native/metro-config": "0.79.6",
|
|
76
|
+
"@react-native/typescript-config": "0.79.6",
|
|
77
|
+
"@react-navigation/native": "7.1.6",
|
|
78
|
+
"@react-navigation/native-stack": "7.3.5",
|
|
75
79
|
"@release-it/conventional-changelog": "^2.0.0",
|
|
76
|
-
"@sentry/react-native": "
|
|
80
|
+
"@sentry/react-native": "~6.22.0",
|
|
77
81
|
"@tsconfig/react-native": "^3.0.0",
|
|
78
82
|
"@types/enzyme": "^3.10.10",
|
|
79
83
|
"@types/i18n-js": "^3.8.8",
|
|
84
|
+
"@types/jest": "^29.5.13",
|
|
80
85
|
"@types/json-logic-js": "^1.2.1",
|
|
81
86
|
"@types/jsonpath-plus": "^5.0.2",
|
|
82
87
|
"@types/lodash": "^4.14.182",
|
|
83
|
-
"@types/react
|
|
84
|
-
"@types/react-native-vector-icons": "^6.4.10",
|
|
85
|
-
"@types/react-test-renderer": "^18.0.0",
|
|
88
|
+
"@types/react": "^19.0.0",
|
|
86
89
|
"@typescript-eslint/eslint-plugin": "^5.29.0",
|
|
87
90
|
"@typescript-eslint/parser": "^5.29.0",
|
|
88
|
-
"
|
|
89
|
-
"axios": "^0.24.0",
|
|
90
|
-
"babel-jest": "^26.6.3",
|
|
91
|
+
"axios": "1.14.0",
|
|
91
92
|
"babel-plugin-module-resolver": "^4.0.0",
|
|
92
93
|
"commitlint": "^11.0.0",
|
|
93
|
-
"
|
|
94
|
-
"eslint": "^
|
|
95
|
-
"eslint-
|
|
96
|
-
"
|
|
97
|
-
"expo": "~
|
|
98
|
-
"expo-
|
|
99
|
-
"expo-
|
|
100
|
-
"expo-
|
|
101
|
-
"expo-
|
|
102
|
-
"expo-
|
|
103
|
-
"expo-
|
|
104
|
-
"expo-
|
|
105
|
-
"expo-location": "~16.1.0",
|
|
106
|
-
"expo-sqlite": "~11.3.3",
|
|
94
|
+
"eslint": "^8.19.0",
|
|
95
|
+
"eslint-config-prettier": "^8.5.0",
|
|
96
|
+
"eslint-plugin-prettier": "^4.0.0",
|
|
97
|
+
"expo": "~53.0.20",
|
|
98
|
+
"expo-blur": "~14.1.5",
|
|
99
|
+
"expo-camera": "~16.1.11",
|
|
100
|
+
"expo-file-system": "~18.1.11",
|
|
101
|
+
"expo-font": "~13.3.2",
|
|
102
|
+
"expo-image": "~2.4.1",
|
|
103
|
+
"expo-image-picker": "~16.1.4",
|
|
104
|
+
"expo-location": "~18.1.6",
|
|
105
|
+
"expo-sqlite": "~15.2.14",
|
|
107
106
|
"graphql": "^16.2.0",
|
|
108
107
|
"husky": "^4.2.5",
|
|
109
|
-
"jest": "^29.
|
|
110
|
-
"jest-expo": "~
|
|
111
|
-
"metro-react-native-babel-preset": "0.76.8",
|
|
108
|
+
"jest": "^29.6.3",
|
|
109
|
+
"jest-expo": "~53.0.10",
|
|
112
110
|
"msw": "^0.34.0",
|
|
111
|
+
"patch-package": "^8.0.0",
|
|
113
112
|
"pod-install": "^0.1.0",
|
|
114
|
-
"
|
|
115
|
-
"
|
|
116
|
-
"react
|
|
117
|
-
"react-
|
|
113
|
+
"postinstall-postinstall": "^2.1.0",
|
|
114
|
+
"prettier": "2.8.8",
|
|
115
|
+
"react": "19.0.0",
|
|
116
|
+
"react-dom": "19.0.0",
|
|
117
|
+
"react-native": "0.79.6",
|
|
118
118
|
"react-native-builder-bob": "^0.18.0",
|
|
119
|
-
"react-native-compressor": "^1.
|
|
119
|
+
"react-native-compressor": "^1.16.0",
|
|
120
120
|
"react-native-dropdown-picker": "^5.4.0",
|
|
121
|
-
"react-native-
|
|
122
|
-
"react-native-
|
|
123
|
-
"react-native-
|
|
124
|
-
"react-native-
|
|
125
|
-
"react-native-
|
|
126
|
-
"react-native-screens": "~3.22.0",
|
|
127
|
-
"react-native-vector-icons": "^9.0.0",
|
|
128
|
-
"react-test-renderer": "17.0.2",
|
|
121
|
+
"react-native-get-random-values": "~1.11.0",
|
|
122
|
+
"react-native-image-picker": "8.2.1",
|
|
123
|
+
"react-native-paper": "5.15.0",
|
|
124
|
+
"react-native-safe-area-context": "5.4.0",
|
|
125
|
+
"react-native-screens": "~4.11.1",
|
|
129
126
|
"release-it": "^14.2.2",
|
|
130
|
-
"typescript": "^5.
|
|
127
|
+
"typescript": "^5.3.3"
|
|
131
128
|
},
|
|
132
129
|
"peerDependencies": {
|
|
133
130
|
"@apollo/client": "^3.5.6",
|
|
134
|
-
"@expo-google-fonts/ibm-plex-sans": "
|
|
135
|
-
"@react-native-async-storage/async-storage": "
|
|
136
|
-
"@react-native-community/datetimepicker": "
|
|
137
|
-
"@react-native-community/netinfo": "
|
|
138
|
-
"@react-native-
|
|
139
|
-
"@react-native-firebase/
|
|
140
|
-
"@react-native-firebase/
|
|
141
|
-
"@react-native-firebase/
|
|
142
|
-
"@react-native-firebase/
|
|
143
|
-
"@react-native-
|
|
144
|
-
"@react-navigation/native": "
|
|
145
|
-
"@react-navigation/native-stack": "
|
|
146
|
-
"@sentry/react-native": "
|
|
147
|
-
"axios": "
|
|
148
|
-
"expo": "~
|
|
149
|
-
"expo-
|
|
150
|
-
"expo-
|
|
151
|
-
"expo-
|
|
152
|
-
"expo-
|
|
153
|
-
"expo-
|
|
154
|
-
"expo-image-
|
|
155
|
-
"expo-
|
|
156
|
-
"expo-
|
|
157
|
-
"expo-sqlite": "~11.3.3",
|
|
131
|
+
"@expo-google-fonts/ibm-plex-sans": "^0.4.1",
|
|
132
|
+
"@react-native-async-storage/async-storage": "2.2.0",
|
|
133
|
+
"@react-native-community/datetimepicker": "8.4.1",
|
|
134
|
+
"@react-native-community/netinfo": "11.4.1",
|
|
135
|
+
"@react-native-firebase/analytics": "22.4.0",
|
|
136
|
+
"@react-native-firebase/app": "22.4.0",
|
|
137
|
+
"@react-native-firebase/crashlytics": "22.4.0",
|
|
138
|
+
"@react-native-firebase/messaging": "22.4.0",
|
|
139
|
+
"@react-native-firebase/remote-config": "22.4.0",
|
|
140
|
+
"@react-native-community/slider": "5.2.0",
|
|
141
|
+
"@react-navigation/native": "7.1.6",
|
|
142
|
+
"@react-navigation/native-stack": "7.3.5",
|
|
143
|
+
"@sentry/react-native": "~6.22.0",
|
|
144
|
+
"axios": "1.14.0",
|
|
145
|
+
"expo": "~53.0.20",
|
|
146
|
+
"expo-blur": "~14.1.5",
|
|
147
|
+
"expo-camera": "~16.1.11",
|
|
148
|
+
"expo-file-system": "~18.1.11",
|
|
149
|
+
"expo-font": "~13.3.2",
|
|
150
|
+
"expo-image": "~2.4.1",
|
|
151
|
+
"expo-image-picker": "~16.1.4",
|
|
152
|
+
"expo-location": "~18.1.6",
|
|
153
|
+
"expo-sqlite": "~15.2.14",
|
|
158
154
|
"graphql": "^16.2.0",
|
|
159
|
-
"react": "
|
|
160
|
-
"react-native": "0.
|
|
161
|
-
"react-native-compressor": "^1.
|
|
155
|
+
"react": "19.0.0",
|
|
156
|
+
"react-native": "0.79.6",
|
|
157
|
+
"react-native-compressor": "^1.16.0",
|
|
162
158
|
"react-native-dropdown-picker": "^5.4.0",
|
|
163
|
-
"react-native-get-random-values": "
|
|
164
|
-
"react-native-paper": "
|
|
165
|
-
"react-native-safe-area-context": "4.
|
|
166
|
-
"react-native-screens": "~
|
|
167
|
-
"react-native-vector-icons": "^9.0.0"
|
|
159
|
+
"react-native-get-random-values": "~1.11.0",
|
|
160
|
+
"react-native-paper": "5.15.0",
|
|
161
|
+
"react-native-safe-area-context": "5.4.0",
|
|
162
|
+
"react-native-screens": "~4.11.1"
|
|
168
163
|
},
|
|
169
164
|
"dependencies": {
|
|
170
|
-
"@coralogix/react-native-sdk": "^1.0.
|
|
171
|
-
"@os1-platform/platform-coreos-execution-engine-sdk": "1.1.
|
|
172
|
-
"@
|
|
173
|
-
"
|
|
165
|
+
"@coralogix/react-native-sdk": "^1.0.26",
|
|
166
|
+
"@os1-platform/platform-coreos-execution-engine-sdk": "1.1.7",
|
|
167
|
+
"@react-native-vector-icons/ant-design": "^12.3.0",
|
|
168
|
+
"@react-native-vector-icons/entypo": "^12.3.0",
|
|
169
|
+
"@react-native-vector-icons/evil-icons": "^12.3.0",
|
|
170
|
+
"@react-native-vector-icons/feather": "^12.3.0",
|
|
171
|
+
"@react-native-vector-icons/material-design-icons": "^12.3.0",
|
|
172
|
+
"@react-native-vector-icons/material-icons": "^12.3.0",
|
|
173
|
+
"@rjsf/core": "^2.2.0",
|
|
174
|
+
"apollo-link-timeout": "^5.0.4",
|
|
174
175
|
"decompress": "^4.2.1",
|
|
175
176
|
"i18n-js": "^4.3.2",
|
|
176
177
|
"json-logic-js": "^2.0.1",
|
|
@@ -179,39 +180,15 @@
|
|
|
179
180
|
"latlng-to-dms": "^1.0.2",
|
|
180
181
|
"lodash": "^4.17.21",
|
|
181
182
|
"react-native-fs": "^2.20.0",
|
|
182
|
-
"
|
|
183
|
-
"react-native-
|
|
184
|
-
"react-native-
|
|
183
|
+
"promise": "^8.3.0",
|
|
184
|
+
"react-native-image-marker": "1.2.11",
|
|
185
|
+
"react-native-otp-textinput": "1.1.7",
|
|
186
|
+
"react-native-svg": "15.11.2",
|
|
185
187
|
"recyclerlistview": "^4.2.0",
|
|
186
188
|
"rjsf-native": "^1.0.14",
|
|
187
189
|
"toggle-switch-react-native": "^3.3.0",
|
|
188
190
|
"uuid-by-string": "^4.0.0"
|
|
189
191
|
},
|
|
190
|
-
"jest": {
|
|
191
|
-
"moduleFileExtensions": [
|
|
192
|
-
"ts",
|
|
193
|
-
"tsx",
|
|
194
|
-
"js",
|
|
195
|
-
"jsx",
|
|
196
|
-
"json",
|
|
197
|
-
"node"
|
|
198
|
-
],
|
|
199
|
-
"preset": "jest-expo",
|
|
200
|
-
"modulePathIgnorePatterns": [
|
|
201
|
-
"<rootDir>/example/node_modules",
|
|
202
|
-
"<rootDir>/example/__tests__",
|
|
203
|
-
"<rootDir>/lib/",
|
|
204
|
-
"<rootDir>/node_modules/",
|
|
205
|
-
"<rootDir>/node_modules/*"
|
|
206
|
-
],
|
|
207
|
-
"testMatch": [
|
|
208
|
-
"<rootDir>/__tests__/*",
|
|
209
|
-
"<rootDir>/__tests__/**/*"
|
|
210
|
-
],
|
|
211
|
-
"transformIgnorePatterns": [
|
|
212
|
-
"node_modules/(?!react-native|@react-native|@react-native-firebase/app|@react-native-firebase/messaging|@react-native-async-storage/async-storage|expo-sqlite|expo|expo-modules-core|expo-asset|expo-constants|expo-file-system|expo-image-loader|expo-modules-autolinking|expo-image-picker|expo-barcode-scanner|expo-intent-launcher|expo-location|expo-modules-autolinking|expo-application|expo-asset|expo-sqlite|expo-constants|@react-native-community/netinfo)"
|
|
213
|
-
]
|
|
214
|
-
},
|
|
215
192
|
"husky": {},
|
|
216
193
|
"commitlint": {
|
|
217
194
|
"extends": [
|
|
@@ -280,4 +257,4 @@
|
|
|
280
257
|
]
|
|
281
258
|
]
|
|
282
259
|
}
|
|
283
|
-
}
|
|
260
|
+
}
|
|
@@ -21,7 +21,7 @@ import ReasonCodeContainer from '../../../manager/dispatchCodes/ReasonCodeContai
|
|
|
21
21
|
import type { ReasonsRow } from '../../../manager/syncmanager/DBConfig';
|
|
22
22
|
import EventCodeContainer from '../../../manager/dispatchCodes/EventCodeContainer';
|
|
23
23
|
import IconButton from '../../widgets/IconButton';
|
|
24
|
-
import
|
|
24
|
+
import AntDesign from '@react-native-vector-icons/ant-design';
|
|
25
25
|
import { ScreenNameSdkConstants, SentryEventNameSdkConstants, SeverityLevelValue } from '../../../analytics/sentry/SentrySdkConstants';
|
|
26
26
|
import { fireEventWithScreenName } from '../../../analytics/sentry/SentryAnalyticsUtils';
|
|
27
27
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { CaptureTextInput } from './CaptureInputSchema';
|
|
2
|
-
import { View
|
|
3
|
-
import { Button, TextInput,
|
|
2
|
+
import { View } from 'react-native';
|
|
3
|
+
import { Button, TextInput, Provider } from 'react-native-paper';
|
|
4
4
|
import {
|
|
5
5
|
CommonStyles,
|
|
6
6
|
deliverETStyles,
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
ExecutionTaskID,
|
|
14
14
|
} from '../../../models/execTasks/ETConfig';
|
|
15
15
|
import { checkForValidation } from './utils';
|
|
16
|
-
import Icon from 'react-native-vector-icons/
|
|
16
|
+
import Icon from '@react-native-vector-icons/material-icons';
|
|
17
17
|
import { GO_BACK_EVENT_CODE } from '../../../constants/constants';
|
|
18
18
|
import { hasGoBackConnector } from '../../../components/utils';
|
|
19
19
|
import GoBackModal from '../../../components/widgets/GoBackModal';
|
|
@@ -24,6 +24,7 @@ import { fireEventWithScreenName } from '../../../analytics/sentry/SentryAnalyti
|
|
|
24
24
|
|
|
25
25
|
const CaptureText = (props: CaptureTextInput) => {
|
|
26
26
|
const [showBackModal, setShowBackModal] = useState(false);
|
|
27
|
+
|
|
27
28
|
|
|
28
29
|
useLayoutEffect(() => {
|
|
29
30
|
props.navigation.setOptions({
|
|
@@ -70,9 +71,8 @@ const CaptureText = (props: CaptureTextInput) => {
|
|
|
70
71
|
return true;
|
|
71
72
|
}
|
|
72
73
|
};
|
|
73
|
-
BackHandler.addEventListener('hardwareBackPress', onBackPress);
|
|
74
|
-
return () =>
|
|
75
|
-
BackHandler.removeEventListener('hardwareBackPress', onBackPress);
|
|
74
|
+
const backHandler = BackHandler.addEventListener('hardwareBackPress', onBackPress);
|
|
75
|
+
return () => backHandler.remove();
|
|
76
76
|
}, [])
|
|
77
77
|
);
|
|
78
78
|
|
|
@@ -51,9 +51,8 @@ const CompletePayment = (props: CollectPaymentInput & CollectPaymentOutput) => {
|
|
|
51
51
|
const onBackPress = () => {
|
|
52
52
|
return false;
|
|
53
53
|
};
|
|
54
|
-
BackHandler.addEventListener('hardwareBackPress', onBackPress);
|
|
55
|
-
return () =>
|
|
56
|
-
BackHandler.removeEventListener('hardwareBackPress', onBackPress);
|
|
54
|
+
const backHandler = BackHandler.addEventListener('hardwareBackPress', onBackPress);
|
|
55
|
+
return () => backHandler.remove();
|
|
57
56
|
}, [])
|
|
58
57
|
);
|
|
59
58
|
|
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
} from '../../../../styles/executionTasks/CommonStyles';
|
|
23
23
|
import { showToast } from '../../../widgets/Toaster';
|
|
24
24
|
import { Button, Provider, RadioButton } from 'react-native-paper';
|
|
25
|
-
import Icon from 'react-native-vector-icons/
|
|
25
|
+
import Icon from '@react-native-vector-icons/material-icons';
|
|
26
26
|
import {
|
|
27
27
|
GO_BACK_EVENT_CODE,
|
|
28
28
|
PAYMENT_NOTIFICATION,
|
|
@@ -367,15 +367,11 @@ const InitPayment = (props: CollectPaymentInput) => {
|
|
|
367
367
|
return true;
|
|
368
368
|
}
|
|
369
369
|
};
|
|
370
|
-
BackHandler.addEventListener('hardwareBackPress', () => {
|
|
370
|
+
const backHandler = BackHandler.addEventListener('hardwareBackPress', () => {
|
|
371
371
|
onBackPress();
|
|
372
372
|
return true;
|
|
373
373
|
});
|
|
374
|
-
return () =>
|
|
375
|
-
BackHandler.removeEventListener('hardwareBackPress', () => {
|
|
376
|
-
onBackPress();
|
|
377
|
-
return true;
|
|
378
|
-
});
|
|
374
|
+
return () => backHandler.remove();
|
|
379
375
|
}, [])
|
|
380
376
|
);
|
|
381
377
|
|
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
Fonts,
|
|
21
21
|
} from '../../../../styles/executionTasks/CommonStyles';
|
|
22
22
|
import { Button, Provider, RadioButton, TextInput } from 'react-native-paper';
|
|
23
|
-
import Icon from 'react-native-vector-icons/
|
|
23
|
+
import Icon from '@react-native-vector-icons/material-icons';
|
|
24
24
|
import {
|
|
25
25
|
EMAIL_REGEX,
|
|
26
26
|
PAYMENT_NOTIFICATION,
|
|
@@ -317,9 +317,8 @@ const PaymentContactDetails = (
|
|
|
317
317
|
}))();
|
|
318
318
|
return true;
|
|
319
319
|
};
|
|
320
|
-
BackHandler.addEventListener('hardwareBackPress', onBackPress);
|
|
321
|
-
return () =>
|
|
322
|
-
BackHandler.removeEventListener('hardwareBackPress', onBackPress);
|
|
320
|
+
const backHandler = BackHandler.addEventListener('hardwareBackPress', onBackPress);
|
|
321
|
+
return () => backHandler.remove();
|
|
323
322
|
}, [])
|
|
324
323
|
);
|
|
325
324
|
|
|
@@ -55,11 +55,11 @@ import {
|
|
|
55
55
|
Portal,
|
|
56
56
|
Provider,
|
|
57
57
|
} from 'react-native-paper';
|
|
58
|
-
import Icon from 'react-native-vector-icons/
|
|
58
|
+
import Icon from '@react-native-vector-icons/material-icons';
|
|
59
59
|
import { PAYMENT_NOTIFICATION } from '../../../../constants/constants';
|
|
60
60
|
import { useFocusEffect } from '@react-navigation/native';
|
|
61
61
|
import ProgressDialog from '../../../../components/widgets/ProgressDialog';
|
|
62
|
-
import MaterialIcon from 'react-native-vector-icons/
|
|
62
|
+
import MaterialIcon from '@react-native-vector-icons/material-design-icons';
|
|
63
63
|
import ModalWidget from '../../../../components/widgets/ModalWidget';
|
|
64
64
|
import FailedIcon from '../../../../icons/FailedIcon';
|
|
65
65
|
import EventListener from '../../../../events';
|
|
@@ -105,7 +105,7 @@ const ProcessPayment = (props: CollectPaymentInput & ProcessPaymentInput) => {
|
|
|
105
105
|
const [isRetryEnabled, setIsRetryEnabled] = useState(false);
|
|
106
106
|
const [backDisable, setBackDisable] = useState(true);
|
|
107
107
|
|
|
108
|
-
const timerRef: any = useRef();
|
|
108
|
+
const timerRef: any = useRef(null);
|
|
109
109
|
const paymentRefId =
|
|
110
110
|
props.route.params[RouteParams.ROOT_META_DATA].paymentConfig?.paymentRefId;
|
|
111
111
|
// For back button timer
|
|
@@ -278,9 +278,8 @@ const ProcessPayment = (props: CollectPaymentInput & ProcessPaymentInput) => {
|
|
|
278
278
|
isRetryEnabled ? onNext() : setGoBackModal(true);
|
|
279
279
|
return true;
|
|
280
280
|
};
|
|
281
|
-
BackHandler.addEventListener('hardwareBackPress', onBackPress);
|
|
282
|
-
return () =>
|
|
283
|
-
BackHandler.removeEventListener('hardwareBackPress', onBackPress);
|
|
281
|
+
const backHandler = BackHandler.addEventListener('hardwareBackPress', onBackPress);
|
|
282
|
+
return () => backHandler.remove();
|
|
284
283
|
}, [isRetryEnabled, backDisable])
|
|
285
284
|
);
|
|
286
285
|
|
|
@@ -1140,8 +1139,8 @@ const PaymentLink = (
|
|
|
1140
1139
|
message: '',
|
|
1141
1140
|
});
|
|
1142
1141
|
const [isTimerActive, setIsTimerActive] = useState(true);
|
|
1143
|
-
const timerRef: any = useRef();
|
|
1144
|
-
const statusTimerRef: any = useRef();
|
|
1142
|
+
const timerRef: any = useRef(null);
|
|
1143
|
+
const statusTimerRef: any = useRef(null);
|
|
1145
1144
|
|
|
1146
1145
|
const paymentRefId =
|
|
1147
1146
|
props.route.params[RouteParams.ROOT_META_DATA].paymentConfig?.paymentRefId;
|
|
@@ -30,7 +30,7 @@ import {
|
|
|
30
30
|
DEFAULT_DELIVER_TITLE,
|
|
31
31
|
GO_BACK_EVENT_CODE,
|
|
32
32
|
} from '../../../constants/constants';
|
|
33
|
-
import Icon from 'react-native-vector-icons/
|
|
33
|
+
import Icon from '@react-native-vector-icons/material-icons';
|
|
34
34
|
import GoBackModal from '../../../components/widgets/GoBackModal';
|
|
35
35
|
import { hasGoBackConnector } from '../../../components/utils';
|
|
36
36
|
import { useFocusEffect } from '@react-navigation/native';
|
|
@@ -109,9 +109,8 @@ const DeliverET = (props: DeliverETInput) => {
|
|
|
109
109
|
return true;
|
|
110
110
|
}
|
|
111
111
|
};
|
|
112
|
-
BackHandler.addEventListener('hardwareBackPress', onBackPress);
|
|
113
|
-
return () =>
|
|
114
|
-
BackHandler.removeEventListener('hardwareBackPress', onBackPress);
|
|
112
|
+
const backHandler = BackHandler.addEventListener('hardwareBackPress', onBackPress);
|
|
113
|
+
return () => backHandler.remove();
|
|
115
114
|
}, [])
|
|
116
115
|
);
|
|
117
116
|
|
|
@@ -28,7 +28,7 @@ import {
|
|
|
28
28
|
DEFAULT_SIGN_ET_MESSAGE,
|
|
29
29
|
GO_BACK_EVENT_CODE,
|
|
30
30
|
} from '../../../constants/constants';
|
|
31
|
-
import Icon from 'react-native-vector-icons/
|
|
31
|
+
import Icon from '@react-native-vector-icons/material-icons';
|
|
32
32
|
import { hasGoBackConnector } from '../../../components/utils';
|
|
33
33
|
import GoBackModal from '../../../components/widgets/GoBackModal';
|
|
34
34
|
import { useFocusEffect } from '@react-navigation/native';
|
|
@@ -40,7 +40,8 @@ import LocationManager from '../../../manager/location/LocationManager';
|
|
|
40
40
|
import callbackHandler from '../../../manager/sdk/callbacksHandler';
|
|
41
41
|
|
|
42
42
|
const SignatureET = (props: SignatureInput) => {
|
|
43
|
-
|
|
43
|
+
|
|
44
|
+
const signatureViewRef = useRef<any>(null);
|
|
44
45
|
const [dragged, setDragged] = useState(0);
|
|
45
46
|
const dragRef = useRef<number>(0);
|
|
46
47
|
const [showBackModal, setShowBackModal] = useState(false);
|
|
@@ -61,9 +62,8 @@ const SignatureET = (props: SignatureInput) => {
|
|
|
61
62
|
return true;
|
|
62
63
|
}
|
|
63
64
|
};
|
|
64
|
-
BackHandler.addEventListener('hardwareBackPress', onBackPress);
|
|
65
|
-
return () =>
|
|
66
|
-
BackHandler.removeEventListener('hardwareBackPress', onBackPress);
|
|
65
|
+
const backHandler = BackHandler.addEventListener('hardwareBackPress', onBackPress);
|
|
66
|
+
return () => backHandler.remove();
|
|
67
67
|
}, [])
|
|
68
68
|
);
|
|
69
69
|
|
|
@@ -18,7 +18,7 @@ import { isEmptyOrBlank } from '../../../utils/utils';
|
|
|
18
18
|
import type { DropCashInput } from './DropCashSchema';
|
|
19
19
|
import { getPaymentValue } from '../payments/PaymentUtils';
|
|
20
20
|
import { GO_BACK_EVENT_CODE } from '../../../constants/constants';
|
|
21
|
-
import Icon from 'react-native-vector-icons/
|
|
21
|
+
import Icon from '@react-native-vector-icons/material-icons';
|
|
22
22
|
import GoBackModal from '../../../components/widgets/GoBackModal';
|
|
23
23
|
import { hasGoBackConnector } from '../../../components/utils';
|
|
24
24
|
import { useFocusEffect } from '@react-navigation/native';
|
|
@@ -69,9 +69,8 @@ const SLDropCash = (props: DropCashInput) => {
|
|
|
69
69
|
return true;
|
|
70
70
|
}
|
|
71
71
|
};
|
|
72
|
-
BackHandler.addEventListener('hardwareBackPress', onBackPress);
|
|
73
|
-
return () =>
|
|
74
|
-
BackHandler.removeEventListener('hardwareBackPress', onBackPress);
|
|
72
|
+
const backHandler = BackHandler.addEventListener('hardwareBackPress', onBackPress);
|
|
73
|
+
return () => backHandler.remove();
|
|
75
74
|
}, [])
|
|
76
75
|
);
|
|
77
76
|
|