All Questions
Tagged with google-cloud-firestore c#
214
questions
-1
votes
0
answers
34
views
How can I convert date in utc for get data from firebase collectionName in C#
It's giving a result but in case of date filter range I'm doing some where mistake which I need to do.
Here is model AggregateModel
public string? collectionName { get; set; }
public DateTime? ...
1
vote
0
answers
44
views
Integration Testing of a windows forms project in Visual Studio 2022 that uses Firestore for database
I have a question, is there a way to do integration testing of my Windows Forms application if I use Firestore for my database inside of Visual Studio 2022.
I need this for my project and I'm just ...
0
votes
0
answers
17
views
Firestore timestamp and cloud function issues when scheduling notifications for my flutter app
I have a cloud function that is scheduled to run at 8pm PDT every day to check if a certain condition is met for each user in my firestore database. If the condition is met, the function will add a ...
0
votes
1
answer
74
views
Is it safe to add the Google firebase admin sdk json file to c# WPF application this way?
I create a WPF application to connect to Google firestore database and everything works fine.I create the firebase admin sdk json file in firebase console:
enter image description here
Then in WPF ...
1
vote
0
answers
28
views
Firestore snpashot alway null Unity
I try to read a document that exists in the firestore, but it always doesn't. I also checked the rules and they are good.
_checkOffer = true;
var document = FirebaseFirestore.DefaultInstance....
0
votes
0
answers
46
views
How to Calculate Latitude/Longitude Radius to use for Firestore Database Querying? (X miles from Lat/Long)
Using Xamarin Forms & Firestore, I would like to display locations from my database that are within X amount of miles away from the user.
My database will store the Latitude and Longitude ...
2
votes
1
answer
186
views
Firestore deserialization error: "Unable to create converter for type UserCustomData" in C# .NET application
I'm working with Firestore in a C# .NET application, and I'm encountering a deserialization error when trying to convert Firestore documents into instances of my custom class, UserCustomData. Despite ...
2
votes
2
answers
69
views
How do I convert Firebase Dictionary to class in C#
I am retrieving a list of users from Firebase but they are coming in as KVP.
{[FirstName, Eric]}
{[LastNae, EricLastName]}
{[Email, [email protected]]}
{[Phone, 12345]}
I need to convert this list of ...
0
votes
1
answer
54
views
upgrading Google.Cloud.Firestore API throws an error
I posted this question in GoogleCloudCommunity but decided to post it here too.
Our C# .Net Core project is using Google.Cloud.Firestore API version 2.5.0 and works just fine. However, the next ...
0
votes
1
answer
69
views
How to get real time update using C#
I want to get real time update in firestore. The collection is "Users", it has different document of number. When I try to fellow Firebase Documentation to write the code but it list out all ...
1
vote
1
answer
99
views
How to get list out document in firestore using C#
I have a collection called "Users", it has 2 documents "A" and "B". Now I have 2 users but later on, I may have more users, so I had to list out the document. I need to ...
0
votes
0
answers
42
views
Downloading multiple images from Firebase Storage in Unity and displaying each of them on different objects
I'm trying to download several images from Firebase Storage then display them on separate objects. I use Firestore to store the string data and Storage to store the images accordingly. So on Panel A, ...
0
votes
1
answer
213
views
Issues working with Firestore emulator via Docker
I am running the Firestore emulator as a Docker container and facing two issues.
Here's the code I'm using:
Environment.SetEnvironmentVariable("FIRESTORE_EMULATOR_HOST", "localhost:...
0
votes
1
answer
176
views
Get list of all root level collections of Firebase Firestore in .Net
I'm trying to get all the root-level collections of a Firebase Firestore Database in my server using .Net. I have tried Firebase Admin SDK but couldn't find the right method to get the list of ...
0
votes
1
answer
319
views
Is it possible to use C# code to call Firestore database in .NET Web Assembly project?
I have just set up a new .NET 8 Web Assembly project and want to interact with a Firestore database. So I downloaded the official .NET library (https://www.nuget.org/packages/Google.Cloud.Firestore/ ) ...