Most voted "firebase-database" questions
None
Learn more…75 questions
Sort by count of
-
20
votes1
answer10213
viewsWhat is the Firebase?
I haven’t touched with Android in a while and I haven’t had a chance to mess with Firebase. However, it is often mentioned in SOPT questions. After all, what is Firebase? It is a set of…
android firebase firebase-cloud-messaging firebase-cloud-functions firebase-databaseasked 6 years, 7 months ago Piovezan 15,850 -
3
votes1
answer118
viewsData from Firebase takes a long time to complete loading and hinders sorting objects
I’m trying to sort an object by a value that comes from Firebase. I use a Jsonparcer class to list the database and according to the ID take the field I need in Firebase, which in this case is a…
-
2
votes1
answer585
viewsFirebase data reading always returns null
I’m trying to read data from users who are saved in Firebase, through an Android application. I’m always having null in Textviews, but I see the value in Android Studio’s Logcat. I’ve checked my…
-
2
votes1
answer100
viewsRedeem Firebase information on a Textview on Android
All right people? I would like to rescue the information from Firebase in a Textview on Android. I can already enter the information in the Database, as shown in the following image: I would like to…
-
2
votes1
answer147
viewsFirebase getDisplayName() returns empty
I have the following code that should return the user data logged in by Firebase, it returns the user without any problem, the ID and the Email, but the value of the name returns empty or null. As…
-
2
votes2
answers880
viewsUpdate only 1 item within firebase’s
I have the following knot in firebase: Inside this node I need to access the user value and change it, to do this I am using this code: firebaseSenha =…
-
2
votes1
answer762
viewsFailed to connect database: Connection Lost to database - Firebird and Delphi application
I have a server with more than sixty client databases that currently operate with Firebird 3.0.3.32900 and an application in Delphi that is responsible for synchronizing logs from end to end. For…
-
2
votes1
answer52
viewsHelp with product registration with images
I am trying to register products, where it is possible to register more than one photo per product. But in the service that I created, I call a for to fill the image matrix, this happens very well.…
-
2
votes1
answer381
viewsProblems while trying to recover data from firebase Realtime database
I’m doing my TCC using Ionic 4 and firebase Authentication and Realtime Database, for a few days I ended up crashing when I try to recover only one user from the database, when the user data is…
angular ionic firebase typescript firebase-databaseasked 5 years, 8 months ago Alexandre Scussel 21 -
2
votes2
answers1101
viewsCloud Firestore - Composite query
I’m making a query in my database in the firestore, but when I put two where nested, I get the following error: Error getting documents Error: Firestore: Operation was rejected because the system is…
-
2
votes0
answers32
viewsHow to have both restriction and permission in the Cloudfire Store
I’m using firebase as a database, specifically the cloudFire store database. I have a field called comment, which I want to be read by all users at the same time, but only the administrator can…
-
1
votes1
answer133
viewsMulti-tenant with firebase
I’m starting a web system and it will be multi-tenant, I want to do using the firebase database, but not yet I found a way to associate a user to a tenant (company) so that he has access only to the…
-
1
votes0
answers20
viewsError uploading with Firebasestorage.net with Xamarin
I developed the following routine to upload images. var task = new FirebaseStorage("xxxxxx.appspot.com") .Child("data") .Child("random") .Child("file.png") .PutAsync(img); When I try to send I get…
-
1
votes1
answer74
viewsRecover the amount of children who have a knot
How do I recover the amount of children you have in a knot? I already have the right path, I just need to know how to count the children of this knot. private DatabaseReference qtdeFilRef;…
-
1
votes1
answer67
viewsFirebase database reset data when soon
I was studying Firebase and created a login method with email and password, but I did not want to use this, so I learned to use Google Auth, so I decided to associate the google auth account in the…
-
1
votes1
answer169
viewsjava.lang.Nullpointerexception: Attempt to invoke virtual method 'java.util.List .adapter.Conversasadapter.getConversas()' on a null Object Reference
I’m having this mistake opening ChatActivity.class. Does anyone have a solution to this error? Thanks in advance. Mistakes EDIT: --LINE WRONG LINE LINE 89->> Conversation Taught =…
-
1
votes1
answer17
viewsGetting data from a node that does not know the reference
Hello, if anyone can help me thank you. To get data from a given node in Firebase we specify the node the code will use for reference, for example: The reference will be: "food/fruit" With this I…
firebase-databaseasked 5 years, 6 months ago user149495 -
1
votes0
answers84
viewsHow to insert a field in a Firebase document by Ionic Angular code?
I am not able to insert a field with the user id in a document, I need the user.uid to become a field of type Boolean I tried that, but I miss the point: let{ user.uid : true } I also tried to add…
angular ionic firebase firebase-databaseasked 5 years, 6 months ago Leonardo Henrique de Andrade 11 -
1
votes2
answers109
viewsAdd rule so only admin can list all documents from a collection in the firestore
Hello, I’m studying how the firestore security rules work and I came across the following situation. I have a collection called: "restaurants" with three documents "uid1, uid2 and uid3". That’s…
-
1
votes2
answers347
viewsI can’t save data to the Firebase database - React Native
I cannot save data in the Firebase database - React Native. I have already done the installation and import of Firebase in the project, the code is like this: componentWillMount(){ var config = {…
-
1
votes1
answer222
viewsFirebase Database Android does not recover data by class
I’m creating an app Android with authentication and database by Firebase, authentication is working and I can write data through a class normally. My problem is that when reading the class data does…
android firebase firebase-database realtime-databaseasked 5 years, 10 months ago Rafael Bandeira Chruscinski 13 -
1
votes0
answers203
viewscloud firestore - Query with Data type fields
In the android application that I’m trying to mount, I have a filter screen by registration date and I need to perform the query in the firestore cloud using this field, in the database it is the…
-
1
votes0
answers39
viewsAdd multiple Documents to the Firestore via a Map
Hello. I have a firestore with the following structure: bd: students: license plate dado1 dado2 dado3 Students is a collection, and each enrollment is a document. I have a hashmap of , where the…
-
1
votes0
answers408
viewsGrab the firebase download link and save a database string to be displayed in cardview via Picasso or similar
Good evening, you guys. I’m doing a job that I need to get the download URL of the image I sent to Torage, save this URL in the database to be able to display this image in cardview using the…
android android-studio firebase android-recyclerview firebase-databaseasked 5 years, 5 months ago Lucas Gabriel 11 -
1
votes1
answer259
viewsHow to get id of data created in Firebase
To better illustrate... in my database I have a collection that stores the section of users. After creating the user my Javascript code adds one more user to the "users" collection and also an item…
-
1
votes0
answers18
viewsHow to restrict the collection format with rules in the Firebase Realtime Database?
When registering a user, I have to send this json to endpoint: { "email": "[email protected]", "firstName": "João", "lastName": "Silva", "password": "*********", "birthday": "2000-01-01" } However,…
-
0
votes1
answer214
viewsHow to wait for the result of a Firestore query?
My problem is this: I have a component that will list some categories, example: categories: Observable<any[]>; ngOnInit() { this.categories = this.categoryService.getAll(); } In the service I…
javascript firebase typescript angular firebase-databaseasked 6 years, 7 months ago Isaias Tavares 291 -
0
votes2
answers76
viewsHow to use Firebird 2.1 > ABS in Firebird 2.0?
I have a client who already has a system that runs on Firebird 2.0 and my system runs on the newest version of Firebird, with this I had to regress the database and has some functions that 2.0 does…
-
0
votes2
answers295
viewsHow to create an array with results obtained through an observable<any[]> TYPESCRIPT
Well, I get a key array,: addprd(a:string){ this.prdarray.push(a); } After adding the keys I want to use in the search I use the following medoto: queryProd(as:string){ const prdN…
-
0
votes2
answers195
viewsOptimize Firebase Realtime Database and Firebase Storage actions
How can I optimize user experience and application fluidity when I’m, for example, reading data from Firebase Database or even downloading Files from Storage? Using runnable’s to handle processes or…
-
0
votes0
answers104
viewsProblem creating project in Firebase
When I add the dependencies that firebase asks to create the file and I give Sync Project, it shows me the error "Failed to resolve: com.android.support:appcompat-v7:28.1.0"…
-
0
votes1
answer464
viewsPass data from Firebase Database to Intent and recover in another Activity
This is the code snippet of my Fragment in which I need to pass a parameter (id of Firebase DB) through an Intent generated by Adapter.setOnClickListener: ...…
android firebase onclick android-intent firebase-databaseasked 6 years, 8 months ago Adriano Junior 1 -
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
answer180
viewsBring only firebase-specific data
Well, I’m trying to develop an app with Ionic 3 and Firebase. But I’m having problems. You are bringing all the orders, for all users (getAll). I wanted to know the correct way for me to bring only…
-
0
votes1
answer21
viewsUse checkbox to go to an Activity
All right? I’m doing a project and I came across an issue that I can’t solve. I have already created an Activity with login and registration for a user, however my business model accepts two types…
android-activity login checkbox firebase-databaseasked 6 years, 1 month ago Fabrício Vieira Barreto 3 -
0
votes1
answer62
viewsList returning null values
I am doing an item listing, in this listing I bring the following information id, idPostagem, description, nounUsuario and photoUsuario. Soon after setting the values, I checked them and I am all…
-
0
votes1
answer239
viewsLike button with jquery
Hello. I am a beginner and please need a help from you. I have the following challenge: Make a Like button with jquery and save it to firebase. I imagine you have to put an icon or button in html…
-
0
votes0
answers11
viewsError accessing child node in Firebase
Guys, I’m having problems to access the child node in Firebase, is returning me this error, I wonder what should be modified to run the app normally, above is my code I’ve tried to run. It follows…
-
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, 3 months ago Arthur Ramos 11 -
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
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, 2 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
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
answers252
viewsDelete firebase firestore collections
I have N collections created in my Cloud Firestore, and I would like to delete all of them if possible, as if I were going to reset my database because they were inserted wrong. I wonder if there is…
-
0
votes1
answer143
viewsFirebase stopped saving to Realtime-database
From yesterday to today, firebase stopped saving any kind of data in the database and I would like to know why. I just yesterday was testing my Whatsapp app clone naturally, but without changing…
-
0
votes0
answers199
viewsHow to create a String Array from a String Array and an Integer Arraylist?
I am creating an application that will need to store the specialties of each clinic registered in the application, these specialties later I will be in the database of Firebase, I am using a dialog…
-
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, 1 month ago djalmafreestyler 194 -
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…
-
0
votes2
answers848
viewsRead data from Firebase Altime databse
I am developing an angular application, and I need to read the recorded data in my firebase database. How would I read all the data that is inside object 9 for example ? I need to read this data and…
-
0
votes1
answer36
viewsRecover snapshot inside a node
I need to retrieve all users within a user node, follow firebase structure: To recover these values I am making an addListenerForSingleValueEvent, follows code: private DatabaseReference…