Most voted "firebase" questions
Firebase is a platform for real-time storage-based application development and data synchronization using client-side code only.
Learn more…797 questions
Sort by count of
-
0
votes1
answer126
viewsSend photo and recover link to download
I need to find out where is the error in my code below where the ideía is if I select a photo, I send this photo to the Storage of Firebase and then I have to recover the link to download the photo…
-
0
votes1
answer18
viewsIs it possible to use wilcard in firebase hosting?
I have a website hosted on firebase hosting, and I wanted it to respond to any request from Ubdomain, such as a wilcard dns, for example: if I access https://moreirasbuffet.com or…
firebaseasked 6 years, 9 months ago Ezequiel Rezende 23 -
0
votes1
answer277
viewsShow Progressibar when logging into Firebase
When logging in, I want a load bar to appear while the login is being done. How do I get the process (time, size...) of Firebase to increment in the progress bar? Follow the login code: private void…
-
0
votes1
answer31
viewsAuthentication using for or filter Ionic 3
Hello, I wonder if I can use validation without by setting the "Authentication" of FIREBASE, I have a list of objects, if(placa == 'ABC123' && senha == '123') alert('logado') else if(placa…
-
0
votes1
answer214
viewsBroadcast Receiver with Firebase
I’m in need and I’ve searched a lot, but not yet figure out how to do, I have a base in google’s firebase-database that is updated every 10 minutes, when a new information arrives in firebase the…
-
0
votes0
answers65
viewsHow to Protect Firebase Credentials
I have a php application that consumes the firebase service Account api. I use the.json credential file provided by firebase. I would like to know how I can protect this file from improper access?…
-
0
votes1
answer188
viewsNotice Push on Android with Onesignal - Action in the background
I have in my android application the service Onesignal working properly, so far so good. I want to make some modifications to my Sharepreference (database) each time I receive a message. I managed…
-
0
votes1
answer94
viewsPreferences created in Android Studio with connection to Firebase is not persisting
We have just started to develop an application. We have opted to connect to the Firebase database using email user and password. Logging in and creating new users is working normally, however, my…
-
0
votes1
answer298
viewsConsultation with Ionic and firebase
I’m trying to make an appointment at firebase with Ionic and I’m having the following mistake: The source is like this: import { Injectable } from '@angular/core'; import firebase from 'firebase'…
-
0
votes0
answers102
viewsSort ion-list by date
Good morning, I am studying IONIC with Firebase and created a simple list where I want it to be sorted by update date. In the image we can see that the date is the same as it came from Firebase. I…
-
0
votes1
answer67
viewsStorage firebase in android studio
I’m starting programming for android and I have a project in android studio that creates registration with photo, I added firebase and not how to create the code to send this data with photo,…
-
0
votes1
answer136
viewsInfinite loop while recovering and recording data in Firebase
I’m a beginner on Android and had a problem recovering data from Firebase and record again, I know the reason for the infinite loop but I don’t know how to fix. public static void setVoto (String…
-
0
votes2
answers33
viewsIonic: Make the confirm button return to the first form error
Hello, I’m with a project in Ionic/firebase and has in it a form with about 31 questions and need that on this screen to click to finish instead of back to the top as follows in this function that…
-
0
votes0
answers37
viewsError while emulating App on Samsung
I apologize if this error has already appeared, but I could not solve it in my app and the previous answers did not work. I’m developing a activity show in a ListVew items registered in a specific…
-
0
votes1
answer99
viewsSave data to more than one node in Firebase
Well I have the following code: private void abrirCadastroContato() { String emailContato; emailContato = "email"; int contador = 1; while (contador <=3) { if (contador == 1) { emailContato =…
-
0
votes1
answer54
viewsHow to write data to firebase by Ionic without erasing what is already saved?
My Create method is like this create(user: User, uuid: string): Promise<void> { return this.db.object(`/users/${uuid}`) .set(user) .catch(this.handlePromiseError); } And my User class is like…
-
0
votes0
answers135
viewsDo a search Inside a custom Listview with firebase
Basically my project resembles a social network, using the firebase Restaltime database, but I came across a problem, I created a custom listview and my idea was... Since I had 2 children >Users…
android android-studio firebase listview firebase-databaseasked 6 years, 8 months ago Arthur Ramos 11 -
0
votes0
answers165
viewsAdd data to Firebase
I need help later because I’m having difficulty inserting new data in firebase. I am developing an application for my TCC where it is possible to register and as soon as I can log in have an option…
-
0
votes0
answers69
viewsProblem Recovering Data from Firebase and Moving to Object
I’m trying to make an inventory app in order to study. Where items can be added, saved to firebase and then displayed in a Recyclerview Items are being saved normally in firebase: But in time to…
-
0
votes2
answers124
viewsValueeventlistener coming back null?
I’m messing with the API of a website and from there I get information from a certain item in a list of items that came from the API and saved in the Firebase database, now I’m wanting to take this…
-
0
votes0
answers39
viewsI cannot return data from the firebase user to display in edittext, how do I?
The Code I’m using is this: @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_cotacao); mTextView = (TextView)…
-
0
votes1
answer803
viewsProblems with getDownloadUrl firebase
Hi, I’m having a hard time getDownloadUrl firebase. After the last firebase update my app stopped working. Is showing error in Uri downloadUrl = taskSnapshot.getDownloadUrl();…
-
0
votes1
answer2297
viewsDisplay the login user name by registered email and password in firebase in the app
Hi, I need your help, because I’ve looked at it in a lot of ways, and I can’t fix it. I am wanting to display the name of the user logged in to the application by Firebase. NO Edititext the return…
-
0
votes0
answers44
viewsProblem with Data Reading in Firebase
Hello, I’m trying to read data in firebase and pass to an object, but when I used to use this object outside the onDataChange it showed the object data as null So I made the following Log’s to test:…
-
0
votes1
answer139
viewsUsing Firebase to store images and bring on Android screen
Good morning, I created a Recyclerview with Cardview to show some photos that are stored in Firebase, but when bringing the photos to the screen the same does not fit in cardView I left the image as…
-
0
votes0
answers115
viewsSort data Firebase
I am trying to sort my search by date, however I have to look for a value and it is not allowed to use two orderByChild. I need to either find the name passed by the search variable name or sort by…
-
0
votes1
answer396
viewsSimple search FIREBASE
I’m doing a test on firebase and I’m having a hard time retrieving the data from the JS database. The structure of the table is as follows: Scores - key - name - points - key - name - points What I…
javascript jquery firebase firebase-databaseasked 6 years, 6 months ago Ademilson Santana da Silva 370 -
0
votes1
answer133
viewsHelp with recovering Firebase nodes
I want to recover all users' followers in firebase. I have the following structure at Firebase: -seguidores -id amigo -id usuario For that structure I did the following to retrieve it: public void…
-
0
votes3
answers70
viewsError Code: 401() when sending FCM notification using a server
I’m having trouble sending notification using Firebase Cloud Messaging on Android. I’m using the method below: public void enviaNotificacao(String mensagem, Pedido pedido, String token) { Sender…
-
0
votes1
answer93
viewsCounter (Transaction) in firebase fatal error
Guys I’m trying to make an accountant, in fact I’ve used this idea to tell in firebase, which is a correct and safe way to make a counter for firebase. MutableData mData; //Contador +1 ao Firebase…
-
0
votes1
answer36
viewsFile sent to firebase has 0Bytes
I have a problem, I can send the pdf to the Storage, but it is coming there with 0Bytes. there is the code, and does not generate error, I believe I am not sending any file, but within this…
-
0
votes1
answer102
viewsI cannot "recover" the Realtime Database (Firebase) value
I’m trying this, but it always appears that the app has stopped working. public class TesteActivity extends AppCompatActivity { private TextView la; @Override protected void onCreate(Bundle…
-
0
votes2
answers676
viewsPersist currentUser firebase with React Native
This function is triggered by clicking the Login button: export const loginUser = ({ email, password }) => { return (dispatch) => { dispatch({ type: LOGIN_USER });…
-
0
votes1
answer165
viewsError running React Native app out of debug mode
I’m having a weird mistake that I couldn’t find anywhere to fix. When running the app in debug mode it goes smoothly with no errors but when running the same app with no changes with debug mode…
-
0
votes1
answer499
viewsPopulate Arraylist dynamically ANDROID STUDIO
The main screen of my app consists of a few sessions using Recyclerview. For my recyclerview Adapter I pass an arraylist of type Sessoes for the screen to look the way I want. But this arraylist I…
-
0
votes1
answer176
viewsSum the values of each item equal, stored in one object and store in another array
I am making an application using firebase and reactjs, which returns an object with the output stream(outflow). As I am using chartjs to display a chart, I need to generate an array where each…
-
0
votes1
answer118
viewsHow to recover data using Firebaserecycleradapter that has automatically generated Ids?
am having an error using Firebaserecycleradapter, at the time of recovering the data from firebase presents this error: "com.google.firebase.database.Databaseexception: Expected a List while…
android firebase android-recyclerview id firebase-databaseasked 6 years, 5 months ago djalmafreestyler 194 -
0
votes1
answer25
viewsPage loads before firebase data returns.
I am with a controller, where I search data firebase, but when doing this search the code suffers a delay and the page is loaded before with empty data before the query actually ends. My controller…
-
0
votes1
answer922
viewsHow to take data from a Recyclerview item by clicking on it
Good morning, everyone. I’m populating a Recyclerview with data from a Firebase database. So far so good, it’s displaying everything correctly. My question is how I get the user id when clicking on…
-
0
votes1
answer131
viewsfirebase init command with error message (Cannot read Property 'projectId' of Undefined)
I’m trying to use Firebase CLI Tools to create a website hosting service, but it’s returning an error message: Typeerror: Cannot read Property 'projectId' of Undefined Follow the details: Operating…
firebaseasked 6 years, 5 months ago Adriel Werlich 111 -
0
votes1
answer116
viewsError while running a React-Native and firebase project
Good morning/dawn, I’m having the error giving React-Native run-android the code is this import firebase from 'firebase'; import React, { Component } from 'react'; import {Text, View, Button} from…
-
0
votes0
answers88
viewsTake data from Firebase and move to another Ionic page
I am displaying a list of users, pull from Firebase and display in Page Ionic, when I display user data, I put the ID as Hidden Here I get the data from Firebase <ion-item> <ion-thumbnail…
-
0
votes1
answer32
views"Function expected" error when using ngFor to return a Firebase string, using Ionic 3 and Angularfire2
Galley, I am using Ionic3 and Angularfire2 as follows. I have created a file. ts called Servide where I export a function called getAll to get all the list of a table called 'colors' in Firebase.…
-
0
votes1
answer78
viewsHow to work with asynchrony using Reactjs
I have the following code: requireUsers = () => { this.users = database.ref('users') this.users.on('value', snapshot => { this.state.users = snapshot.val()…
-
0
votes2
answers390
viewsHow to get data from an observable firebase?
I have a list that is loaded from firebase. This list has 3 attributes, value, id, and date. Only I will need to capture only one of these attributes and assemble an array with them, to then perform…
-
0
votes1
answer32
viewsrecording in firebase using firebase cloud Function
Good afternoon Developers community.... difficulty recording using firebase... firebase cloud functions console gives this error message: decode64(userTo) ********@gmail.com decode64(userFrom)…
-
0
votes1
answer41
viewsHow to make only one user have access to Activity?
I need some help from you because I’m having a hard time getting only one user to access a particular Activity. Ex: I am developing an App where the settings screen only I will have access with my…
-
0
votes1
answer61
viewsFirebase only works in Unity Editor and the pc does not work on Android
Can anyone tell me, what’s going wrong? It only works in Unity Editor. When buildo for android, does not work, but does not report any kind of error. While testing on pc works normally. public void…
-
0
votes1
answer304
viewsHow to authenticate in Firebase through Google using Expo (React Native)?
I have a web application on firebase, but I’m using it in the development of an android/Ios app using Expo. I want the authentication to be done by Google, but it turns out that because it was…
-
0
votes1
answer30
viewsProblem recovering firebase values for list
I am making a list, and on this list I pull up the following information id, idPostagem, description, usergroup and photoUsuario. However to popular(add) data to this list I am using the following…