Questions tagged as 'realtime-database'

0
answers

Count the number of records in the firebase

Good morning Developers!    I'm having a hard time on a project that I can not move forward, here's the problem / scenario:    We have a screen that brings information, a message, and on the screen there is the button to favor that message, this...
asked by 26.05.2018 / 13:55
0
answers

Doubts how to "read" data in firebase-database

Assuming I have this structure in the database userId : { Messages : { SenderID : { PushID: { "msg": "Mensagem" } } } I'm using this code to "read" everything inside the "userID" dbRe...
asked by 02.05.2018 / 01:35
0
answers

How to remove a Node from the database, using Firebase Realtime Database for Unity

I use lists synchronized with Firebase Realtime Database for Unity and I need to make an improvement on them. I need to find a way to delete a single item from the list without having to: Download the entire List. Remove Item Locally. Se...
asked by 24.04.2018 / 14:51
1
answer

Firebase database query in "relation" sorted

Given the documentation I got the following bank structure { "users":{ "5511995278831": { "name": "User 1", "email": "[email protected]", "about": "sdf sdf sdf", "sms_code": "10",...
asked by 29.12.2016 / 13:38
1
answer

Generate sequential key with firebase

Good morning! I'm working on an app that saves some user activity and I'm having a problem saving these activities by generating sequential numbers, here's the environment: I have the user A logged in, it will create a new activity and when it s...
asked by 20.09.2017 / 14:55
1
answer

"Table" for queries only - Firebase

I'm developing an app with firebase ( RealTime ) and ionic3 . I do not have much knowledge in this technology, and I was not able to clarify a doubt with my researches:    Is it possible to create a query-only table? For exampl...
asked by 03.12.2018 / 20:40
1
answer

Definition of firebase security rules

How can I define a security rule that: Allow read and write access to recipes if the logged in user is the user who has registered it Allow read access to revenue if tipo is true Do not allow read and write access to the re...
asked by 15.03.2018 / 23:46
1
answer

Get child object - firebase

I have a firebase database in this structure: { "-L4Wqs3YbAlUgTWElF4Q" : { "receita" : { "-L6m_C46-Mj1py6RtF8H" : { "imagem" : "default", "ingrediente" : [ "ovo", "leite" ], "nome" : "um nome", "prep...
asked by 05.03.2018 / 23:48
1
answer

Retrieving Data in Firebase Android with Class

I have this bank structure that is this InmyclassIhaveafunctioncalledgetLocal(),whereitwouldtakethenameIguatemi.ofthisstructure.Butwhenperformingthequeryitisreturningasnull.Followmyclasswiththefunctionsbelow:publicclassMesa{privateStringID;p...
asked by 29.09.2017 / 01:55
1
answer

Returning the parent of firebase

Helloeveryone,Ihaveaquestionabouthowtogettheparentnodethatwouldbeinthecaseoftheimage-Kt...Imadesomecodebutitdoesnotwork.protectedvoidonCreate(BundlesavedInstanceState){super.onCreate(savedInstanceState);setContentView(R.layout.activity_criar_ca...
asked by 05.09.2017 / 20:03