@finspringinnovations/fixeddepositsdk 1.0.2 → 1.0.4
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/lib/api/customerApi.js +1 -0
- package/lib/api/fdApi.d.ts +401 -1
- package/lib/api/fdApi.js +24 -2
- package/lib/components/PendingFDBottomSheet.js +27 -18
- package/lib/config/appDataConfig.js +3 -2
- package/lib/config/workflowConstants.d.ts +40 -30
- package/lib/config/workflowConstants.js +35 -24
- package/lib/constants/strings/fd.d.ts +2 -2
- package/lib/constants/strings/fd.js +2 -2
- package/lib/navigation/RootNavigator.js +167 -196
- package/lib/navigation/types.d.ts +4 -1
- package/lib/navigation/workflowNavigator.d.ts +1 -1
- package/lib/navigation/workflowNavigator.js +107 -26
- package/lib/screens/AadhaarVerification.js +1 -11
- package/lib/screens/AddBankAccount.js +1 -11
- package/lib/screens/BankDetail.js +1 -11
- package/lib/screens/Employee.js +1 -11
- package/lib/screens/FDCalculator.js +2 -12
- package/lib/screens/FDList.js +531 -417
- package/lib/screens/FindIFSC.js +1 -11
- package/lib/screens/NomineeDetail.js +12 -22
- package/lib/screens/PayNow.js +1 -11
- package/lib/screens/Payment.js +2 -11
- package/lib/screens/PaymentStatus.js +24 -21
- package/lib/screens/ReviewKYC.js +3 -12
- package/lib/types/workflowTypes.d.ts +1 -1
- package/package.json +50 -50
- package/src/api/customerApi.ts +1 -0
- package/src/api/fdApi.ts +28 -1
- package/src/components/PendingFDBottomSheet.tsx +151 -123
- package/src/config/appDataConfig.ts +245 -242
- package/src/config/workflowConstants.ts +51 -39
- package/src/constants/strings/bank.ts +80 -80
- package/src/constants/strings/fd.ts +2 -2
- package/src/navigation/RootNavigator.tsx +667 -651
- package/src/navigation/types.ts +4 -1
- package/src/navigation/workflowNavigator.ts +170 -107
- package/src/screens/AadhaarVerification.tsx +1 -15
- package/src/screens/AddBankAccount.tsx +2 -16
- package/src/screens/BankDetail.tsx +1 -15
- package/src/screens/Employee.tsx +1 -15
- package/src/screens/FDCalculator.tsx +4 -18
- package/src/screens/FDList.tsx +2311 -2170
- package/src/screens/FindIFSC.tsx +2 -16
- package/src/screens/NomineeDetail.tsx +762 -775
- package/src/screens/PayNow.tsx +2 -16
- package/src/screens/Payment.tsx +190 -203
- package/src/screens/PaymentStatus.tsx +574 -576
- package/src/screens/ReviewKYC.tsx +2 -15
- package/src/types/workflowTypes.ts +1 -10
|
@@ -809,22 +809,8 @@ const ReviewKYC: React.FC<ReviewKYCProps> = ({
|
|
|
809
809
|
}
|
|
810
810
|
};
|
|
811
811
|
|
|
812
|
-
//
|
|
813
|
-
useEffect(() => {
|
|
814
|
-
if (Platform.OS !== 'android') return;
|
|
815
|
-
|
|
816
|
-
const onHardwareBackPress = () => {
|
|
817
|
-
handleBackPress();
|
|
818
|
-
return true; // Prevent default behavior
|
|
819
|
-
};
|
|
812
|
+
// Removed screen-level hardware back handler to allow only header back button navigation
|
|
820
813
|
|
|
821
|
-
const backHandler = BackHandler.addEventListener(
|
|
822
|
-
'hardwareBackPress',
|
|
823
|
-
onHardwareBackPress
|
|
824
|
-
);
|
|
825
|
-
|
|
826
|
-
return () => backHandler.remove();
|
|
827
|
-
}, [defaultProviderId, workflowInstanceId, applicationId, entityId]);
|
|
828
814
|
|
|
829
815
|
return (
|
|
830
816
|
<SafeAreaWrapper
|
|
@@ -946,6 +932,7 @@ const ReviewKYC: React.FC<ReviewKYCProps> = ({
|
|
|
946
932
|
{/* Overlay to disable screen interactions during API call */}
|
|
947
933
|
{isLoadingPanRapid && (
|
|
948
934
|
<View style={styles.loadingOverlay} pointerEvents="auto">
|
|
935
|
+
<ActivityIndicator size="large" color={colors.primary} />
|
|
949
936
|
</View>
|
|
950
937
|
)}
|
|
951
938
|
{/* Loading overlay for back navigation */}
|
|
@@ -1,12 +1,3 @@
|
|
|
1
1
|
import { WORKFLOW_STATES } from '../config/workflowConstants';
|
|
2
2
|
|
|
3
|
-
export type WorkflowStateSriram =
|
|
4
|
-
| typeof WORKFLOW_STATES.START
|
|
5
|
-
| typeof WORKFLOW_STATES.INITIATION
|
|
6
|
-
| typeof WORKFLOW_STATES.CREATE_FD
|
|
7
|
-
| typeof WORKFLOW_STATES.OCCUPATION
|
|
8
|
-
| typeof WORKFLOW_STATES.NOMINEE
|
|
9
|
-
| typeof WORKFLOW_STATES.BANK_DETAILS
|
|
10
|
-
| typeof WORKFLOW_STATES.KYC
|
|
11
|
-
| typeof WORKFLOW_STATES.PAYMENT
|
|
12
|
-
| typeof WORKFLOW_STATES.END;
|
|
3
|
+
export type WorkflowStateSriram = typeof WORKFLOW_STATES[keyof typeof WORKFLOW_STATES] | string;
|