@os1-platform/dispatch-mobile 3.2.0 → 3.2.2
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/android/build.gradle +13 -5
- package/android/gradle.properties +3 -3
- package/android/src/main/AndroidManifest.xml +2 -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 +2 -1
- package/dispatch-mobile.podspec +1 -1
- package/lib/commonjs/analytics/events/AnalyticsModels.js +2 -0
- package/lib/commonjs/analytics/events/AnalyticsModels.js.map +1 -0
- package/lib/commonjs/analytics/{sentry/SentrySdkConstants.js → events/AnalyticsSdkConstants.js} +24 -24
- package/lib/commonjs/analytics/events/AnalyticsSdkConstants.js.map +1 -0
- package/lib/commonjs/analytics/{sentry/SentryAnalyticsSingleton.js → events/AnalyticsSingleton.js} +11 -11
- package/lib/commonjs/analytics/events/AnalyticsSingleton.js.map +1 -0
- package/lib/commonjs/analytics/{sentry/SentryAnalyticsUtils.js → events/AnalyticsUtils.js} +15 -20
- package/lib/commonjs/analytics/events/AnalyticsUtils.js.map +1 -0
- package/lib/commonjs/analytics/firebase/FirebaseLogging.js +2 -2
- package/lib/commonjs/analytics/firebase/FirebaseLogging.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 +34 -35
- package/lib/commonjs/components/executiontasks/cancellation/CancelET.js.map +1 -1
- package/lib/commonjs/components/executiontasks/captureInput/CaptureText.js +15 -16
- 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 +1 -2
- package/lib/commonjs/components/executiontasks/collectPayment/components/CompletePayment.js.map +1 -1
- package/lib/commonjs/components/executiontasks/collectPayment/components/InitPayment.js +1 -2
- package/lib/commonjs/components/executiontasks/collectPayment/components/InitPayment.js.map +1 -1
- package/lib/commonjs/components/executiontasks/collectPayment/components/PaymentContactDetails.js +1 -2
- package/lib/commonjs/components/executiontasks/collectPayment/components/PaymentContactDetails.js.map +1 -1
- package/lib/commonjs/components/executiontasks/collectPayment/components/ProcessPayment.js +14 -15
- package/lib/commonjs/components/executiontasks/collectPayment/components/ProcessPayment.js.map +1 -1
- package/lib/commonjs/components/executiontasks/deliver/DeliverET.js +11 -12
- package/lib/commonjs/components/executiontasks/deliver/DeliverET.js.map +1 -1
- package/lib/commonjs/components/executiontasks/deliver/SLDeliverET.js +31 -32
- package/lib/commonjs/components/executiontasks/deliver/SLDeliverET.js.map +1 -1
- package/lib/commonjs/components/executiontasks/display/DisplayModalET.js +11 -12
- package/lib/commonjs/components/executiontasks/display/DisplayModalET.js.map +1 -1
- package/lib/commonjs/components/executiontasks/doodle/SignatureET.js +20 -21
- package/lib/commonjs/components/executiontasks/doodle/SignatureET.js.map +1 -1
- package/lib/commonjs/components/executiontasks/dropCash/DropCashET.js +11 -12
- package/lib/commonjs/components/executiontasks/dropCash/DropCashET.js.map +1 -1
- package/lib/commonjs/components/executiontasks/dropCash/SLDropCash.js +15 -16
- package/lib/commonjs/components/executiontasks/dropCash/SLDropCash.js.map +1 -1
- package/lib/commonjs/components/executiontasks/forms/FormGenerator.js +1 -2
- package/lib/commonjs/components/executiontasks/forms/FormGenerator.js.map +1 -1
- package/lib/commonjs/components/executiontasks/forms/widgets/DateTimeWidget.js +7 -8
- 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 +10 -11
- 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 +31 -32
- package/lib/commonjs/components/executiontasks/imageCapture/ImageCapture.js.map +1 -1
- package/lib/commonjs/components/executiontasks/payments/completePayment/CompletePaymentET.js +15 -16
- package/lib/commonjs/components/executiontasks/payments/completePayment/CompletePaymentET.js.map +1 -1
- package/lib/commonjs/components/executiontasks/payments/init/InitPaymentET.js +23 -24
- package/lib/commonjs/components/executiontasks/payments/init/InitPaymentET.js.map +1 -1
- package/lib/commonjs/components/executiontasks/payments/processPayment/ProcessPaymentET.js +15 -16
- package/lib/commonjs/components/executiontasks/payments/processPayment/ProcessPaymentET.js.map +1 -1
- package/lib/commonjs/components/executiontasks/pickup/PickupET.js +11 -12
- package/lib/commonjs/components/executiontasks/pickup/PickupET.js.map +1 -1
- package/lib/commonjs/components/executiontasks/pickup/SLPickupET.js +27 -28
- package/lib/commonjs/components/executiontasks/pickup/SLPickupET.js.map +1 -1
- package/lib/commonjs/components/executiontasks/scan/ScanET.js +26 -27
- package/lib/commonjs/components/executiontasks/scan/ScanET.js.map +1 -1
- package/lib/commonjs/components/executiontasks/scan/sub_components/CScanner.js +1 -2
- package/lib/commonjs/components/executiontasks/scan/sub_components/CScanner.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 +20 -20
- package/lib/commonjs/components/executiontasks/scan/sub_components/SummaryPage.js.map +1 -1
- package/lib/commonjs/components/executiontasks/scan/utils.js +1 -2
- package/lib/commonjs/components/executiontasks/scan/utils.js.map +1 -1
- package/lib/commonjs/components/executiontasks/validateOTP/ValidateOTPET.js +11 -12
- package/lib/commonjs/components/executiontasks/validateOTP/ValidateOTPET.js.map +1 -1
- package/lib/commonjs/components/executiontasks/validateOTP/components/ContactListView.js +7 -8
- package/lib/commonjs/components/executiontasks/validateOTP/components/ContactListView.js.map +1 -1
- package/lib/commonjs/components/executiontasks/validateOTP/components/OTPView.js +11 -12
- 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 +8 -9
- 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 +11 -12
- package/lib/commonjs/components/widgets/CancelOrderDialog.js.map +1 -1
- package/lib/commonjs/components/widgets/Card.js +12 -12
- package/lib/commonjs/components/widgets/Card.js.map +1 -1
- package/lib/commonjs/components/widgets/ModalWidget.js +10 -10
- package/lib/commonjs/components/widgets/ModalWidget.js.map +1 -1
- package/lib/commonjs/components/widgets/SearchBar.js +10 -9
- package/lib/commonjs/components/widgets/SearchBar.js.map +1 -1
- package/lib/commonjs/components/widgets/SnackBarCustom.js +18 -18
- package/lib/commonjs/components/widgets/SnackBarCustom.js.map +1 -1
- package/lib/commonjs/components/widgets/SplitTextInput.js +8 -9
- package/lib/commonjs/components/widgets/SplitTextInput.js.map +1 -1
- package/lib/commonjs/components/widgets/TabsComponent.js +7 -8
- 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/index.js +27 -28
- package/lib/commonjs/index.js.map +1 -1
- package/lib/commonjs/locale/i18n.js +2 -0
- package/lib/commonjs/locale/i18n.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/ReasonCodeContainer.js +1 -2
- package/lib/commonjs/manager/dispatchCodes/ReasonCodeContainer.js.map +1 -1
- package/lib/commonjs/manager/sdk/DispatchSDKManager.js +1 -16
- package/lib/commonjs/manager/sdk/DispatchSDKManager.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/database.js +1 -2
- package/lib/commonjs/manager/syncmanager/database.js.map +1 -1
- package/lib/commonjs/manager/syncmanager/document/DocumentHttpClient.js +15 -16
- package/lib/commonjs/manager/syncmanager/document/DocumentHttpClient.js.map +1 -1
- package/lib/commonjs/manager/syncmanager/document/DocumentSyncManager.js +39 -40
- package/lib/commonjs/manager/syncmanager/document/DocumentSyncManager.js.map +1 -1
- package/lib/commonjs/manager/syncmanager/events/ETEventsManager.js +1 -2
- 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/sdk.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/types/latlng-to-dms.d.js +2 -0
- package/lib/commonjs/types/latlng-to-dms.d.js.map +1 -0
- 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 +12 -13
- 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 +8 -9
- package/lib/commonjs/ui/screens/DoodleScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/DropCashScreen.js +8 -9
- package/lib/commonjs/ui/screens/DropCashScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/FormsScreen.js +7 -8
- package/lib/commonjs/ui/screens/FormsScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/GeofenceScreen.js +8 -9
- package/lib/commonjs/ui/screens/GeofenceScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/ImageCaptureScreen.js +8 -9
- package/lib/commonjs/ui/screens/ImageCaptureScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/PaymentScreen.js +8 -9
- package/lib/commonjs/ui/screens/PaymentScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/PickupScreen.js +8 -9
- 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 +8 -9
- 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/SdkUtils.js +1 -2
- package/lib/commonjs/utils/SdkUtils.js.map +1 -1
- package/lib/commonjs/utils/SyncManagerUtils.js +1 -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/events/AnalyticsModels.js +2 -0
- package/lib/module/analytics/events/AnalyticsModels.js.map +1 -0
- package/lib/module/analytics/{sentry/SentrySdkConstants.js → events/AnalyticsSdkConstants.js} +23 -23
- package/lib/module/analytics/events/AnalyticsSdkConstants.js.map +1 -0
- package/lib/module/analytics/{sentry/SentryAnalyticsSingleton.js → events/AnalyticsSingleton.js} +10 -10
- package/lib/module/analytics/events/AnalyticsSingleton.js.map +1 -0
- package/lib/module/analytics/{sentry/SentryAnalyticsUtils.js → events/AnalyticsUtils.js} +13 -16
- package/lib/module/analytics/events/AnalyticsUtils.js.map +1 -0
- package/lib/module/analytics/firebase/FirebaseLogging.js +2 -2
- package/lib/module/analytics/firebase/FirebaseLogging.js.map +1 -1
- package/lib/module/components/executiontasks/cancellation/CancelET.js +10 -10
- package/lib/module/components/executiontasks/cancellation/CancelET.js.map +1 -1
- package/lib/module/components/executiontasks/captureInput/CaptureText.js +5 -5
- package/lib/module/components/executiontasks/captureInput/CaptureText.js.map +1 -1
- package/lib/module/components/executiontasks/collectPayment/components/ProcessPayment.js +7 -7
- package/lib/module/components/executiontasks/collectPayment/components/ProcessPayment.js.map +1 -1
- package/lib/module/components/executiontasks/deliver/DeliverET.js +4 -4
- package/lib/module/components/executiontasks/deliver/DeliverET.js.map +1 -1
- package/lib/module/components/executiontasks/deliver/SLDeliverET.js +9 -9
- package/lib/module/components/executiontasks/deliver/SLDeliverET.js.map +1 -1
- package/lib/module/components/executiontasks/display/DisplayModalET.js +4 -4
- package/lib/module/components/executiontasks/display/DisplayModalET.js.map +1 -1
- package/lib/module/components/executiontasks/doodle/SignatureET.js +7 -7
- package/lib/module/components/executiontasks/doodle/SignatureET.js.map +1 -1
- package/lib/module/components/executiontasks/dropCash/DropCashET.js +4 -4
- package/lib/module/components/executiontasks/dropCash/DropCashET.js.map +1 -1
- package/lib/module/components/executiontasks/dropCash/SLDropCash.js +5 -5
- package/lib/module/components/executiontasks/dropCash/SLDropCash.js.map +1 -1
- package/lib/module/components/executiontasks/forms/widgets/DateTimeWidget.js +3 -3
- package/lib/module/components/executiontasks/forms/widgets/DateTimeWidget.js.map +1 -1
- package/lib/module/components/executiontasks/forms/widgets/QRBarcodeScannerWidget.js +5 -5
- package/lib/module/components/executiontasks/forms/widgets/QRBarcodeScannerWidget.js.map +1 -1
- package/lib/module/components/executiontasks/imageCapture/ImageCapture.js +9 -9
- package/lib/module/components/executiontasks/imageCapture/ImageCapture.js.map +1 -1
- package/lib/module/components/executiontasks/payments/completePayment/CompletePaymentET.js +5 -5
- package/lib/module/components/executiontasks/payments/completePayment/CompletePaymentET.js.map +1 -1
- package/lib/module/components/executiontasks/payments/init/InitPaymentET.js +7 -7
- package/lib/module/components/executiontasks/payments/init/InitPaymentET.js.map +1 -1
- package/lib/module/components/executiontasks/payments/processPayment/ProcessPaymentET.js +5 -5
- package/lib/module/components/executiontasks/payments/processPayment/ProcessPaymentET.js.map +1 -1
- package/lib/module/components/executiontasks/pickup/PickupET.js +4 -4
- package/lib/module/components/executiontasks/pickup/PickupET.js.map +1 -1
- package/lib/module/components/executiontasks/pickup/SLPickupET.js +8 -8
- package/lib/module/components/executiontasks/pickup/SLPickupET.js.map +1 -1
- package/lib/module/components/executiontasks/scan/ScanET.js +9 -9
- package/lib/module/components/executiontasks/scan/ScanET.js.map +1 -1
- package/lib/module/components/executiontasks/scan/sub_components/SummaryPage.js +8 -8
- package/lib/module/components/executiontasks/scan/sub_components/SummaryPage.js.map +1 -1
- package/lib/module/components/executiontasks/validateOTP/ValidateOTPET.js +4 -4
- package/lib/module/components/executiontasks/validateOTP/ValidateOTPET.js.map +1 -1
- package/lib/module/components/executiontasks/validateOTP/components/ContactListView.js +3 -3
- package/lib/module/components/executiontasks/validateOTP/components/ContactListView.js.map +1 -1
- package/lib/module/components/executiontasks/validateOTP/components/OTPView.js +4 -4
- 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 +4 -4
- package/lib/module/components/executiontasks/verifyOtp/VerifyOtpET.js.map +1 -1
- package/lib/module/components/widgets/CancelOrderDialog.js +4 -4
- package/lib/module/components/widgets/CancelOrderDialog.js.map +1 -1
- package/lib/module/components/widgets/Card.js +5 -5
- package/lib/module/components/widgets/Card.js.map +1 -1
- package/lib/module/components/widgets/ModalWidget.js +4 -4
- package/lib/module/components/widgets/ModalWidget.js.map +1 -1
- package/lib/module/components/widgets/SearchBar.js +5 -4
- package/lib/module/components/widgets/SearchBar.js.map +1 -1
- package/lib/module/components/widgets/SnackBarCustom.js +9 -9
- package/lib/module/components/widgets/SnackBarCustom.js.map +1 -1
- package/lib/module/components/widgets/SplitTextInput.js +4 -4
- package/lib/module/components/widgets/SplitTextInput.js.map +1 -1
- package/lib/module/components/widgets/TabsComponent.js +3 -3
- package/lib/module/components/widgets/TabsComponent.js.map +1 -1
- package/lib/module/index.js +6 -6
- package/lib/module/index.js.map +1 -1
- package/lib/module/locale/i18n.js +2 -0
- package/lib/module/locale/i18n.js.map +1 -1
- package/lib/module/manager/sdk/DispatchSDKManager.js +1 -14
- package/lib/module/manager/sdk/DispatchSDKManager.js.map +1 -1
- package/lib/module/manager/syncmanager/document/DocumentHttpClient.js +6 -6
- package/lib/module/manager/syncmanager/document/DocumentHttpClient.js.map +1 -1
- package/lib/module/manager/syncmanager/document/DocumentSyncManager.js +14 -14
- package/lib/module/manager/syncmanager/document/DocumentSyncManager.js.map +1 -1
- package/lib/module/models/sdk.js.map +1 -1
- package/lib/module/types/latlng-to-dms.d.js +2 -0
- package/lib/module/types/latlng-to-dms.d.js.map +1 -0
- package/lib/module/ui/screens/DeliverScreen.js +5 -5
- package/lib/module/ui/screens/DeliverScreen.js.map +1 -1
- package/lib/module/ui/screens/DoodleScreen.js +4 -4
- package/lib/module/ui/screens/DoodleScreen.js.map +1 -1
- package/lib/module/ui/screens/DropCashScreen.js +4 -4
- package/lib/module/ui/screens/DropCashScreen.js.map +1 -1
- package/lib/module/ui/screens/FormsScreen.js +3 -3
- package/lib/module/ui/screens/FormsScreen.js.map +1 -1
- package/lib/module/ui/screens/GeofenceScreen.js +4 -4
- package/lib/module/ui/screens/GeofenceScreen.js.map +1 -1
- package/lib/module/ui/screens/ImageCaptureScreen.js +4 -4
- package/lib/module/ui/screens/ImageCaptureScreen.js.map +1 -1
- package/lib/module/ui/screens/PaymentScreen.js +4 -4
- package/lib/module/ui/screens/PaymentScreen.js.map +1 -1
- package/lib/module/ui/screens/PickupScreen.js +4 -4
- package/lib/module/ui/screens/PickupScreen.js.map +1 -1
- package/lib/module/ui/screens/ValidateOTPScreen.js +4 -4
- package/lib/module/ui/screens/ValidateOTPScreen.js.map +1 -1
- package/lib/typescript/src/analytics/events/AnalyticsModels.d.ts +30 -0
- package/lib/typescript/src/analytics/{sentry/SentrySdkConstants.d.ts → events/AnalyticsSdkConstants.d.ts} +1 -1
- package/lib/typescript/src/analytics/{sentry/SentryAnalyticsSingleton.d.ts → events/AnalyticsSingleton.d.ts} +3 -3
- package/lib/typescript/src/analytics/events/AnalyticsUtils.d.ts +2 -0
- package/lib/typescript/src/analytics/firebase/FirebaseLogging.d.ts +2 -2
- package/lib/typescript/src/components/executiontasks/httpRequest/HttpEtUtils.d.ts +1 -1
- package/lib/typescript/src/index.d.ts +5 -5
- package/lib/typescript/src/models/sdk.d.ts +0 -5
- package/lib/typescript/src/network/GraphQLClient.d.ts +5 -5
- package/lib/typescript/src/network/NetworkClient.d.ts +3 -3
- package/lib/typescript/src/network/client.d.ts +1 -1
- package/lib/typescript/src/resources/Login.d.ts +7 -7
- package/lib/typescript/src/resources/network.d.ts +1 -1
- package/lib/typescript/src/utils/ApiUtils.d.ts +2 -2
- package/package.json +79 -75
- package/src/analytics/events/AnalyticsModels.ts +32 -0
- package/src/analytics/{sentry/SentrySdkConstants.ts → events/AnalyticsSdkConstants.ts} +1 -1
- package/src/analytics/{sentry/SentryAnalyticsSingleton.ts → events/AnalyticsSingleton.ts} +8 -8
- package/src/analytics/{sentry/SentryAnalyticsUtils.ts → events/AnalyticsUtils.ts} +17 -21
- package/src/analytics/firebase/FirebaseLogging.ts +7 -7
- package/src/components/executiontasks/cancellation/CancelET.tsx +10 -10
- package/src/components/executiontasks/captureInput/CaptureText.tsx +5 -5
- package/src/components/executiontasks/collectPayment/components/ProcessPayment.tsx +8 -8
- package/src/components/executiontasks/deliver/DeliverET.tsx +4 -4
- package/src/components/executiontasks/deliver/SLDeliverET.tsx +10 -10
- package/src/components/executiontasks/display/DisplayModalET.tsx +4 -4
- package/src/components/executiontasks/doodle/SignatureET.tsx +7 -7
- package/src/components/executiontasks/dropCash/DropCashET.tsx +4 -4
- package/src/components/executiontasks/dropCash/SLDropCash.tsx +6 -6
- package/src/components/executiontasks/forms/widgets/DateTimeWidget.tsx +3 -3
- package/src/components/executiontasks/forms/widgets/QRBarcodeScannerWidget.tsx +5 -5
- package/src/components/executiontasks/imageCapture/ImageCapture.tsx +9 -9
- package/src/components/executiontasks/payments/completePayment/CompletePaymentET.tsx +5 -5
- package/src/components/executiontasks/payments/init/InitPaymentET.tsx +7 -7
- package/src/components/executiontasks/payments/processPayment/ProcessPaymentET.tsx +5 -5
- package/src/components/executiontasks/pickup/PickupET.tsx +4 -4
- package/src/components/executiontasks/pickup/SLPickupET.tsx +8 -8
- package/src/components/executiontasks/scan/ScanET.tsx +9 -9
- package/src/components/executiontasks/scan/sub_components/SummaryPage.tsx +8 -8
- package/src/components/executiontasks/validateOTP/ValidateOTPET.tsx +5 -5
- package/src/components/executiontasks/validateOTP/components/ContactListView.tsx +4 -4
- package/src/components/executiontasks/validateOTP/components/OTPView.tsx +5 -5
- package/src/components/executiontasks/validateOTP/components/VerificationComplete.tsx +7 -7
- package/src/components/executiontasks/verifyOtp/VerifyOtpET.tsx +4 -4
- package/src/components/widgets/CancelOrderDialog.tsx +4 -4
- package/src/components/widgets/Card.tsx +5 -5
- package/src/components/widgets/ModalWidget.tsx +5 -5
- package/src/components/widgets/SearchBar.tsx +5 -4
- package/src/components/widgets/SnackBarCustom.tsx +10 -10
- package/src/components/widgets/SplitTextInput.tsx +5 -5
- package/src/components/widgets/TabsComponent.tsx +3 -3
- package/src/index.tsx +6 -6
- package/src/locale/i18n.ts +3 -0
- package/src/manager/sdk/DispatchSDKManager.ts +0 -14
- package/src/manager/syncmanager/document/DocumentHttpClient.ts +6 -6
- package/src/manager/syncmanager/document/DocumentSyncManager.ts +14 -14
- package/src/models/sdk.ts +0 -5
- package/src/types/latlng-to-dms.d.ts +4 -0
- package/src/ui/screens/DeliverScreen.tsx +5 -5
- package/src/ui/screens/DoodleScreen.tsx +4 -4
- package/src/ui/screens/DropCashScreen.tsx +4 -4
- package/src/ui/screens/FormsScreen.tsx +3 -3
- package/src/ui/screens/GeofenceScreen.tsx +4 -4
- package/src/ui/screens/ImageCaptureScreen.tsx +4 -4
- package/src/ui/screens/PaymentScreen.tsx +4 -4
- package/src/ui/screens/PickupScreen.tsx +4 -4
- package/src/ui/screens/ValidateOTPScreen.tsx +5 -5
- 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/dependencies-accessors/gc.properties +0 -0
- package/android/.gradle/8.10.2/executionHistory/executionHistory.lock +0 -0
- package/android/.gradle/8.10.2/fileChanges/last-build.bin +0 -0
- package/android/.gradle/8.10.2/fileHashes/fileHashes.bin +0 -0
- package/android/.gradle/8.10.2/fileHashes/fileHashes.lock +0 -0
- package/android/.gradle/8.10.2/fileHashes/resourceHashesCache.bin +0 -0
- package/android/.gradle/8.10.2/gc.properties +0 -0
- package/android/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
- package/android/.gradle/buildOutputCleanup/cache.properties +0 -2
- package/android/.gradle/checksums/checksums.lock +0 -0
- package/android/.gradle/config.properties +0 -2
- package/android/.gradle/configuration-cache/gc.properties +0 -0
- package/android/.gradle/vcs-1/gc.properties +0 -0
- package/android/.idea/AndroidProjectSystem.xml +0 -6
- package/android/.idea/caches/deviceStreaming.xml +0 -860
- package/android/.idea/compiler.xml +0 -6
- package/android/.idea/gradle.xml +0 -19
- package/android/.idea/kotlinc.xml +0 -6
- package/android/.idea/migrations.xml +0 -10
- package/android/.idea/misc.xml +0 -9
- package/android/.idea/runConfigurations.xml +0 -17
- package/android/.idea/studiobot.xml +0 -6
- package/android/.idea/vcs.xml +0 -6
- package/lib/commonjs/analytics/sentry/SentryAnalyticsSingleton.js.map +0 -1
- package/lib/commonjs/analytics/sentry/SentryAnalyticsUtils.js.map +0 -1
- package/lib/commonjs/analytics/sentry/SentryModels.js +0 -6
- package/lib/commonjs/analytics/sentry/SentryModels.js.map +0 -1
- package/lib/commonjs/analytics/sentry/SentrySdkConstants.js.map +0 -1
- package/lib/module/analytics/sentry/SentryAnalyticsSingleton.js.map +0 -1
- package/lib/module/analytics/sentry/SentryAnalyticsUtils.js.map +0 -1
- package/lib/module/analytics/sentry/SentryModels.js +0 -2
- package/lib/module/analytics/sentry/SentryModels.js.map +0 -1
- package/lib/module/analytics/sentry/SentrySdkConstants.js.map +0 -1
- package/lib/typescript/src/analytics/sentry/SentryAnalyticsUtils.d.ts +0 -2
- package/lib/typescript/src/analytics/sentry/SentryModels.d.ts +0 -15
- package/src/analytics/sentry/SentryModels.ts +0 -18
|
@@ -17,9 +17,9 @@ import Marker, { Position, TextBackgroundType, ImageFormat } from 'react-native-
|
|
|
17
17
|
import RNFS from 'react-native-fs';
|
|
18
18
|
import Storage from '../../../utils/storage';
|
|
19
19
|
import { Platform } from 'react-native';
|
|
20
|
-
import {
|
|
21
|
-
import { fireEventWithScreenName } from '../../../analytics/
|
|
22
|
-
|
|
20
|
+
import { EventNameSdkConstants, SeverityLevelValue } from '../../../analytics/events/AnalyticsSdkConstants';
|
|
21
|
+
import { fireEventWithScreenName } from '../../../analytics/events/AnalyticsUtils';
|
|
22
|
+
import latlngToDms from 'latlng-to-dms';
|
|
23
23
|
|
|
24
24
|
|
|
25
25
|
export default class DocumentSyncManager {
|
|
@@ -70,7 +70,7 @@ export default class DocumentSyncManager {
|
|
|
70
70
|
let cta = 'startDocumentSync-NoData'
|
|
71
71
|
fireEventWithScreenName({
|
|
72
72
|
severityLevel: SeverityLevelValue.LOG,
|
|
73
|
-
eventName:
|
|
73
|
+
eventName: EventNameSdkConstants.APP_LOG,
|
|
74
74
|
screenName: cta,
|
|
75
75
|
cta: cta,
|
|
76
76
|
extraParams: {
|
|
@@ -83,7 +83,7 @@ export default class DocumentSyncManager {
|
|
|
83
83
|
let cta = 'startDocumentSync-NoNetwork'
|
|
84
84
|
fireEventWithScreenName({
|
|
85
85
|
severityLevel: SeverityLevelValue.LOG,
|
|
86
|
-
eventName:
|
|
86
|
+
eventName: EventNameSdkConstants.APP_LOG,
|
|
87
87
|
screenName: cta,
|
|
88
88
|
cta: cta,
|
|
89
89
|
extraParams: {
|
|
@@ -110,7 +110,7 @@ export default class DocumentSyncManager {
|
|
|
110
110
|
};
|
|
111
111
|
fireEventWithScreenName({
|
|
112
112
|
severityLevel: SeverityLevelValue.LOG,
|
|
113
|
-
eventName:
|
|
113
|
+
eventName: EventNameSdkConstants.APP_LOG,
|
|
114
114
|
screenName: cta,
|
|
115
115
|
cta: cta,
|
|
116
116
|
extraParams: {
|
|
@@ -128,7 +128,7 @@ export default class DocumentSyncManager {
|
|
|
128
128
|
let cta = 'startDocumentSync-max-count-reach-in-progress'
|
|
129
129
|
fireEventWithScreenName({
|
|
130
130
|
severityLevel: SeverityLevelValue.LOG,
|
|
131
|
-
eventName:
|
|
131
|
+
eventName: EventNameSdkConstants.APP_LOG,
|
|
132
132
|
screenName: cta,
|
|
133
133
|
cta: cta,
|
|
134
134
|
extraParams: {
|
|
@@ -191,7 +191,7 @@ export default class DocumentSyncManager {
|
|
|
191
191
|
let cta = 'insertDocument'
|
|
192
192
|
fireEventWithScreenName({
|
|
193
193
|
severityLevel: SeverityLevelValue.LOG,
|
|
194
|
-
eventName:
|
|
194
|
+
eventName: EventNameSdkConstants.APP_LOG,
|
|
195
195
|
screenName: cta,
|
|
196
196
|
cta: cta,
|
|
197
197
|
extraParams: {
|
|
@@ -239,7 +239,7 @@ export default class DocumentSyncManager {
|
|
|
239
239
|
let cta = 'updateDocumentWithAttempt-success'
|
|
240
240
|
fireEventWithScreenName({
|
|
241
241
|
severityLevel: SeverityLevelValue.LOG,
|
|
242
|
-
eventName:
|
|
242
|
+
eventName: EventNameSdkConstants.APP_LOG,
|
|
243
243
|
screenName: cta,
|
|
244
244
|
cta: cta,
|
|
245
245
|
extraParams: {
|
|
@@ -421,7 +421,7 @@ export default class DocumentSyncManager {
|
|
|
421
421
|
try {
|
|
422
422
|
fireEventWithScreenName({
|
|
423
423
|
severityLevel: SeverityLevelValue.LOG,
|
|
424
|
-
eventName:
|
|
424
|
+
eventName: EventNameSdkConstants.APP_LOG,
|
|
425
425
|
screenName: cta,
|
|
426
426
|
cta: cta,
|
|
427
427
|
extraParams: extra,
|
|
@@ -521,7 +521,7 @@ export default class DocumentSyncManager {
|
|
|
521
521
|
};
|
|
522
522
|
fireEventWithScreenName({
|
|
523
523
|
severityLevel: SeverityLevelValue.LOG,
|
|
524
|
-
eventName:
|
|
524
|
+
eventName: EventNameSdkConstants.APP_LOG,
|
|
525
525
|
screenName: cta,
|
|
526
526
|
cta: cta,
|
|
527
527
|
extraParams: extra,
|
|
@@ -560,7 +560,7 @@ export default class DocumentSyncManager {
|
|
|
560
560
|
};
|
|
561
561
|
fireEventWithScreenName({
|
|
562
562
|
severityLevel: SeverityLevelValue.LOG,
|
|
563
|
-
eventName:
|
|
563
|
+
eventName: EventNameSdkConstants.APP_LOG,
|
|
564
564
|
screenName: cta,
|
|
565
565
|
cta: cta,
|
|
566
566
|
extraParams: extra,
|
|
@@ -601,7 +601,7 @@ export default class DocumentSyncManager {
|
|
|
601
601
|
let cta = 'uploadDocToServer-empty-fms-id'
|
|
602
602
|
fireEventWithScreenName({
|
|
603
603
|
severityLevel: SeverityLevelValue.LOG,
|
|
604
|
-
eventName:
|
|
604
|
+
eventName: EventNameSdkConstants.APP_LOG,
|
|
605
605
|
screenName: cta,
|
|
606
606
|
cta: cta,
|
|
607
607
|
extraParams: extraParameters,
|
|
@@ -641,7 +641,7 @@ export default class DocumentSyncManager {
|
|
|
641
641
|
let cta = 'startSyncAfterMaxRetry-max-retry-reached'
|
|
642
642
|
fireEventWithScreenName({
|
|
643
643
|
severityLevel: SeverityLevelValue.LOG,
|
|
644
|
-
eventName:
|
|
644
|
+
eventName: EventNameSdkConstants.APP_LOG,
|
|
645
645
|
screenName: cta,
|
|
646
646
|
cta: cta,
|
|
647
647
|
extraParams: extraParameters ? extraParameters : error,
|
package/src/models/sdk.ts
CHANGED
|
@@ -14,11 +14,6 @@ export interface DispatchSDKConfig {
|
|
|
14
14
|
enableLogging?: boolean;
|
|
15
15
|
syncRetryCount?: number;
|
|
16
16
|
accessToken: string;
|
|
17
|
-
sentry?: {
|
|
18
|
-
env: ENVIRONMENT;
|
|
19
|
-
enabled: boolean;
|
|
20
|
-
dsn?: string;
|
|
21
|
-
};
|
|
22
17
|
notificationConfig?: {
|
|
23
18
|
title: string;
|
|
24
19
|
description: string;
|
|
@@ -12,8 +12,8 @@ import { DispatchExecutor } from '@os1-platform/platform-coreos-execution-engine
|
|
|
12
12
|
import Storage from '../../utils/storage';
|
|
13
13
|
import { GO_BACK_EVENT_CODE } from '../../constants/constants';
|
|
14
14
|
import Helper from '../../utils/helper';
|
|
15
|
-
import { ScreenNameSdkConstants,
|
|
16
|
-
import { fireEventWithScreenName } from '../../analytics/
|
|
15
|
+
import { ScreenNameSdkConstants, EventNameSdkConstants, SeverityLevelValue } from '../../analytics/events/AnalyticsSdkConstants';
|
|
16
|
+
import { fireEventWithScreenName } from '../../analytics/events/AnalyticsUtils';
|
|
17
17
|
import { PROGRESS_GROUP } from '../../utils/Constants';
|
|
18
18
|
import Logger from '../../utils/Logger';
|
|
19
19
|
|
|
@@ -38,11 +38,11 @@ const DeliverScreen = ({
|
|
|
38
38
|
|
|
39
39
|
useEffect(() => {
|
|
40
40
|
(async () => {
|
|
41
|
-
//fire
|
|
41
|
+
//fire analytics event
|
|
42
42
|
if (input?.title != null && input?.title?.toString()?.length > 0 && input?.title?.toString()?.toLowerCase()?.includes("return")) {
|
|
43
|
-
fireEventWithScreenName({ severityLevel: SeverityLevelValue.LOG, eventName:
|
|
43
|
+
fireEventWithScreenName({ severityLevel: SeverityLevelValue.LOG, eventName: EventNameSdkConstants.RETURN_ORDER_ET_OPENED, screenName: ScreenNameSdkConstants.RETURN_ORDER_ET_SCREEN });
|
|
44
44
|
} else {
|
|
45
|
-
fireEventWithScreenName({ severityLevel: SeverityLevelValue.LOG, eventName:
|
|
45
|
+
fireEventWithScreenName({ severityLevel: SeverityLevelValue.LOG, eventName: EventNameSdkConstants.DELIVER_ET_OPENED, screenName: ScreenNameSdkConstants.DELIVER_ET_SCREEN });
|
|
46
46
|
}
|
|
47
47
|
//
|
|
48
48
|
onTaskStart(
|
|
@@ -10,8 +10,8 @@ import CancelOrderDialog from '../../components/widgets/CancelOrderDialog';
|
|
|
10
10
|
import { onTaskStart } from '../../utils/ExecTaskUtils';
|
|
11
11
|
import { GO_BACK_EVENT_CODE } from '../../constants/constants';
|
|
12
12
|
import Helper from '../../utils/helper';
|
|
13
|
-
import { ScreenNameSdkConstants,
|
|
14
|
-
import { fireEventWithScreenName } from '../../analytics/
|
|
13
|
+
import { ScreenNameSdkConstants, EventNameSdkConstants, SeverityLevelValue } from '../../analytics/events/AnalyticsSdkConstants';
|
|
14
|
+
import { fireEventWithScreenName } from '../../analytics/events/AnalyticsUtils';
|
|
15
15
|
|
|
16
16
|
const DoodleScreen = ({
|
|
17
17
|
route,
|
|
@@ -38,8 +38,8 @@ const DoodleScreen = ({
|
|
|
38
38
|
|
|
39
39
|
useEffect(() => {
|
|
40
40
|
(async () => {
|
|
41
|
-
//fire
|
|
42
|
-
fireEventWithScreenName({severityLevel:SeverityLevelValue.LOG, eventName:
|
|
41
|
+
//fire analytics event
|
|
42
|
+
fireEventWithScreenName({severityLevel:SeverityLevelValue.LOG, eventName:EventNameSdkConstants.SIGNATURE_ET_OPENED, screenName:ScreenNameSdkConstants.SIGNATURE_ET_SCREEN});
|
|
43
43
|
//
|
|
44
44
|
await getSelfLoopBool();
|
|
45
45
|
})();
|
|
@@ -12,8 +12,8 @@ import { getBaseETResponse, onTaskStart } from '../../utils/ExecTaskUtils';
|
|
|
12
12
|
import { DispatchExecutor } from '@os1-platform/platform-coreos-execution-engine-sdk';
|
|
13
13
|
import { GO_BACK_EVENT_CODE } from '../../constants/constants';
|
|
14
14
|
import Helper from '../../utils/helper';
|
|
15
|
-
import { ScreenNameSdkConstants,
|
|
16
|
-
import { fireEventWithScreenName } from '../../analytics/
|
|
15
|
+
import { ScreenNameSdkConstants, EventNameSdkConstants, SeverityLevelValue } from '../../analytics/events/AnalyticsSdkConstants';
|
|
16
|
+
import { fireEventWithScreenName } from '../../analytics/events/AnalyticsUtils';
|
|
17
17
|
import ProgressDialog from '../../components/widgets/ProgressDialog';
|
|
18
18
|
import { getEventCodeByET } from '../../manager/dispatchCodes/EventCodeContainer';
|
|
19
19
|
import Logger from '../../utils/Logger';
|
|
@@ -57,8 +57,8 @@ const DropCashScreen = ({
|
|
|
57
57
|
|
|
58
58
|
useEffect(() => {
|
|
59
59
|
(async () => {
|
|
60
|
-
//fire
|
|
61
|
-
fireEventWithScreenName({ severityLevel: SeverityLevelValue.LOG, eventName:
|
|
60
|
+
//fire analytics event
|
|
61
|
+
fireEventWithScreenName({ severityLevel: SeverityLevelValue.LOG, eventName: EventNameSdkConstants.RETURN_CASH_ET_OPENED, screenName: ScreenNameSdkConstants.RETURN_CASH_ET_SCREEN });
|
|
62
62
|
//
|
|
63
63
|
onTaskStart(
|
|
64
64
|
nextState,
|
|
@@ -14,8 +14,8 @@ import callbackHandler from '../../manager/sdk/callbacksHandler';
|
|
|
14
14
|
import { DispatchExecutor as dispatchExecutor } from '@os1-platform/platform-coreos-execution-engine-sdk';
|
|
15
15
|
import { AjvError } from '@rjsf/core';
|
|
16
16
|
import Helper from '../../utils/helper';
|
|
17
|
-
import { ScreenNameSdkConstants,
|
|
18
|
-
import { fireEventWithScreenName } from '../../analytics/
|
|
17
|
+
import { ScreenNameSdkConstants, EventNameSdkConstants, SeverityLevelValue } from '../../analytics/events/AnalyticsSdkConstants';
|
|
18
|
+
import { fireEventWithScreenName } from '../../analytics/events/AnalyticsUtils';
|
|
19
19
|
import { PROGRESS_GROUP } from '../../utils/Constants';
|
|
20
20
|
import Storage from '../../utils/storage';
|
|
21
21
|
|
|
@@ -42,7 +42,7 @@ const FormsScreen = ({
|
|
|
42
42
|
|
|
43
43
|
useEffect(() => {
|
|
44
44
|
(async () => {
|
|
45
|
-
fireEventWithScreenName({ severityLevel: SeverityLevelValue.LOG, eventName:
|
|
45
|
+
fireEventWithScreenName({ severityLevel: SeverityLevelValue.LOG, eventName: EventNameSdkConstants.FORM_ET_OPENED, screenName: ScreenNameSdkConstants.FORM_ET_SCREEN });
|
|
46
46
|
onTaskStart(
|
|
47
47
|
route.params[RouteParams.NEXT_STATES],
|
|
48
48
|
route.params[RouteParams.ROOT_META_DATA].customEventsData
|
|
@@ -7,8 +7,8 @@ import type { BaseETProps } from '../../models/DispatchModels';
|
|
|
7
7
|
import DispatchStateContainer from '../../manager/dispatch/DispatchStateContainer';
|
|
8
8
|
import { RouteParams, getDataFromNextState } from '../uiConfig/RouteParams';
|
|
9
9
|
import { onTaskStart } from '../../utils/ExecTaskUtils';
|
|
10
|
-
import { ScreenNameSdkConstants,
|
|
11
|
-
import { fireEventWithScreenName } from '../../analytics/
|
|
10
|
+
import { ScreenNameSdkConstants, EventNameSdkConstants, SeverityLevelValue } from '../../analytics/events/AnalyticsSdkConstants';
|
|
11
|
+
import { fireEventWithScreenName } from '../../analytics/events/AnalyticsUtils';
|
|
12
12
|
|
|
13
13
|
const GeofenceScreen = ({
|
|
14
14
|
route,
|
|
@@ -25,8 +25,8 @@ const GeofenceScreen = ({
|
|
|
25
25
|
|
|
26
26
|
useEffect(() => {
|
|
27
27
|
(async () => {
|
|
28
|
-
//fire
|
|
29
|
-
fireEventWithScreenName({severityLevel:SeverityLevelValue.LOG, eventName:
|
|
28
|
+
//fire analytics event
|
|
29
|
+
fireEventWithScreenName({severityLevel:SeverityLevelValue.LOG, eventName:EventNameSdkConstants.VERIFY_LOCATION_ET_OPENED, screenName:ScreenNameSdkConstants.VERIFY_LOCATION_ET_SCREEN});
|
|
30
30
|
})();
|
|
31
31
|
}, []);
|
|
32
32
|
|
|
@@ -8,8 +8,8 @@ import { RouteParams, getDataFromNextState } from '../uiConfig/RouteParams';
|
|
|
8
8
|
import { onTaskStart } from '../../utils/ExecTaskUtils';
|
|
9
9
|
import { DispatchExecutor } from '@os1-platform/platform-coreos-execution-engine-sdk';
|
|
10
10
|
import Helper from '../../utils/helper';
|
|
11
|
-
import { ScreenNameSdkConstants,
|
|
12
|
-
import { fireEventWithScreenName } from '../../analytics/
|
|
11
|
+
import { ScreenNameSdkConstants, EventNameSdkConstants, SeverityLevelValue } from '../../analytics/events/AnalyticsSdkConstants';
|
|
12
|
+
import { fireEventWithScreenName } from '../../analytics/events/AnalyticsUtils';
|
|
13
13
|
import Logger from '../../utils/Logger';
|
|
14
14
|
|
|
15
15
|
|
|
@@ -33,8 +33,8 @@ const ImageCaptureScreen = ({
|
|
|
33
33
|
|
|
34
34
|
useEffect(() => {
|
|
35
35
|
(async () => {
|
|
36
|
-
//fire
|
|
37
|
-
fireEventWithScreenName({ severityLevel: SeverityLevelValue.LOG, eventName:
|
|
36
|
+
//fire analytics event
|
|
37
|
+
fireEventWithScreenName({ severityLevel: SeverityLevelValue.LOG, eventName: EventNameSdkConstants.CAPTURE_IMAGE_ET_OPENED, screenName: ScreenNameSdkConstants.CAPTURE_IMAGE_ET_SCREEN });
|
|
38
38
|
//
|
|
39
39
|
onTaskStart(
|
|
40
40
|
route.params[RouteParams.NEXT_STATES],
|
|
@@ -21,8 +21,8 @@ import { useEffect } from 'react';
|
|
|
21
21
|
import { IDispatch } from '@os1-platform/platform-coreos-execution-engine-sdk';
|
|
22
22
|
import { GO_BACK_EVENT_CODE } from '../../constants/constants';
|
|
23
23
|
import Helper from '../../utils/helper';
|
|
24
|
-
import { ScreenNameSdkConstants,
|
|
25
|
-
import { fireEventWithScreenName } from '../../analytics/
|
|
24
|
+
import { ScreenNameSdkConstants, EventNameSdkConstants, SeverityLevelValue } from '../../analytics/events/AnalyticsSdkConstants';
|
|
25
|
+
import { fireEventWithScreenName } from '../../analytics/events/AnalyticsUtils';
|
|
26
26
|
|
|
27
27
|
const PaymentScreen = ({
|
|
28
28
|
navigation,
|
|
@@ -47,8 +47,8 @@ const PaymentScreen = ({
|
|
|
47
47
|
|
|
48
48
|
useEffect(() => {
|
|
49
49
|
(async () => {
|
|
50
|
-
//fire
|
|
51
|
-
fireEventWithScreenName({severityLevel:SeverityLevelValue.LOG, eventName:
|
|
50
|
+
//fire analytics event
|
|
51
|
+
fireEventWithScreenName({severityLevel:SeverityLevelValue.LOG, eventName:EventNameSdkConstants.COLLECT_CASH_ET_OPENED, screenName:ScreenNameSdkConstants.COLLECT_CASH_ET_SCREEN});
|
|
52
52
|
//
|
|
53
53
|
onTaskStart(
|
|
54
54
|
route.params[RouteParams.NEXT_STATES],
|
|
@@ -8,8 +8,8 @@ import { onTaskStart } from '../../utils/ExecTaskUtils';
|
|
|
8
8
|
import { DispatchExecutor } from '@os1-platform/platform-coreos-execution-engine-sdk';
|
|
9
9
|
import SLPickupET from '../../components/executiontasks/pickup/SLPickupET';
|
|
10
10
|
import Helper from '../../utils/helper';
|
|
11
|
-
import { ScreenNameSdkConstants,
|
|
12
|
-
import { fireEventWithScreenName } from '../../analytics/
|
|
11
|
+
import { ScreenNameSdkConstants, EventNameSdkConstants, SeverityLevelValue } from '../../analytics/events/AnalyticsSdkConstants';
|
|
12
|
+
import { fireEventWithScreenName } from '../../analytics/events/AnalyticsUtils';
|
|
13
13
|
import Logger from '../../utils/Logger';
|
|
14
14
|
|
|
15
15
|
const PickupScreen = ({
|
|
@@ -35,8 +35,8 @@ const PickupScreen = ({
|
|
|
35
35
|
|
|
36
36
|
useEffect(() => {
|
|
37
37
|
(async () => {
|
|
38
|
-
//fire
|
|
39
|
-
fireEventWithScreenName({ severityLevel: SeverityLevelValue.LOG, eventName:
|
|
38
|
+
//fire analytics event
|
|
39
|
+
fireEventWithScreenName({ severityLevel: SeverityLevelValue.LOG, eventName: EventNameSdkConstants.PICKUP_ET_OPENED, screenName: ScreenNameSdkConstants.PICKUP_ET_SCREEN });
|
|
40
40
|
//
|
|
41
41
|
onTaskStart(
|
|
42
42
|
nextState,
|
|
@@ -38,10 +38,10 @@ import { ContactType } from '../../components/executiontasks/validateOTP/Validat
|
|
|
38
38
|
// Analytics
|
|
39
39
|
import {
|
|
40
40
|
ScreenNameSdkConstants,
|
|
41
|
-
|
|
41
|
+
EventNameSdkConstants,
|
|
42
42
|
SeverityLevelValue,
|
|
43
|
-
} from '../../analytics/
|
|
44
|
-
import { fireEventWithScreenName } from '../../analytics/
|
|
43
|
+
} from '../../analytics/events/AnalyticsSdkConstants';
|
|
44
|
+
import { fireEventWithScreenName } from '../../analytics/events/AnalyticsUtils';
|
|
45
45
|
import { ValidateOTPContext } from '../../utils/context/valdiateOTPContext';
|
|
46
46
|
|
|
47
47
|
// Storage
|
|
@@ -175,11 +175,11 @@ const ValidateOTPScreen = ({
|
|
|
175
175
|
);
|
|
176
176
|
setInputs(updatedInput);
|
|
177
177
|
}
|
|
178
|
-
//fire
|
|
178
|
+
//fire analytics event
|
|
179
179
|
(async () => {
|
|
180
180
|
fireEventWithScreenName({
|
|
181
181
|
severityLevel: SeverityLevelValue.LOG,
|
|
182
|
-
eventName:
|
|
182
|
+
eventName: EventNameSdkConstants.VERIFY_OTP_ET_OPENED,
|
|
183
183
|
screenName: ScreenNameSdkConstants.VERIFY_OTP_ET_SCREEN,
|
|
184
184
|
});
|
|
185
185
|
//get SDK config
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
File without changes
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
File without changes
|
|
Binary file
|
|
Binary file
|
|
File without changes
|
|
File without changes
|