2020欧洲杯时间表

Questions tagged [google-cloud-firestore]

2020欧洲杯时间表 Cloud Firestore is an auto-scaling real-time document database for storing, syncing, and querying data for mobile, web and server development.

Filter by
Sorted by
Tagged with
0
votes
1answer
13 views

How to take incremental backup for firestore

Is there a way to take incremental backups for firestore? We need to take regular backups and taking full backup everyday will only get more expensive over time. Also is there any plan of supporting ...
0
votes
0answers
9 views

Firestore and express, .then chain not stopping when returned res.status(401).json()

So, I'm trying to implement .increment into my API. I need to update a like count more than once per second so that's why I'm trying to update my API to do this. This is the exact code I'm trying to ...
0
votes
1answer
8 views

Validate email format in firestore security rules

I need to make sure that if the user is updating its email, it should be a correct email address (at least including a "@" and finishing by a ".xxx") I understood I have to use matches. I tried: ...
0
votes
2answers
10 views

Should I await a Firestore set call in Firebase cloud functions

Let's say I have a cloud function like this export const setData = functions.https.onCall(async (data, context) => { await admin.firestore().doc("myPath").set({data: "myData"}) return {...
0
votes
0answers
7 views

How can I keep the retrieved document with SharedPreferences on user's phone

I retrieve the data with below code into a list. I don't use login procedure for the user. I can keep the data in the list with IndexedStack but when I restart the app I cant show the retrived data in ...
0
votes
1answer
14 views

How to pass multiple condition in a firebase query in Flutter

I want to add another conditon to my firebase query. I want to say userID = xx and status = yy. Is there any way to do that in same query? static Future<List<Ticket>> ticketDataStream(...
0
votes
3answers
24 views

Run async function in the body of a scaffold

I want to decide what content is displayed in the screen on the basis of a boolean variable called isAdmin. The value for this field is fetched from firestore. Here's what I got so far: Future<...
0
votes
0answers
12 views

Firestore vuejs chained calls stop

This piece of code is not working at all. Only the createUser is working. signup () { this.performingRequest = true return fb.auth.createUserWithEmailAndPassword(this.signupForm.email,...
0
votes
1answer
27 views

Promises JS: function response is not returned to main code

I'm building a code in Node which returns a response when a promise is solved (function called: multicreation.userCreation()): const express = require("express") const app = express() const csv=...
-2
votes
0answers
12 views

firebase query not working in TypeScript but working javaScript

This firebase query is not working in TypeScript, but it working javaScript. What is the problem? await admin.firestore().collection('driverProfiles') .where('isOnDuty', '==', true) .where('...
0
votes
1answer
15 views

Can't push the data to array in Firestore + React Hooks

I want to collect the UIDs to the Array fields in Firestore. Successfully fetched each user data, however, I can't list. contactArray: {"0": "xxxxxxxxxxxx", "1": "yyyyyyyyyyyy"} User data can be ...
0
votes
0answers
10 views

App stopped responding on adding data to FireBase. Getting: Failed resolution of: Lcom/google/common/base/CharMatcher;

I'm new to FireStore, and when I was trying to insert a data using Hashmap it is showing error. This is the line which I'm adding to my firestore: Map map = new HashMap<>(); map.put("And","...
0
votes
1answer
20 views

Detecting up and down swipes on a Recyclerview in a fragment how can I do that?

So I have a recyclerview loaded with Firebase Firestore Documents and I want to see if it is beeing swiped up or down. Depending on the direction I want to make the adapter.startListening(); again and ...
0
votes
1answer
23 views

No function is getting called inside firebase get function

I am trying to write login code, but this firebase get function is refraining me to do so. I am unable to call any function (except alert), within this get function. Navigating to another component ...
0
votes
0answers
8 views

Firestore querying system for a simple social network algorithm

I can tell that I am not absolutely an newbie in firestore and this type of programming too, but I am having a really hard times by solving this problem. What I want is to create algorithm that after ...

15 30 50 per page
1
2 3 4 5
1221