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
+2 -5
View File
@@ -14,8 +14,8 @@ import colors from '../../Constant/Color';
import PrimaryButton from '../../Component/PrimaryButton/PrimaryButton';
import MyInput from '../../Component/MyInput';
import { showToast } from '../../Constant/ShowDailog';
import { PARTNER_API_ENDPOINT } from '../../Services/BBPS/ApiUrls';
import { usePartnerShipSubmit } from '../../Services/BBPS/Hooks';
import { PARTNER_API_ENDPOINT } from '../../Services/ApiCall/ApiUrls';
import { usePartnerShipSubmit } from '../../Services/ApiCall/Hooks';
import { useSafeAreaInsets } from 'react-native-safe-area-context';
import { Navigation } from 'lucide-react-native';
import { NavigationString } from '../../Constant/AllImports';
@@ -118,12 +118,9 @@ const Partnership = () => {
return;
}
console.log("Partner ship payload:", payload);
const response = await partnerShipSubmit(payload);
console.log("first ====== ", response)
if (response?.statusCode === 200) {
console.log('✅ Partners submitted successfully:', response);
showToast(response.message || 'Submitted successfully!');
navigation.replace(NavigationString.Home);