I posted before but was not aware of the post standards for questions, so I have reformatted with code to back my issue. I’m working on an app that uses Google Maps to take you on local tours and keep track of which Landmarks you have visited. I have managed to write to the database (As shown in picture), but
Tag: firebase
Data retrieve on Data Change in firebase getting Error
I am making an android app based on firebase. My logcat showing error on data change. Here is the code: Can anybody improve it? Here is my logcat error message: It is showing error on this line. “at my_project_name.SheetActivity$3.onDataChange(SheetActivity.java:156)” I have tried a lot. Sometimes it worked but stopped again. I cannot point out where is the mistake. my model
Can’t get custom Object from Firestore
I’m trying to create a custom object from a document in the Firebase Firestore. Whenever I try to use the User object, I get a NullPointerException on the user object: I call getUserFromFirebaseUser here: Here is the User class: I’m relatively new to using Firebase with Android. Any help is appreciated. EDIT I’ve added Log statements to the onComplete() method
java.util.ConcurrentModificationException when removing elements from arraylist even with iterators
I’m trying to delete content from two arrayLists when a particular condition is satisfied. But when the condition satisfied I get Concurrent modification error. After searching on internet I saw the solution to fix this using the iterator concept but that also doesn’t work. Here is the two code variations that I tried: [my code is in Kotlin] 1st variation:
Make the user waiting for activity to finish loading
everyone, I am working on a project that retrieves data from firestore and some of that contains URL for an image. when I start the app I notice a delay when loading the image. so I thought about what I’ve seen in the Facebook app that when loading an image showing a view with some animation to inform the user
com.google.firebase.database.Query cannot be cast to com.google.firebase.database.DatabaseReference
Hi I’m implementing a simple search where it will filter based on if the text is the same as the record in the database but I’m having this error could someone help me? Using equalsTo I can’t open the fragment it just breaks when trying to open the fragment, what am I doing wrong? Any help is welcome. Thanks in
Firestore Could not deserialize object. Failed to convert value of type java.util.HashMap to Date
I’m trying to read a field from the first document in a Firestore Collection but I get the following error: Could not deserialize object. Failed to convert value of type java.util.HashMap to Date I have a Firestore Database that looks like this: The “User Routes” collection contains documents named after each User’s ID. Inside those documents are multiple “Route” collections.
Firebase authentication works only on debug version
I have an app on google play: https://play.google.com/store/apps/details?id=com.conta.ftof and I have a big problem. I can’t get firebase authentication with phone number to work on the signed version. in fact, it works only with the debug version (when in the release version I insert the number and click the send button, the toast is returned: unknown error) … Precisely for
dataSnapshot could not get parent push key value
I want dataSnapshot to check if “month” exists in its parent’s “summary”. But dataSnapshot is returning that it does not have “month” in “summary” My Firebase Database: I want to check the value (blue line) from its parent(red line) My Firebase Database Answer The following line of code: Returns the key of the node on which the reference is pointing
How to save last visited url in android webview? [closed]
Closed. This question needs details or clarity. It is not currently accepting answers. Want to improve this question? Add details and clarify the problem by editing this post. Closed 2 years ago. Improve this question So im writing a very simple web-view app that shows certain types of users a web-page that I get from Firebase Realtime Database. Everything works