notifications

This commit is contained in:
Abin Toppo
2025-10-06 10:35:30 +05:30
parent a4fb2fe269
commit bcbad282b0
15 changed files with 1234 additions and 24 deletions
+1 -1
View File
@@ -43,7 +43,7 @@ const BecomeOrg = () => {
const token = credentials.password;
const response = await fetch(
"http://192.168.1.9:9060/api/organizer/registration/apply",
"https://api.godemo.in/FundCollect/api/organizer/registration/apply",
{
method: "POST",
headers: {
+3
View File
@@ -28,6 +28,8 @@ import { useDispatch } from "react-redux";
import { clearUser, setUserData } from "../../redux/userSlice";
import { StackNavigationProp } from "@react-navigation/stack";
import { RootStackParamList } from "../../navigation/AppNavigator";
import { firebase } from "@react-native-firebase/messaging";
import FirebaseService from "../../utils/firebase/firebaseServices";
type UserProfile = {
@@ -303,6 +305,7 @@ const Profile = () => {
return;
}
await FirebaseService.deleteFcmToken();
// Clear stored credentials
await Keychain.resetGenericPassword();