Skip to main content

All Questions

0 votes
1 answer
18 views

Distinguishing Firestore Snapshot Listener 'REMOVE' Event Reasons in Query

I have a snapshot listener for a query like this: firestore .collection("...") .whereEqualTo("available", true) .orderBy("sort", Query.Direction.DESCENDING) ...
Dark White's user avatar
0 votes
1 answer
48 views

How to retrieve and fetch data from a document's field on firebasefirestore? [duplicate]

I am trying to fetch data from a document on a Firebase's collection that contains users: As you can see, there is a collection named Users and two users, and now I click on one you get to see the ...
Emmanuel Agyapong's user avatar
0 votes
0 answers
14 views

How come my JVM does not shutdown when using Google Cloud Firestore BulkWriter?

I'm trying to implement the BulkWriter from Google Cloud Firestore in Kotlin. When I create documents individually (without the BulkWriter) my application works normally. However, when using the ...
Paul's user avatar
  • 58
0 votes
0 answers
13 views

com.google.firebase.auth.FirebaseAuthInvalidCredentialsException: The sms code has expired. Please re-send the verification code to try again

I am building a simple authentication app that authenticates the users through email/password and then through Phone. The layout is simple - User logs in with email/password in Login Activity and is ...
Sourav_039_CSE's user avatar
1 vote
1 answer
29 views

Two database Transaction with same database variable

the code looks like this.. private var db = Firebase.firestore db.collection("Classes").document("ClassID").get(resource) .addOnSuccessListener { ...
Carye James Adelante's user avatar
0 votes
1 answer
69 views

Kotlin How do I update the throughput when the application is closing? [closed]

I want to update the data in Firebase when the application terminates. How can I do that I used onDestroy and onPause but they did not do the function I wanted. When I use OnPause, every time the ...
Umut.jpg's user avatar
0 votes
0 answers
21 views

Problem in natural language api integration withf firestore

I am developing an app in kotlin , it has a part , where i have the reviews like feature where i will post review of something ,and it get stored in firestore , i have also used firebase for ...
user15228741's user avatar
0 votes
0 answers
32 views

Why is my UI not being updated even when the state of my List changes? [duplicate]

So I have the following Screen in my app - fun TodoListPage(viewModel: TodoViewModel, modifier: Modifier = Modifier, navHost: NavHostController, ...
UMANG SHARMA's user avatar
0 votes
2 answers
53 views

How to Create a No-Argument Constructor for a Kotlin Data Class with Date and Time Fields

I have the following data class: data class TimesheetEntry( val id: Int = 0, val title: String = "", val category: String = "", var entryDate: LocalDate, var ...
Pineapple_pizza's user avatar
0 votes
1 answer
57 views

Firebase Kotlin SDK callbacks

I'm building a new Compose Multiplatform project and I want to add in some Firestore functionality. I added the Firebase Kotlin SDK: https://github.com/GitLiveApp/firebase-kotlin-sdk # build.gradle....
Stefan de Kraker's user avatar
0 votes
1 answer
108 views

Parsing protobuf payload with Firestore Eventarc notifications and Google Cloud Run + Kotlin/Ktor

I have a very simple Kotlin/Ktor docker image that does this: import com.google.events.cloud.firestore.v1.DocumentEventData fun Application.configureRouting() { val logger = LoggerFactory.getLogger(...
Mac's user avatar
  • 85
2 votes
1 answer
38 views

Why does the ScrollView detect multiple direct childs?

I'm trying to retrieve lost data from my Firebase and then implement some basic crud so that I can barely pass this paper. Here are the source codes that I'm using: activity_admin_main.xml: this is ...
NG CHUN KIAT JACK's user avatar
0 votes
1 answer
31 views

How do you listen for errors when uploading synchronously to Firebase storage?

I've got a list of files to upload to Firebase storage from my Kotlin Android app. I'm finding that if I upload them asynchronously, there can be so many uploading at once that my Android app ...
John's user avatar
  • 5,963
0 votes
1 answer
20 views

How do I set a userid field to be the same as the documentID? [duplicate]

I've been searching for hours and no luck. I'm trying to set userId to the generated document ID. I know it's redundant, but for this project, we are not allowed to use Firebase Auth so I cannot use ...
user24293070's user avatar
0 votes
1 answer
52 views

Make Cloud Run service and android App connect to the same Firestore db

I created a Service with Cloud Run. Using the Integrations tab of the Service, I can connect to a Firestore db instance. Unfortunately, I can't choose an existing instance, hence I have to create a ...
perissf's user avatar
  • 16.2k

15 30 50 per page
1
2 3 4 5
79