All Questions
Tagged with google-cloud-firestore java
2,317 questions
1
vote
0
answers
113
views
Firestore only updates when accessed through a specific Android activity
I'm working on an Android app where users can add and remove restaurants from their favourites via the RestaurantPage activity. When I access the RestaurantPage activity from the UserFavourites ...
0
votes
1
answer
307
views
io.grpc.StatusRuntimeException: UNAVAILABLE: io exception with firestore
I have a simple Micronaut application with controller as below
import com.google.api.core.ApiFuture;
import com.google.auth.oauth2.GoogleCredentials;
import com.google.cloud.firestore.*;
import io....
0
votes
1
answer
76
views
Firestore has trouble initialize db in Docker
I'm making a Java application which will connect to a Firestore db on GCP to do some data read and write, it all worked well if I build and run with mvn, but when I build it into a Docker container, ...
0
votes
1
answer
191
views
run firebase emulator in spring boot test
I need to migrate some documents from one collection to another. This migration runs when the application starts up. It checks if the migration is finished, if it's not, it will run it otherwise it ...
0
votes
1
answer
70
views
Clear Firestore database after testing
I am running Android UI tests. I use a separate Firestore DB for testing. I want to delete all documents after a test finishes. This curl command works.
curl -v -X DELETE "http://127.0.0.1:8080/...
0
votes
1
answer
51
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 ...
1
vote
1
answer
72
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;
...
1
vote
1
answer
113
views
No data from Firestore displayed in the recycler view
I started with Firestore and I created a collection MealsDev containing one element.
I cannot display it in a recycler view. May you help with it?
In the meantime I have already checked other posts, ...
0
votes
1
answer
224
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=&...
0
votes
1
answer
63
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
(...
1
vote
0
answers
44
views
Android application doesn't save data on firebase firestore console site
I tried putting firestore using the option in Android Studio which is in "Tools" and I also tried putting it directly (putting the dependencies and everything else). Also I connected my ...
0
votes
1
answer
44
views
Trying to retrieve data from a document in Firestore but it returns null when mapping to a Java object
Here is the code for the LessonGroup class:
public class LessonGroup implements Serializable {
//properties
private String studentId;
private String lessonGroupId;
private String ...
0
votes
1
answer
57
views
Firestore auto-remove "is" in property name? [duplicate]
I'm using Firestore for my project, and I've noticed that for some reason, the data stored in my db has the "is" removed from the key.
Here is my model in Kotlin:
@Serializable
data class ...
0
votes
1
answer
32
views
Firestore API states index does not exist when it does
I'm using the Java Firestore library to access my Firestore database. I am making this Query:
Query chatQuery = firestore.collection("chats")
.whereEqualTo("userId", userId)
....
0
votes
1
answer
66
views
Firestore Write from Beam
Is it possible to write to 2 different firestore databases from the same beam Job ? One database is the 'default' and the other being a different one.
When building the beam pipeline, it is picking ...