All Questions
3,936
questions
-1
votes
0
answers
29
views
Profile header not showing ( user not found ) error
so i have created a instagram clone in which i go to the profile section its saying user not found but in my code when i remove the "finally" block its showing only the skeleton but it ...
0
votes
2
answers
36
views
How do I retrieve data from firestore
I am trying to create a chat app using react vite and firebase, i am using firestore to store and retrieve chats, i imported getFirestore from firebase/firestore, and passed it to the "db" ...
0
votes
0
answers
198
views
Failed to load module script: Expected a JavaScript module script but server responded with MIME type 'text/html' in Vite + React Firebase project
I am encountering an issue with my Vite + React project when deploying to Firebase. The console error I receive is:
Failed to load module script: Expected a JavaScript module script but the server ...
0
votes
1
answer
25
views
"Auth/network-request-failed" on my react js project
I'm working on a learning project using react-router-dom and firebase authentication for user sign-in and sign-up. However, I'm encountering a FirebaseError: "Firebase: Error (auth/network-...
0
votes
1
answer
32
views
Firebase - RemoteConfig with custom user properties return wrong value
I am setting userProperties for custom defined property (scope user) and userId in analytics using setUserProperties and setUserId, and fetching remote config based on the setted properties.
but i am ...
0
votes
0
answers
23
views
Unable to Upload Image to Firebase in React Native, TypeError: Cannot read property 'showImagePicker' of undefined, js engine: hermes
I'm working on a React Native project where I need to upload an image to Firebase. I'm using react-native-image-picker for image selection and @react-native-firebase/firestore for interacting with ...
0
votes
1
answer
16
views
Google Cloud Functions for Firebase: How do I render an image response in React?
I'm using Google Cloud Functions for Firebase (GCFF) to make my API calls on the backend of my simple React web app. Here's a simple one that fetches a picture from Wikipedia.
I've tried many ...
0
votes
0
answers
28
views
Error: Cannot find native module 'ExponentImagePicker' when using 'expo-image-picker' with Hermes JS engine
I'm working on a React Native project where I need to upload an image to Firebase. I'm using react-native-image-picker for image selection and @react-native-firebase/firestore for interacting with ...
0
votes
1
answer
29
views
React. When calling useNavigate, redirection happens, but components do not load
Here is my simple authentication component LoginServiceProvider.tsx:
import { useState } from "react";
import {auth, googleProvider} from "../../config/firebase";
import "./...
0
votes
0
answers
22
views
How to perform a case-insensitive search based on a specific field value in Firestore? [duplicate]
I am trying to perform a query in Firestore where the field name and value should be matched irrespective of the case.
For example:
fruit = manGo , value = mango
code which considers case :
const q = ...
0
votes
2
answers
62
views
Firebase Auth, React JS, Error: "logIn is not a function"
firebaseConfig.js
// Import the functions you need from the SDKs you need
import { initializeApp } from "firebase/app";
import { getAnalytics } from "firebase/analytics";
import { ...
0
votes
0
answers
14
views
React Naive Create Group Chat Firebase Realtime Database
I create a chat app in React Native and Firebase Realtime Database first of all user can chat private that is working fine as well as user can create group chat inside the React Native appp that is ...
1
vote
1
answer
32
views
How to use the getIdToken method of firebase user after page reload in nextjs
I am working on a nextjs project, for user authentications I am using firebase's signInWithPhoneNumber for phone number verification, after successfull verification I get a firebase user which also ...
0
votes
1
answer
91
views
Got same response from firestore while retriving data using startAfter
if (startAfterDoc) {
q = query(collection(db, 'listings'), orderBy("id","desc"), startAfter(startAfterDoc), limit(4));
console.log(q)
} else {
q = query(collection(db, '...
2
votes
0
answers
139
views
incrementalCache missing in unstable_cache nextjs 14
i would like to use unstable_cache here but i am getting error above.
My ideia is caching my data that is coming from firesotre.
can someone build a code that unstable_cache works with firestore
const ...