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
votes3
answers122
viewsError to popular Array with Vuejs + Firebase
I’m Dev Ror and I’m in my initial studies with Vuejs. To do so, I started creating a Todolist with Firebase for data persistence and a problem occurred to me. I created a function to return data…
-
1
votes1
answer1785
viewsDefinition of firebase security rules
How can I define a safety rule that: Allow read and write access to recipes if the logged in user is the user who registered it Allow read access to recipes if the tipo for true Do not allow read…
-
1
votes0
answers100
viewsInsert additional data into Firebase
I am developing an app that is composed of 3 fragments of registration, here given the example of A, B, C, and B and C is dependent on A. What is the best way to enter the completed data in B and C…
-
1
votes1
answer133
viewsMulti-tenant with firebase
I’m starting a web system and it will be multi-tenant, I want to do using the firebase database, but not yet I found a way to associate a user to a tenant (company) so that he has access only to the…
-
1
votes0
answers125
viewsHow to remove a Node from the database using Firebase Realtime Database for Unity
I use synchronized lists with Firebase Realtime Database for Unity and I need to improve them. I need to find a way to delete a single Item from the list without having to: Download the whole List.…
-
1
votes0
answers390
viewsDoubt how to "read" data in firebase-database
Assuming I have this structure in the bank userId : { Messages : { SenderID : { PushID: { "msg": "Mensagem" } } } I’m using this code to "read" everything inside the "userid" dbRef.child(user.uid +…
-
1
votes0
answers2425
viewsHow to use Firebase Notification in an React-Native project
To Create a React-Native project with Firebase notifications Steps to add pushNotification Link: https://rnfirebase.io/docs/v4.0.x/installation/initial-setup Create or open an React Native project…
firebase react-native android-gradle firebase-cloud-messagingasked 6 years, 8 months ago Carlos Ramon S S 11 -
1
votes1
answer137
viewsHow to copy children from one node to another node - Android with Firebase
I have an X bank that contains categories of companies and I want you to enter the data manually in Categories, send a copy to Allempresas. I’m using this code but I’m not finding a way to just get…
-
1
votes1
answer226
viewsWhat are Good Practices for Reading Firebase Data and Inserting into Activitys?
I’m getting Insert and Recover Firebase Data... But I I don’t know how to pass the information obtained for some Edittexts, Textviews in several classes.. Questions: What are the best practices for…
-
1
votes0
answers208
viewsHow to receive messages from firebase console on android in the background?
I have an app that sends notifications from the firebase console and my notifications don’t arrive on my phone when they’re in the background but when they’re in the foreground with the app open the…
-
1
votes1
answer544
viewsFirebase Query Database does not return changed values in the database
I have a query in Firebase that should return the user data to check if he still has access and his level of access to the system, however when modifying the values the query continues bringing the…
-
1
votes1
answer68
viewsFirebase: Filter Child Node query on Angularfire2 firebase
I have this following structure: { "3" : { "data" : "2017-09-21", "fornecedor" : { "cnpj" : "123234534534", "fantasia" : "Barreirinha" }, "nNF" : 3, "peso" : 3, "precoCompra" : 6, "vendido" : false…
-
1
votes1
answer219
viewsHow to receive firebase information on an ion-select?
Hello, I’m having difficulty recovering information already stored in other registrations in an ion-select. In a previous registration the Local is already registered and in a second registration…
-
1
votes1
answer629
viewsReact Native application using Firebase
Hello, I am creating an application using React Native, and trying to integrate with Firebase, I found an application of Starter project, which already has the integration ready, just need to add…
-
1
votes1
answer288
viewsData update with IONIC and Firebase
Good evening, I’m studying Firebase with IONIC and Angular (I’m not using Angularfire) and a question has arisen. How do I update the data saved in Firebase? To get the data I do as follows: const…
-
1
votes1
answer304
viewsDisplay FIREBASE image in a LISTVIEW
I would like to know how to recover an image in firebase and put in a listview, I saw here some similar questions, followed the answers that are in them but none worked. I saw that a boy said he…
-
1
votes1
answer75
viewsGet values from the 4th Firebase node on Android
I need to fetch the red highlighted values in the image, but I only know the blue highlighted item. I tried that way: firebase =…
-
1
votes1
answer106
viewsHow to convert a javascript object to user presentation?
I need to present the results of a firebase query to the user. To perform tests, debug code manually and check conditions, we usually use some function such as console.log, Alert, json returns,…
-
1
votes1
answer197
viewsHow do I show the msg "Login Successfully" to the user?
import { Component } from '@angular/core'; import { IonicPage, NavController, NavParams, LoadingController } from 'ionic-angular'; import { trigger, style, animate, transition } from…
-
1
votes2
answers1149
viewsInsert comments into an IONIC app
I am creating an application where underneath the content of the page I have the option of the user to make a comment. I’m using firebase to register and login and I’ve even been able to record the…
-
1
votes1
answer680
viewsPlace profile photo in Nav_header
I have a question in creating an App. I need to put the user profile photo in my Nav_header_tela_princial. I already have a profile screen, but I need to use the same image of the user profile…
-
1
votes1
answer226
viewsConnection error with firebase
I am creating an application in Android Studio using java and geolocation, but I have this error below and I do not know what to do. Configuration 'compile' is obsolete and has been replaced with…
-
1
votes1
answer67
viewsError sending pdf to Firebasestorage
I am trying to send PDF files to firebase Storage and with this code I can go to the point of picking up Uri, sending, but only falls into onFailure, follows the code @Override public void…
-
1
votes2
answers123
viewsHow do I get data from one node within another node in Firebase with android?
I need to get the data from the "usrCategoriaUsuario" node that is in tb_usuario. The normal data I get, but this usrCategoriaUsuario, I’m not getting. Code that searches the User data in Firebase:…
-
1
votes0
answers100
viewsIonic+Firebase: Error: Uncaught (in Promise): [Object Object]
I am new to Ionic and I am facing a problem, I have this application that works with camera/ gallery, and I believe the error is in the file . ts is the code: save(animal) {…
-
1
votes1
answer129
viewsHow to write data in firebase with Ionic?
i have an application that displays on the screen the latitude and longitude wanted to know how to record this data in firebase my home code is like this import { Component } from '@angular/core';…
-
1
votes2
answers347
viewsI can’t save data to the Firebase database - React Native
I cannot save data in the Firebase database - React Native. I have already done the installation and import of Firebase in the project, the code is like this: componentWillMount(){ var config = {…
-
1
votes0
answers79
viewsFirebase Crashlytics: How to debug non-fatal errors?
Hello! Good afternoon, sir. I have an application for Android (developed in Android Studio) that uses lib Mpandroid Chart (a lib for Charts). Like any chart that we want to compile, we first need to…
-
1
votes0
answers100
viewsSave result from Firebase and Ionic calculation
I’m trying to save a result from a simple sum in Firebase but I can’t recover the value and insert it. Where I’m missing? Home.html <ion-content padding class="content"> <form…
-
1
votes2
answers89
viewsAccess child node in Firebase
I have 2 users. Twelve user and thirteen user. Each user has created a project, as you can see in the image. How do I make the twelve user access only the projects he created, and the thirteen only…
-
1
votes1
answer60
viewsRemoving the Dictionary object on condition - Firebase - Swift
In my App I need to list information registered by the user, there is an "enable" field where "on" will not be displayed in the tableViewController, if "yes" will list, code below for help. First…
-
1
votes1
answer222
viewsFirebase Database Android does not recover data by class
I’m creating an app Android with authentication and database by Firebase, authentication is working and I can write data through a class normally. My problem is that when reading the class data does…
android firebase firebase-database realtime-databaseasked 6 years ago Rafael Bandeira Chruscinski 13 -
1
votes0
answers28
viewsHow do I send custom sounds in FCM notifications via HTTP legacy?
I’m using a standard webview APP with FCM integration; and I’ve always sent notifications to users through the legacy HTTP protocol site. It still works normally, but the custom sounds stored in the…
-
1
votes1
answer114
viewsUse Firebase in SPA project
I need some help with good practice in using the Firebase on a project SPA, in my case the Angular. I’m taking a development course with Angular 4 and in the topic regarding the use of Firebase as…
-
1
votes1
answer73
viewsProblem with variable javascript with firebase
I’m having problems with javascript react-native, need to store the return of firebase using a for in a variable and access it externally, but the fact is that nothing is returning. export const…
-
1
votes2
answers46
viewsReload Data in Uitableview using Firebase
I’m using a custom table that retrieves data from Firebase. But it only updates, new data, if I close the app and open again, even if entering the reloadData() on the table. Example: The table is…
-
1
votes1
answer32
viewsHow to randomly rearrange a list of Strings and select one element at a time without repeating the value contained in the list?
I am developing an application in Android studio in Java language and need to know how to solve my problem. I have a list of String: List<String> valores = new ArrayList<>(); Then I…
-
1
votes0
answers203
viewscloud firestore - Query with Data type fields
In the android application that I’m trying to mount, I have a filter screen by registration date and I need to perform the query in the firestore cloud using this field, in the database it is the…
-
1
votes0
answers364
viewsFirebase not detecting Cordova app
When performing the procedure of adding an application to firebase (google-services.json), at the end, this comes to me: We are checking to see if the app has connected to our servers. You may need…
-
1
votes0
answers39
viewsAdd multiple Documents to the Firestore via a Map
Hello. I have a firestore with the following structure: bd: students: license plate dado1 dado2 dado3 Students is a collection, and each enrollment is a document. I have a hashmap of , where the…
-
1
votes4
answers84
viewsFIREBASE - Encase Files to redirect page only after saving data to Firestore Firebase and updating Display name
Talk, guys. All right? I am developing a web application with Firebase and as the auth() method only accepts e-mail and password, I am updating the displayname and saving the remaining data (Cpf,…
-
1
votes0
answers39
viewsShow latest chat messages
Well, here’s the problem. I’ve been developing a What’s App-style app for a long time. As simple as it sounds, I can’t get the latest chat messages (sent by the user X received from the user Y) to…
-
1
votes0
answers22
viewsHow to create Typescript interface that reflects firestore structure
Good morning, I’m getting data from firebase firestore with a structure that I’m having trouble representing as a model in Typescript, that is, an interface. I made a JSON representation to…
-
1
votes0
answers408
viewsGrab the firebase download link and save a database string to be displayed in cardview via Picasso or similar
Good evening, you guys. I’m doing a job that I need to get the download URL of the image I sent to Torage, save this URL in the database to be able to display this image in cardview using the…
android android-studio firebase android-recyclerview firebase-databaseasked 5 years, 7 months ago Lucas Gabriel 11 -
1
votes1
answer58
viewsHow to create a class to connect to in Firebase?
I’m trying to create a class where I’ll connect in the Firestore of Firebase, and then I’ll take this class and instantiate it where necessary, I made this part of the code but I don’t know what…
-
1
votes0
answers33
viewsReal-time upgrade firebase
I have a method that I want to check at all times in the database if a field of the child node is modified (in this case, the "status" field), when it is changed, I want the text on the android…
-
1
votes0
answers30
viewsTable not overlapping values
I’m getting data from the firebase database and filling in a table dynamically. When new information arrives the table does not overwrite the data, it repeats the lines and puts the new data below…
-
1
votes1
answer137
viewsSave a date value in the firestore
I’m trying to save a data value in the firestore, but I’m having a conversion problem when I take the value of a EditText and send it to become a date type value. The attempt I made was this one.…
-
1
votes1
answer243
viewsRelate firebase Authetication to Realtime database
I am creating an application, using firebase, in which the user performs a registration in firebase. I am using firebase authetication to create user by email/password and the Realtime database to…
-
1
votes2
answers50
viewsHow to publish image files using Firebase Storage in offline mode?
Hello, I’m developing a code within Android Studio that allows data registration in a form with text fields and an image file offline (mobile with no internet connection). Works great with…