Questions tagged as 'firebase'

0
answers

Firebase only works in Unity Editor and in pC it does not work on Android

Can anyone tell me, what's going wrong? It works only in Unity Editor. When buildo for android, it does not work, but does not report any kind of error. When testing on the pc it works normally. public void CadastrarPorEmail() { em...
asked by 09.11.2018 / 20:43
0
answers

How to structure the database in Firebase

I am somewhat of a layman in NoSql, and I have a question about performace in my Firebase database, it is currently organized as follows As you can see the reference for the student and the product that are in the Sale are their respective...
asked by 20.11.2018 / 05:51
0
answers

Vector burning error on firebase - Ionic 3

I'm developing an app, and I need to write a vector in firebase (RealTime). Code: irParaCarrinho(element) { element = this.pedido.carrinho; if (this.vetCarrinho.indexOf(element) === -1) { this.vetCarrinho.push(element); So far...
asked by 21.11.2018 / 17:11
1
answer

Retrieve the amount of children that have a node

How do I retrieve the amount of children I have in a node? I already have the correct path, I just need to know how I can tell the children of this node. private DatabaseReference qtdeFilRef; qtdeFilhosRef.child("primeiroNo").child("seg...
asked by 21.09.2018 / 13:57
0
answers

Function to return only the requests to the logged-in user in question

I have following code to save the requests: save(pedido: any) { var userId = firebase.auth().currentUser.uid return new Promise((resolve, reject) => { if (pedido.key) { this.db.list("pedidos") .update(pedido.key, { name: pedido....
asked by 21.09.2018 / 13:24
0
answers

Javascript and Firebase

So I have an error in this code and I want it to send the data of the president to the firebase and in the case I want it to contain +1 vote so the value that is registered in the firebase when I vote is 0, like me I'll take this. let digito1...
asked by 14.11.2018 / 19:45
1
answer

Error connecting to firebase

I'm creating an application in Android Studio using java and geolocation, however I have this error below and I do not know what to do. Configuration 'compile' is obsolete and has been replaced with 'implementation' and 'api'. It will be remov...
asked by 22.09.2018 / 23:43
1
answer

How to download data in firebase through storage?

I used Firebase documentation and I still did not understand how to download a file that is in Storage by my app.     
asked by 09.08.2018 / 22:14
1
answer

Get values from the 4th node of Firebase on Android

I need to look for the red-highlighted values in the image, but I only know the item in blue. Itriedthisway:firebase=ConfiguracaoFirebase.getFirebase().child("tb_contato").child(identificador); valueEventListener = new ValueE...
asked by 03.08.2018 / 21:01
1
answer

How do I display the "Login successfully" message to the user?

import { Component } from '@angular/core'; import { IonicPage, NavController, NavParams, LoadingController } from 'ionic-angular'; import { trigger, style, animate, transition } from '@angular/animations'; import { AuthProvider } from '../../prov...
asked by 23.08.2018 / 20:06