All Questions
132 questions
4
votes
0
answers
35
views
Why are fetch and firebase function calls not executed in Expo BackgroundFetch?
My JS fetch requests and also firebase function calls are stuck when i try to run it in expo background fetch.
Axios requests are successful in the background. I can see it's response.
But fetch and ...
0
votes
1
answer
52
views
Strange behaviour when using React Native Expo Linking Library. Server URL is not being updated
I am trying to use the React Native Expo Linking Library to define a user's google cloud firestore function endpoint. I have a server URL endpoint for dev mode - localhost:5000 and one for production -...
1
vote
0
answers
17
views
How can scheduled Firebase Cloud Messaging notifications in React Native App? [duplicate]
Inside the Firebase Console, under the Cloud Messaging view, users are able to create test notifications. This functionality also allows you to schedule the time at which the notification will send to ...
1
vote
0
answers
25
views
Optimizing Calculations in React Native Expo with Firebase: Client-Side vs Cloud Functions?
I'm currently working on a home screen for my app where users can view their PNL (profit and loss) over different time frames: 1 week, 4 weeks, and 12 weeks. The PNL data is the same for all users ...
1
vote
0
answers
32
views
getStreamUserToken cloud function error 'Function must be called while authenticated', though user IS authenticated?
I'm using React Native CLI with Firebase for auth and have installed the stream chat extension, I think correctly. When I call the cloud function getStreamUserToken it just gives me the error 'The ...
1
vote
0
answers
69
views
React Native Firebase Functions on Expo not running
I am using React Native Firebase Functions in my Expo project and there is no config plugin for it yet. When I run the project I get an error message saying:
You attempted to use a firebase module ...
1
vote
1
answer
156
views
React Native Firebase/Functions throwing Error: UNAUTHENTICATED
I have a Google Cloud Function deployed successfully. It works in the browser, but when I try to call it from my React Native project using React Native Firebase, I get a console warning: "...
1
vote
1
answer
129
views
How to call a Python Firebase Function from React-Native?
StackOverflow community , I've created two Python functions, 'onCall' and 'onRequest,' which appear as follows:
from firebase_functions import firestore_fn, https_fn
import fitz
import re
import ...
0
votes
2
answers
339
views
Firebase Cloud Functions deply error in React Native - Conflicts in the file and redeclaration errors
I am trying to deply basic cloud function, in React Native, to an existing firebase web-app that I already use with another web application. firebase deploy command works successfully in the web ...
0
votes
0
answers
86
views
React native firebase functions. - OnCall stop to answer after an hour
I got a react native application and I use react-native-firebase SDK to authenticate users.
I just add firebase functions, which I use like this
try {
const response = await FBfunction.app(...
0
votes
2
answers
200
views
React Native Firebase Cloud Functions Not Uploading
EDIT: As I dig deeper into the logs from the debugger, I am noticing that even though I am making changes to the scheudle/timezone of my function, it does not update in the logs, indicating that it is ...
0
votes
0
answers
12
views
How to use multiple environnements on firebase, for client and cloud functions [duplicate]
I'm currently developing a mobile app using Expo, React Native, and Firebase. In my local environment, everything is working fine, but I would like to have the ability to switch between development ...
1
vote
1
answer
412
views
"FirebaseError: internal" when calling onCall cloud function from client code
I have a React Native - Expo application, and I recently implemented a basic cloud function using the firebase-functions/v2/https onCall() like so:
exports.addmessage = onCall((request) => {
...
0
votes
0
answers
465
views
Cant get 'save payment' checkbox to show for @stripe/stripe-react-native
I can't get the 'save payment' checkbox to show for @stripe/stripe-react-native paymentSheet. I am running through expo. I have a backend enpoint up as a firebase function that does this:
try {
...
0
votes
1
answer
33
views
Firebase Cloud functions - Is there a good way to get the first two documents created in a collection?
I am working on a React-Native app that utilizes cloud functions to monitor users who join a room. When a user clicks on the join room button, they are added to a collection as a document and wait for ...