Most voted "firebase" questions
Firebase is a platform for real-time storage-based application development and data synchronization using client-side code only.
Learn more…797 questions
Sort by count of
-
-1
votes1
answer79
viewsArray being rewritten completely within foreach
I’m running a voting system through the firestore, and I’m having a problem regarding the behavior of an array within the foreach, follow the code: busca_votos: function(pergunta){ let path =…
-
-1
votes1
answer117
viewsHow to resolve the error ( code: "Storage/unauthorized" ) within firebase
I’m here with an angle panel for maintenance. All I need to do is upload a pdf file to the server, and return the download url of this same file. But I’m bumping into this mistake and I can’t move.…
-
-1
votes1
answer375
viewsCheck if user is logged in to Mainactivity Android Studio
I have an app that successfully logs in, but when you log in to Mainactivity it simply disconnects from firebase auth, Listener is 0, how can I keep the user logged in after logging in too…
-
-1
votes2
answers225
viewsDifficulty writing in cloud firestore
I managed to configure my android project to firebase, but when I test the firestore cloud nothing happens. I’m trying to write a text in the database,. main: import 'package:flutter/material.dart';…
-
-1
votes1
answer151
viewsHow do I display a notification badge when I receive a notification?
Hello, in my application I have a list that shows the users who sent messages. I want to place a notification badge when the user receives a notification. Any idea how I can get such a function?…
-
-1
votes1
answer76
viewsHow to return query results to the Firestore within the Ackground method?
I’m working on a Cookbook app to learn how to use Firebase resources and I’m working on an Activity that should list all recipes already registered by the user. The routines to record data in the…
-
-1
votes1
answer24
viewsReact: How can I send data to this.state
Good evening, I’m starting in React and have the following line: class Namelist extends React.Component{ constructor(props){ super(props); firebase.initializeApp(config); this.state = { clientes: []…
-
-1
votes1
answer145
viewsReturning Firebase data in an Array
So I have a little problem that I can’t solve at all. I’m using the firebase database in conjunction with an ESP8266 microcontroller. The ESP8266 sends the sensor data to the firebase, and through…
-
-1
votes1
answer53
viewsConsultation of collections firebase
I have an angular design and I’m using firebase as a database, but I’m having trouble accessing a collection that’s inside another collection. My firebase project is like this: colection(usuarios)…
-
-1
votes1
answer36
viewsHow can I fire onclick click on this function with firebase?
I need to fire the DB check for an input. Can anyone help me? I saw some similar doubts here but could not resolve. var firebaseConfig = { apiKey: "AIzaSyBd-oV4iz3VnEL41DnNQrXcaQAKT4hPRU0",…
-
-1
votes1
answer16
viewsauthEmailPassButton is null
i am developing a firebase authentication, but when clicking to log in nothing happens, when I look through the browser console displays the following error: 'Typeerror: authEmailPassButton is…
-
-1
votes1
answer68
views -
-1
votes1
answer160
viewsLine breaking
Hi, I created a chat on my website using Firebase. But I don’t know how to make this message be saved along with line breaking. In the image above I am using the textarea to write the message. More…
-
-1
votes1
answer124
viewsHow to take position 1 of the array and add?
I am building a menu screen, currently I have an array of items and prices that the user selects. I’m showing them on the screen normally. But I need to capture the price of each item, and in the…
-
-1
votes1
answer3720
viewsObjects are not Valid as a React Child (found: Object with Keys {price, item}). If you Meant to render a Collection of Children, use an array Instead
I have a page (hall) where orders with the customer’s name, table number and chosen items, are sent to firebase and I need to pick up these orders and show on another page(Kitchen). Part of the hall…
-
-1
votes1
answer70
viewsI am Beginner and I am trying to Register and Login with Firebase but with errors that I can not solve
I’m following a tutorial I saw on Youtube but mine did not work... Elpe me Please.... By Debug I saw that the error starts inside the private fun functions creatOrLoginUser: I need to create a…
-
-1
votes1
answer113
viewsDelete firebase user from database and authentication
Good afternoon I am trying to do the method that deletes the user from the database and authentication, but it is not working. private void excluirDeslogar(){ final DialogProgress dialogProgress =…
-
-1
votes1
answer30
viewscurrentUser firebase is returning null
I’m doing a project that consists of creating two applications, I’m using firebase as a database and both are using the same database, the first application is working normally, but the second is…
-
-1
votes1
answer41
viewsLaravel with firebase
I was wondering if there is any way to simulate that Firebase system (which is not yet compatible with PHP) to receive the information from the database in real time. I’m using Laravel, I collect…
-
-1
votes1
answer81
viewsAccess data in Firebase with Flutter
I am trying to access the data according to the image. I need to bring the information that is inside the document. I’m trying to use the following code: final QuerySnapshot result1 = await…
-
-1
votes1
answer138
viewsFirebase does not sort list by date correctly
I am filtering some documents by date/time to retrieve the latest items first. However, when adding a new item to the list it is added correctly, but when restarting the app the list is redone and…
-
-1
votes1
answer27
viewsLoading in Angularfireauthguard
Some way to implement a Canactivate loading in Angular 11? import { NgModule } from '@angular/core'; import { AngularFireAuthGuard, redirectUnauthorizedTo } from '@angular/fire/auth-guard'; import {…
-
-1
votes1
answer24
viewsCheck for Firebase node
Good afternoon, I am checking if there is a node in Firebase, if it exists I will just increment the value on that node, but when it does not exist I will create the node, but Else is not working.…
-
-1
votes1
answer51
viewsTrue or False button in Angular
I would like to create a button in Angular that when clicking on it generates a true or false value in Firebase, how could I do that? I have to create a button that records a true or false value in…
-
-1
votes1
answer29
viewsHow do I take a Long value in an Edittext and insert it into Firebase?(Android Studio)
I need to take a long value and insert it into Firebase and then show it in a Listview. I created a Pessoa class and with the other attributes I was able to insert and show it in a good one. Only…
-
-1
votes0
answers22
viewsHow to enter Realtime Database data into my Flutter app
I’m a beginner in Flutter and I’m wondering how to work with the Realtime Database in a project I’m part of, I wanted to know how to take this data from the image of the database and put in the…
-
-1
votes0
answers13
viewsHow to turn a gallery image into BASE64
I have a function that takes the image from the gallery and the camera and sends it to an area where the user can view it. import React, {useState} from 'react'; import {View, TouchableOpacity,…
-
-1
votes1
answer9
viewsHow to make Nextjs not return props before getStaticProps has completed all requests (Promises)?
Within the function getStaticProps I take some data from the database and perform in them some treatments to suit the way I will use them. Everything happens exactly as it should, except that…
-
-2
votes1
answer47
viewsHow do I make firebase Altime databese understand that this > 29.90 < is a String and not a number?
Hi everyone I’m developing an app that uses the firebase database. My problem is that I’m tempting the value of 29.90 in one of my database. Ex: Value of product: 29.90 I want to take this value…
firebaseasked 5 years, 8 months ago Andre Alas 54 -
-2
votes1
answer26
viewsProblems doing user listings using Ionic and Firebase
Hello I’m trying to build an application using Ionic and Firebase, but I’m having a hard time getting a user list. The app already has users registration and registration of the products I want to…
-
-2
votes1
answer73
viewsData does not save in Firebase
I’m trying to save data in my Firebase database but the app doesn’t save. I can install, boot the app, and move between pages without an app crash, but I can’t save data. Before implementing the…
-
-2
votes2
answers46
views(Solved) Firebase Google only connects in apps by 4G, no wifi
I’m developing an app that uses Firebase. I had a lot of problems W/System: Ignoring header X-Firebase-Locale because its value was null. Thinking this is the case I’ve invested a lot of time trying…
-
-2
votes1
answer60
viewsFirebase cloud firestore random query with specific user ID (Flutter)
I’m trying to randomly pull my data from the firestore cloud but I’m not getting it, does anyone know how to do it using ID? getQustoes(String simuladoId) async{ return await…
-
-2
votes1
answer44
viewsI want to take the value of . getDownloadURL()
I’d like to take the value of url_imagem and use as function Return upImage. I tried several things and could not find solution. function upImage(nomeDaPlanta, imgFile){ var file = imgFile.files[0];…
-
-2
votes1
answer188
viewsCan’t Convert error Object of type
This one started to appear out of nowhere, apparently I didn’t change anything in the code and simply by making changes in other parts it appeared. Error: 12-07 07:47:43.652…
-
-2
votes2
answers207
viewsHow do I make Firebase Cloud Messaging send a message to a specific user?
I’m trying to get Firebase Cloud Messaging to send a message to a specific user but I’m not getting... First I am registering the device and saving the id on my server:…
-
-2
votes1
answer38
viewsFirebase replaces information instead of adding
I’m making a task app with Kotlin and firebase, but every time I try to add information to my database, it doesn’t add it but replaces the previous one. This is my code: class AddActivity :…
-
-2
votes1
answer221
viewsAccess specific item within a Firebase Collection using angular
I’m with an angular project and I’m using firebase cloud firestore as a database but I’m having a hard time using it because I have a collection called feed and within this collection I have several…
-
-2
votes1
answer56
viewsDelete firebase user
Good afternoon, I’m having trouble settling an issue. I’m inside a fragment programming my delete account button, but it’s not working, nothing happens when I click on it, I think there’s something…
-
-2
votes2
answers34
viewsTravel variable keeps at 1 in the Firebase database, when button is pressed, instead of adding 1 more to the database
Hello, for some reason the travel variable is not adding 1 more to the Trips field in Firebase, when the pegLoc button is pressed, could you help me? , Follows below code: public class Mainactivity…
-
-2
votes2
answers53
viewsBy doubling the value returned when running onDataCahage in FIREBASE, can you help me?
I want to recover the value of a drive in Firebase and save that value whenever the field flag for "noDebitado" and thereafter, with each loop interaction for, I want to set a new value for flag…
-
-2
votes1
answer16
viewsThe app closes when the user leaves the account
When the user leaves the account the application closes. The problem arose when I changed the rules of the Altime from that { "rules": { ".read": true, ".write": true } } for that reason { "rules":…
android android-studio firebase firebase-database realtime-databaseasked 3 years, 5 months ago izadora 1 -
-2
votes2
answers65
viewsI cannot assign the input field value entered by the user to a variable
I’m a programming novice and I’m creating a form to collect user data and then send that data to Firebase Database. I am collecting the data entered into HTML by input fields with a function of the…
-
-2
votes1
answer21
viewsit inside the . addSuccessListener
I’m using Firestore for a project where I do a user query, however this giving problem when I get the "it" object inside the method. addOnSuccessListener, no it.name an Unresolved Reference error…
-
-2
votes0
answers5
viewsWhy doesn’t the code show in the spinner the data of the "settlement" table in the firebase?
spListaAssentamentos = findViewById(R.id.spListaAssentamentos); nomeAssentamento = new ArrayList<>(); databaseReference = FirebaseDatabase.getInstance().getReference();…
-
-3
votes1
answer381
viewsDoes Firebase have file storage and download limit?
I am studying storing files in Firebase so that users of my application can download them. Would someone like to tell me if there is a limit to the storage and download of files stored in Firebase?…
-
-3
votes1
answer366
viewsfirebase/app dependency not found
When using the command ng serve it returns the following message . ERROR in The target entry-point "@angular/fire" has Missing dependencies: - firebase/app already excludes the node_modules and the…