Questions tagged as 'firebase'

1
answer

Query in firestore to check item inside a document

I'm using the Firebase Firestore and I need to mount a * query that checks the following data as indicated in the following figure: Because it is in an array , inside my document, I do not know how to mount the query .     
asked by 06.06.2018 / 21:37
1
answer

How to copy children from one node to another node - Android with Firebase

I have an X bank that contains business categories and I want you to manually enter the data into Categories, send a copy to AllBusiness. IamusingthiscodehoweverIamnotfindingawaytojustpickupthechildrenprivatevoidcopyRecord(DatabaseReferencef...
asked by 23.05.2018 / 18:56
1
answer

Optimize firebase cloud storage

I'm developing an application using the Firebase Realtime Database and Firebase Cloud Storage . According to the documentation , to access an image I need invoke the getDownloadURL method in the path reference where it was saved. Imagin...
asked by 07.05.2018 / 13:29
1
answer

Recover user name and email in NavigationDrawer?

How do I retrieve the name and email of the logged-in user? It is giving code error. I am using BD Firebase. public class MenuActivity extends AppCompatActivity implements NavigationView.OnNavigationItemSelectedListener { private T...
asked by 18.04.2018 / 17:52
1
answer

Recover Firebase Data in RecyclerView

I need to retrieve user request requests from the Firebase in the RecyclerView so that they organize those requests in the list without overwriting the other. For now my list is static. Each user has an id in the DB and each request has tbm....
asked by 27.04.2018 / 09:32
1
answer

Pass data from Firebase Database by Intent and retrieve in another activity [duplicate]

This is the fragment of my Fragment code in which I need to pass a parameter (Firebase DB id) through an Intent generated by Adapter.setOnClickListener : ... viewHolder.eventoCardView.setOnClickListener(new View.OnClickListener() {...
asked by 22.03.2018 / 00:30
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

Firebase - Because it does not execute the code of addOnCompleteListener

How does the addOnCompleteListener work, is it not a listener that will be called when the signInWithEmailAndPassowrd operation is executed? It enters a correct login and password and I click on the button it arrives until the task.addOnComplete...
asked by 24.02.2018 / 15:36
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

User permissions on firebase

Good morning, I'm having a question, I'm putting together an app where the person accesses it, logs in and password and then the home screen appears. if the person has not registered, she will register through the app itself, but my concern is t...
asked by 24.01.2018 / 18:10