Questions tagged [firebase]
Firebase is a serverless platform for unified development of applications for mobile devices and for the web.
118,474
questions
0
votes
0answers
4 views
clear text-field after submit in react
can anyone help how to clear the text field after sending the message? I tried many approaches but it didn't work. I tried to use preventDefualt and setFirstname('') empty string but it didn't work ...
0
votes
0answers
4 views
App Distribution halted because it had a problem uploading the APK: [403] The caller does not have permission
I'm trying to upload a release to my testers using this command: .\gradlew assembleRelease appDistributionUploadRelease. However i'm receiving this error. I followed the steps in https://firebase....
0
votes
1answer
14 views
Failing to add item into array react native
I would like to access my array after querying my realtime database but an empty array is logged after extracting an item and adding it into my array. Do you know what may be causing this? Below is my ...
0
votes
0answers
11 views
Firebase authentication error in javascript
I'm encountering an error when trying to add a user to firebase authentication. The const auth is defined before the script is loaded. I've tried calling with and without the app parameter. The user ...
1
vote
0answers
24 views
Best Pratices api call for mobile
I begining with react-native to developp an application with firebase.
I want to know best pratices for mobile.
I have a list of products. The user can check is he like the element or not.
My question ...
0
votes
1answer
14 views
How to add spaces in a Firebase Database value
I am currently having a problem. In my database one of the values is displayed like this:
account balance: "1000000"
And I would like something like this:
account balance: "1 000 000&...
0
votes
3answers
20 views
How to get a single document from firestore?
According to the documentation from firebase you can get a document very simply by using get()
But for some reason in my code it always displays that there's no such document, even though it does ...
0
votes
0answers
14 views
React with Firebase signInWithPhoneNumber Nothing is Happening on Button Click
I'm trying to build a simple app that allows sign in using phone number, but it appears to do absolutely nothing when I click the button that calls "setupCaptcha".
The line: import firebase ...
0
votes
0answers
13 views
Cloud Function annotateImage() returns 'Unexpected token o in JSON at position 1' in Firebase native iOS app
I am creating an ImageAnnotator for a native iOS mobile app using Firebase Cloud Functions, following the Firebase documentation for the iOS client and Cloud Function. Yet upon calling 'annotateImage' ...
0
votes
1answer
9 views
React app with Firebase flickering on route change
I am creating a React app that uses Firebase for authentication. Every route change now causes a 1 second delay and a screen flicker. I've traced this back to the firebase.initializeApp function being ...
0
votes
0answers
7 views
Firebase Storage Security Error - Incorrectly flagged as phishing
I'm working on this React, Redux, Google Auth, Firebase / Firestore app. I'm fairly new to React, so I basically just modified code I made from doing a clone of a social site tutorial from YouTube.
...
0
votes
0answers
6 views
./src/firebase.js Attempted import error: 'firebase/app' does not contain a default export (imported as 'firebase'),
error : ./src/firebase.js Attempted import error: 'firebase/app' does not contain a default export (imported as 'firebase'),
import firebase from "firebase/app"
import "firebase/compat/...
0
votes
0answers
5 views
how to correctly set GCLOUD_PROJECT for firebase function deployed in google cloud
I've a firebase function that is running for over 2 years without problems....
Recently I decided to test the new https://firebase.google.com/docs/app-check and therefore i needed to update my ...
2
votes
0answers
14 views
can't find variable: user.I am using firebase auth and the latest SDK, expo SDK 42, react navigation 6.x.x
import React, { useEffect } from "react";
import { StyleSheet, Text, View } from "react-native";
import { NavigationContainer } from "@react-navigation/native";
import { ...
0
votes
0answers
9 views
Remove App Check debug provider from android production release
I decided to give a shot and try the new Firebase App Check
https://firebase.google.com/docs/app-check/android/debug-provider
The sdk is easy to integrate/use following the basic Firebase style but ...