Questions tagged as 'firebase'

1
answer

firebase update multiple database realtime

I'm doing a sales system with firebase and javascript, I have products and I want to modify several of them at the same time with the following code only modifies me the first one for (var i = 0; i < compra.length; i++) { if (compr...
asked by 20.07.2018 / 13:14
1
answer

How to save an array inside another array and then save to Firebase

Help! I have this snippet of code to store the following: var company = { description: "", logoPath: "", logoUrl: "" }; var companiesArray = { length: 0, addElem: function addElem(elem) {...
asked by 20.07.2018 / 10:40
1
answer

Update component in Vuejs

I am having a problem, I have developed an app where you have a login. Once logged in, it takes you to the user profile, but always the information of the previous user appears, only updated when I change the script and then automatically refres...
asked by 25.07.2018 / 16:13
1
answer

Is it possible that from the firebase message it shows certain content in the app?

Is it possible that from the firebase message it shows certain content in the app? package juegos.example.com.appwfb; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import com.google.firebase.messaging.RemoteMessag...
asked by 17.07.2018 / 21:07
1
answer

SignInWithEmailAndPassword does not work

I am programming the login of an app, for authentication use firebaseAuth, but the method SignInWithEmailAndPassword () will pass the data that happens to it, it always ends, I do not know how to do it so that when I a user that is not in the...
asked by 17.07.2018 / 11:24
1
answer

Firebase reference with child variable

I reformulate the question. Could it be done in some way to count the votes with this database? I think I would need to put the child right to pick up all the users' uid mDatabase = FirebaseDatabase.getInstance().getReference().child(...
asked by 15.07.2018 / 14:20
1
answer

Problem converting an image to URI to BITMAP when uploading to Firebase

The problem I have is when uploading some images through chat, but sometimes these can be very heavy and it would not be convenient to upload such heavy images to Firebase . so choose to take the image of Uri that brings the ActivityF...
asked by 16.07.2018 / 17:26
1
answer

Firebase Rules with auth.uid

Reading the firebase documentation I realized that I could modify the rules so that only specific access was available to each user in a particular branch. { "rules": { "users": { "$uid": { ".write": "$uid === auth.uid" } } But...
asked by 12.07.2018 / 21:03
1
answer

Change variable ID in firebase with the Python Firebase library

I would like to know how I can enter data to firebase so that the structure is for example like this: /Usuarios/Administradores/Angel/Nombre and not this: /Usuarios/Administradores/-LGze8xg3oWiYgzWi6F1/Angel2/Nombre that is, I do not w...
asked by 09.07.2018 / 23:46
0
answers

How do I avoid errors when loading the same fragment?

I am working an Android application that has: Bottom Navigation Firebase Fragments RecyclerView In a fragment I make a firebase query in real time and with the data full a recyclerView, at first everything works fine but I click again on the opt...
asked by 11.07.2018 / 04:12