Questions tagged as 'realtime-database'

0
answers

Check if a value exists in the Firebase Realtime Database

I have a database with this structure: Whathappensisthatwhencreatinganewuser,Ineedtocheckifthereisnolongeranequalregisterednickname,butIcannotdothat.Hereisthecodethatisgoingwrong,withsomecommentsofwhatIthinkshouldberight:if(edtCadSenha.getTe...
asked by 04.12.2018 / 14:25
0
answers

Write data in firebase + ionic3

Well, I'm developing an app with ionic 3 and firebase (real time). And I wanted to clarify a doubt, I will explain my case: So, I choose a product, after that I type the information and add it to a list. But there is one though: How do I...
asked by 28.11.2018 / 19:19
0
answers

Write data list in firebase (Real Time)

Well, I'm developing an app with ionic 3+ firebase. I am facing a problem: I can not write a list of data. Here is the code: this.db.database.ref(userId) .push({ dataPag: pedido.dataPag, tipo: pedido.tipo, qtde: pedid...
asked by 29.11.2018 / 16:48
0
answers

Array on firebase - RealTime

Good morning, I'm developing an application with ionic 3 and firebase. Until then, the app does query, delete, and write data. The problem: The app writes information, but my need is to write a list of products, but I'm having problems. Here is...
asked by 23.11.2018 / 11:31
1
answer

(Android studio) How to get a user's id through his email in Realtime Database (Firebase)

I would like to know how I can get an id from my database in firebase via email. For example I have email [email protected] and I would like to get his id just by email. Is it possible?     
asked by 26.10.2018 / 08:26
1
answer

Counter (Transaction) in firebase fatal error

I'm trying to make a counter, in fact I already used this idea to tell in firebase, which is a correct and safe way to do a counter for firebase. MutableData mData; //Contador +1 ao Firebase ao clicar na imageButton de Anuncios private...
asked by 15.09.2018 / 01:02
1
answer

Change structure bank firebase

I've done a question here in SOpt on how to search the firebase realtime database , and @ RosárioPereiraFernandes suggested changing the structure of the bank Old structure: { "-L4Wqs3YbAlUgTWElF4Q" : { "receita" : { "-L6m_C46...
asked by 10.03.2018 / 00:38
1
answer

Firebase: App restarting by itself

I'm developing an android app, and I'm using the Firebase Realtime Database to store the data. There I have a users node, with all the users I registered through my App. When I make some changes in the user data that is logged in (eg add an item...
asked by 12.12.2017 / 00:29
2
answers

Query with result null Firebase

Hello everyone, I'm having a problem querying the firebase database. The bank is this: I'mtryingtodoasearchforalltherestaurantsthathavethenameIguatemi,untilthenaccordingtomydebug,I'mgettingtodoitgood.Theproblemisthatwhenthedataistaken,iti...
asked by 03.10.2017 / 15:20
1
answer

Problems creating Child in Firebase

I'm trying to add dishes in my firebase database but I'm having some problems that I do not know until now why it does not work. and even gives this error: Process: meals.com.meals, PID: 1585 java.lang.RuntimeException: java.lang.reflect.Invoc...
asked by 11.10.2017 / 16:14