Category "google-cloud-firestore"

How to search for specific fields in an array of objects containing objects in a document and update them in firestore (firebase) (JS)

// Update the other user that current user has asked for revision export async function updateOtherUserForContractRevision(contractID : string, comments : any)

Assign variable a value oustide a listener in Kotlin [duplicate]

I'm kinda new to Kotlin and Firebase. I have this problem and I can't figure out why it happens. I'm trying to get the Firebase Cloud Firest

why this code isn't working in real-time pleace cheack this code [closed]

this code isn't working in real-time.. it works only whenever I restart/refresh the app. I am using Cloud Firestore. plzz change code am noob

How to run latest chromium/puppeteer on firebase

I do have a working application on firebase, that renders code and delivers a png image as output using puppeteer. However I would like to have a newer chromium

Data retrieving from Database Crashes when in MVVM with the Error Could not Connect To Firestore

I am trying to call data from Firebase and map it to data class while using MVVM but Its showing me errors saying failed to Connect The code of Repository Imple

Flutter Firestore: FirestoreBuilder with initial data

I'm making my first Flutter app and I encounter a problem and doesn't found any solution for it. I have a view where I render a Firestore document, and there is

How to ensure that a job is processed only once with Firebase

I am adding tasks as Docs in a Firestore collection. On the Backend, I have multiple NodeJs stateless instances that process these tasks. All the instances are

How to fix a null object reference on document snapshot

I have an program where the MainActivity display the name and the email of the user on top of the screen by using document snapshot that been stored in firestor

Firebase Read Data Issue (Bad state: Snapshot has neither data nor error)

Showing this problem every time suddenly, There was no issue at first. AVD can run app but in physical device its not even running Column( children: [

Continuously Retrieving data from stream builder

I am trying to implement stream builder with cloud firestore to retrieve field data. Here is the code: @override Widget build(BuildContext context) { retu

How to user filter with Firestore database in React Native?

I want to filter the firestore query to get all docs that do not contain a specific value. I used @react-native-firebase import firestore from '@react-native-fi

How to read data from nested array in Firestore

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 "transa

Android & Firestore - deducting value from an object

General context: The app I'm making manages activities with resources at hand. Once users create cases, the amount of materials each case needs is deducted from

How do I persist authentication state in my Kotlin firebase app?

I am building a kotlin app using FirebaseAuth and I want to add some custom rules to keep the user signed in for a time even if they are not using the app. All

Firebase error - SyntaxError: Named export 'SDK_VERSION' not found

I am building a web app using Next.js, and I am using Firestore as my database and thus Firebase, I am connecting to the database with the following code: impo

Swift saving decimal to firebase

I am trying to get my numbers as accurate as possible when the user enters the information for fuel purchased. I also would like it so in the example below a us

Firestore Recyclerview item doesn't update when doing add, update, delete data

I have a problem when doing add, update, and delete with my firestore recyclerview. The problem is my recyclerview item updating automatically when doing add, u

Firebase updates doesn't change in screen (flutter)

in my project, i have a button that will change some value from firebase, what i am facing is that although i am using setState and futureBuilder, the changes d

Swift for loop not waiting for firestore call to complete

I know firestore calls are async which means this will not work: private func removeUserSavedMomentFromAllUsers(moment: StoryMoment, completion: @escaping (

Deleting from Firebase with Document ID

I'm using Firebase to store and retrieve Data. I am able to successfully save data to Firestore but nothing seems to happen when I delete the user from the Fire