Questions tagged as 'firebase'

1
answer

Error sending pdf to FirebaseStorage

I'm trying to send pdf files to the Firebase Storage and with this code I get to the point of getting the Uri, send, but only falls on onFailure, follow the code @Override public void onClick(View v) { if (Conte...
asked by 18.09.2018 / 08:01
1
answer

Data update with IONIC and Firebase

Good evening, I'm studying Firebase with IONIC and Angular (I'm not using AngularFire) and a doubt has arisen. How do I update the data saved in Firebase? To get the data I do it as follows: const config = { apiKey: "x", authDomain: "x...
asked by 09.07.2018 / 03:59
1
answer

What are the best practices for reading data from Firebase and Inserting in Activity?

I'm getting Insert and Retrieve Firebase Data ... But I do not know how to pass the information obtained for some EditTexts, TextViews in various classes .. Questions:    What are the best practices for passing information across  ...
asked by 28.05.2018 / 21:48
1
answer

Confirm Ionic registration password 3

I have a registration form on Ionic 3, but I can not validate the password with another ion input. register.html: <ion-item class = "log-input"> <ion-label floating>Email</ion-label> <ion-input type="text" #usern...
asked by 28.05.2018 / 00:44
1
answer

ref () or child () when reading data firebase web

What is the difference between ref() and child() in firebase? When should I use one or the other? Are there any performance differences?     
asked by 03.03.2018 / 02:06
1
answer

Sort firebase list

Currently I use this function to read the data from the firebase database: function ler() { database.ref(referencia_database).orderByChild('nome').once('value').then(function(snapshot) { snapshot.forEach(function(childSnapshot) {...
asked by 03.03.2018 / 00:00
1
answer

Firebase Query realtime database does not return changed values in the database

I have a query in Firebase that should return user data to verify that it still has access and its level of access to the system, however when modifying the values the query continues to bring the previous values. private void buscarUser(Strin...
asked by 15.06.2018 / 16:47
1
answer

Am I doing Throw correctly?

I'm typing a FireOut DAO that performs and handles Auth, Database, and Storage. But Firebase issues some exceptions depending on the scenario, password with less than 6 digits, email already registered, etc. I'm trying to throw these exceptio...
asked by 19.02.2018 / 23:20
1
answer

How to check if file exists in Firebase web storage?

I'm doing a web application with firebase, in this application I have an image register (optional), similar to the idea of a profile (the user may or may not have a registered image if a default image is not loaded), I would like how do I check...
asked by 17.02.2018 / 04:13
1
answer

Wait for the results of asynchronous methods of Firebase

I'm often having problems with several code snippets where I need to call asynchronous methods from the Firebase Database library. The point is that these methods often do not return their results before the View is loaded, and in some cases,...
asked by 17.02.2018 / 23:55