All Questions
Tagged with google-cloud-firestore ios
1,320
questions
-1
votes
2
answers
46
views
How to add data in a Firestore Database (SwiftUI) [closed]
I'm having trouble in the setup steps for adding a document to my FireStore Database.
For reference, these are what my files currently look like:
FirestoreDemoApp.swift
import SwiftUI
import ...
-1
votes
0
answers
20
views
FirebaseFirestore Ios flutter
Analyzing dependencies
Pre-downloading: FirebaseFirestore from https://github.com/invertase/firestore-ios-sdk-frameworks.git, tag 10.29.0
[!] Error installing FirebaseFirestore
[!] Failed to download '...
0
votes
0
answers
27
views
FirestonePigeonParser.h Issues while Compiling on Xcode
I'm trying to compile on flutter code on XCode and I keep getting this new issue.
It says "Expected a type" and "Unknown receiver 'FIRFilter'; did you. mean'CIFilter'?' `17x in this ...
-1
votes
0
answers
11
views
How to Send Firebase Push Notifications To Other Users Within Code iOS Swift (Messaging Using A Database) [duplicate]
I would like to call a function that sends a push notification to the recipient when a new message is sent.
Here's how my app works:
In the database, user objects can have several "connections&...
0
votes
1
answer
40
views
View is emtpy after onAppear call to firebase firestore after button click (From another view)
I am trying to populate a view when a button is tapped on a different view. When I used my mock data, everything worked fine. However, when I switch to calling my firestore db data, nothing shows up. ...
2
votes
2
answers
363
views
Flutter - Firebase Core - Error Searching for inspections failed: undefined method `map' for nil:NilClass
I am trying to configure my Flutter app with Firebase and am having no luck just getting the app to run after adding firebase_core: ^3.1.0
Here's what has happened thus far.
flutter pub add ...
0
votes
1
answer
56
views
Firebase iOS SDK: getDocuments() call pausing the whole function and gets stuck
I have a function getStoredUser() where it gets the documents in the "users" collection where the id is equal to a userId variable and if that doesn't exist, create one.
Calling getDocuments(...
0
votes
1
answer
42
views
Flutter: Firestore server unavailable from background
I want to sync my firestore data from background once a FCM message is received. Therefore I want to fetch data from firestore server only using GetOptions(source: Source.server), because server data ...
0
votes
1
answer
44
views
Unable to retrieve documents from Firestore when adding .whereField
I have added the Gemini ChatBot extension to a Firebase project.
Sample: https://medium.com/google-cloud/build-a-chatbot-on-ios-with-the-firebase-gemini-api-extension-in-swift-swiftui-a-step-by-step-...
0
votes
0
answers
52
views
Firestore Database Query
I have a button created in code that calls the function:
@objc func settingsButtonTapped() async {
print("settings button tapped")
await self.getMultipleAll()
}
I copied and pasted ...
1
vote
1
answer
510
views
Attribute list error in FIRFirestoreSettings with Firebase Firestore SDK on Xcode 15.3
I've run into a build error after updating to Xcode version 15.3 in my project that incorporates the Firebase Firestore SDK.
An attribute list cannot appear here
The error points to a line in the ...
0
votes
1
answer
79
views
Use Firestore in both Flutter module and native iOS
We have a native iOS app and we're migrating it to Flutter incrementally as rewriting the entire app in Flutter is not viable at the moment. We heavily depend upon Firebase resources, such as auth, ...
-1
votes
1
answer
33
views
How to upload locally persisted data once the user has logged in with Firebase Auth?
There is nice feature when working in offline mode with Firestore:
Cloud Firestore supports offline data persistence. This feature caches
a copy of the Cloud Firestore data that your app is actively ...
0
votes
0
answers
63
views
Problem with connecting to Firestore and Firestore emulator
I am encountering strange errors while attempting to connect to Firestore, whether using the emulator or not. The rules set for testing are as follows (both locally and online):
rules_version = "...
1
vote
0
answers
37
views
Firebase: Offline - no result unless I force close App and reopen
Why is it, that my data is not showing when I log into my App (IOS)? If I force close and reopen it knows that I am logged in, and then shows data.
My config.js:
// Initialize Firebase
firebase....