notification

This commit is contained in:
Abin Toppo
2025-10-07 16:06:05 +05:30
parent ba3d4f7579
commit a2d2ae580f
21 changed files with 312 additions and 249 deletions
+1 -1
View File
@@ -43,7 +43,7 @@ const BecomeOrg = () => {
const token = credentials.password;
const response = await fetch(
"https://api.godemo.in/FundCollect/api/organizer/registration/apply",
"http://192.168.1.5:9060/api/organizer/registration/apply",
{
method: "POST",
headers: {
+4 -4
View File
@@ -29,7 +29,7 @@ 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";
import FirebaseService, { deleteFcmToken } from "../../utils/firebase/firebaseServices";
type UserProfile = {
@@ -305,7 +305,7 @@ const Profile = () => {
return;
}
await FirebaseService.deleteFcmToken();
await deleteFcmToken();
// Clear stored credentials
await Keychain.resetGenericPassword();
@@ -377,7 +377,7 @@ const Profile = () => {
<View style={styles.header}>
<Text style={styles.headerTitle}>User Profile</Text>
<TouchableOpacity onPress={() => confirmLogout(navigation)} style={styles.refreshButton}>
<Ionicons name="log-out-outline" size={24} color={colors.Profile} />
<Ionicons name="log-out-outline" size={24} color={colors.black} />
</TouchableOpacity>
</View>
{/* if (fetching || !user) {
@@ -701,7 +701,7 @@ const styles = StyleSheet.create({
borderBottomRightRadius: 20,
},
headerTitle: {
fontSize: 22, fontWeight: "600", color: colors.Profile
fontSize: 22, fontWeight: "600", color: colors.black
},
refreshButton: {
padding: 4,