Skip to main content

All Questions

0 votes
1 answer
43 views

Synchronise two event listeners / Using nested queries for firestore

I need to fill a RecyclerView with the trip data. This means I need to retrieve data from two different collections from my Firestore database. collection 1: "users" which contains all data ...
ngc-224's user avatar
  • 21
1 vote
1 answer
55 views

Why is Firestore not mapping a field of type private?

I have the following structure in Firestore: The map called lecturaBreve corresponds to the following class: public class BiblicalShort extends Biblical { private LHResponsoryShort responsorio; ...
A. Cedano's user avatar
  • 1,001
0 votes
1 answer
142 views

I can write to my Firebase Firestore database, but am unable to read from it (Android Studio using Java)

I am trying to connect my Android app to my Firestore database. I can write to my database from my app, but I am unable to read from it. AndroidManifest: <?xml version="1.0" encoding=&...
connor66's user avatar
0 votes
1 answer
39 views

My android app doesn't recognize my adapter. No adapter attached skipping layout

I'm making a journal app and whenever I try to use the menu on the toolbar, it says: o adapter attached skipping layout A> nd doesn't allow me to add another journal to my journal list (...
Tikkar's user avatar
  • 21
0 votes
1 answer
217 views

Firebase Phone authentication test num working but real phone num showing [BILLING_NOT_ENABLED]

I am trying to make an application that has only a mobile number login facility. I am using Firebase Auth, Firestore and Android Studio in Java to make it, I have 5 activities, Home(Splash only)>...
Parvanshu Sharma's user avatar
0 votes
1 answer
68 views

Firebase OnSuccessListener times out when I try to wait for it to finish

I'm trying to load data from my Firebase Firestore database. This code uses an OnSuccessListener which runs async so I'm trying to wait till it loads data to continue. I have done this by creating a ...
Chewietheshiba's user avatar
1 vote
1 answer
67 views

How to map Firestore document presented in json-specific format (Firestore data model) to java class?

I obtain JSON from PubSub message. JSON represents a document from Firestore (a specific Firestore data model with additional intermediate objects that define the type of field). I need to map this ...
Jack Jhons's user avatar
0 votes
1 answer
40 views

in Firestore, what happens if i try to update an existing document's field when the field doesn't exist?

Let's say I have a collection in Firestore. this collection has some documents, but not all documents have the same fields. for example, one document with ID "house" might have the fields &...
stephenarosaj's user avatar
0 votes
1 answer
59 views

How to identify Firebase Firestore errors and exceptions in Android

public static void getMember(String id, DataListener<Member> listener){ FirebaseAgent.getMemberDocumentReference(id).get().addOnSuccessListener(new OnSuccessListener<DocumentSnapshot&...
Mouad Oumous's user avatar
0 votes
1 answer
60 views

ClassCastException when trying to get the timestamp from firestore with springboot

I'm trying to get the timestamp from a document in a collection but I get an error: ERROR 26920 --- java.lang.ClassCastException: class java.util.Date cannot be cast to class com.google.cloud....
Pedro Sobral's user avatar
0 votes
1 answer
29 views

Unable to write to Firebase Firestore

Unable to get the save button (which is the tick button) to save the entry to Firebase Firestore. It always returns a failed command when pressed. It showed me a "Failed while adding detail" ...
Jadon Yeo's user avatar
2 votes
1 answer
67 views

How to retrieve data from sub-collections with Firebase firestore to Viewpager in Java, Android?

I'm working on a Java Android project. My goal is to make an application that gives the user information about countries. Whichever country the user chooses, the country and information about that ...
Burak Turan's user avatar
1 vote
1 answer
929 views

Firebase Authentication Account removal

I'm trying to remove a Firebase Authentication account in my Android Java app. I have the account info in both Firebase Authentication and Firestore. Firestore removal is okay with me, but the ...
Lê Trần Phú's user avatar
1 vote
1 answer
111 views

Retrieve data based on the app selected language

My app is almost ready, but there is an issue I'm not sure how to approach which is my app supports Arabic and English. English is the main language of the app and users can change it from within app ...
MãĴď's user avatar
  • 391
0 votes
2 answers
52 views

how to store the elements of a document snapshot as objects in a list and retrieve their document ids in a transaction operating on firestore database

I have created a Firestore database that contains objects of a user-defined class named "Courses" as its documents. Now I want to read these documents in a transaction as a list together ...
goksel demiradam's user avatar

15 30 50 per page
1
2 3 4 5
23