I have the below structure in my Firestore and I want to read data and store it in ArrayList like I have “amountArrayList” which will read data from the “transactions” field in Firestore, I want to read all the “amount” fields from “transactions” field and make …
Tag: firebase
Can I order firebase addValueEventListeners so that they execute in a specific order? [closed]
Closed. This question needs debugging details. It is not currently accepting answers. Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question. Closed 1 year ago. This post was edited and sub…
android firebase start listing data equal to entered letter
There is a problem with the list inside the “if” it doesn’t work I get an error this:java.lang.ClassCastException: java.lang.String cannot be cast to java.util.List Answer You are getting the following error: java.lang.ClassCastException: java.lang.String cannot be cast to java.util.ListR…
Is there any way to just pass a “user” object instead of all the variables of user
I have a login page, and right now after the user logs in I pass all of its data like the username, password and etc. I wanted to know if it’s possible that I just pass like a whole user and it that user object I can just use getter and setters to get the user-related info. I am working
How to Get Value from JSON in Firebase Remote Config
I am a novice to Android app development and Firebase. I want to know how can I get the value (String & Int) in the JSONArray file stored in Firebase Remote Config? I use Firebase Remote Config with the final goal to compare my app’s version code and priority level with the one stored in Firebase Re…
The register button is giving me authentication failed, how can i fix it?
The register button is not functioning correctly, It gives me authentication failed toast. it seems like my strings for a create a user with email and password are correct but it still wont work. What can I do? please help if you can. Java File: XML File: the strings I filled in: [enter image description here…
Displaying data from Firebase into custom Info Window
I’m trying to display a couple of user details from Firebase into a custom Map Marker after the location data has been retrieved from the database but I don’t know if I should implement FirebaseRecyclerAdapter or a normal one. How should I do this? I’m trying to at least retrieve the user…
React native firebase crashes when using emulator
I’m struggling for a few days now on using firestore emulator in a react-native project Whenever the code reaches a firestore hit the application crash without any log (RN side). Now I know RNFirebase is well installed as I can hit firestore real server. I’ve checked the logcat and it gives me thi…
Why Can’t read data From Database Firebase?
I store name information that was working a few days ago and the information is stored on firebase Realtime, and now you don’t do it, and nothing goes to Database. in my dependencies i Used and in build Gradle (project) Answer In comments we find a problem, you need to add another one SHA-1, or change e…
Make sure to call FirebaseApp.initializeApp(Context) first.Default FirebaseApp is not initialized in this process
I am facing this issue and seen some answers on this site but did not get any proper solution. I have used previous version of Firebase which works fine but when I try to upgrade using Upgradation and update Firebase class to DatabaseReference it shows error and not working. Error Screenshot My Module app is …