with encrypted data on envolope submit

This commit is contained in:
Abin Toppo
2026-02-05 16:03:26 +05:30
parent 499e680404
commit c1ecc97e29
56 changed files with 4788 additions and 1482 deletions
+1 -6
View File
@@ -6,7 +6,7 @@ import { useSelector } from 'react-redux';
import { useStore } from 'react-redux'; // For hydration check
import { showToast } from '../../Constant/ShowDailog';
import { useRagistrationState } from '../../Services/BBPS/Hooks';
import { useRagistrationState } from '../../Services/ApiCall/Hooks';
import NavigationString from '../../Constant/NavigationString';
// Navigation type
@@ -24,7 +24,6 @@ const Splash: React.FC = () => {
const isFocused = useIsFocused();
const fadeAnim = useRef(new Animated.Value(0)).current;
const reduxToken = useSelector((state: any) => state.token?.token);
console.log("user Token", reduxToken)
const store = useStore();
const { mutateAsync: registrationStateMutate } = useRagistrationState();
const [isHydrated, setIsHydrated] = useState(false);
@@ -54,8 +53,6 @@ const Splash: React.FC = () => {
// const orgType = params.orgType;
const orgType = "7" as string; // For testing purpose
console.log("orgType value:", orgType);
console.log("orgType type:", typeof orgType);
if (orgType === '4' || orgType === '5' || orgType === '6') {
navigation.replace(NavigationString.StageThreeScreen, params);
@@ -73,7 +70,6 @@ console.log("orgType type:", typeof orgType);
const handleGetData = async () => {
try {
const res = await registrationStateMutate();
console.log("ragister", res)
if ( res?.data?.message==="No Response From Server"&& res?.data?.success===false){
navigation.reset({
@@ -90,7 +86,6 @@ console.log("orgType type:", typeof orgType);
if (res?.statusCode === 200 && res?.data) {
const { registrationStatus, contOtherId, contOrganization } = res.data;
const params = { otherId: contOtherId, orgType: contOrganization };
console.log('Registration status:', registrationStatus);
switch (registrationStatus) {
case null: