Skip to main content

All Questions

0 votes
0 answers
20 views

SwiftUI and FirestoreQuery property wrapper - Pagination?

I'm new to using the property wrapper for FirestoreQuery and I'm confused how to handle pagination. @FirestoreQuery(collectionPath: "users") private var users: [Users] Would this simply ...
Christian's user avatar
  • 356
0 votes
1 answer
60 views

Swift Multidatepicker doesn't recognize dates loaded from Firebase

I have an issue where when dates are loaded from firebase into my MultiDatePicker, the onChange function does not recognize dates that are already in the "selectedDates" array, instead re-...
Joshua Shen's user avatar
-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 ...
Remi_Zacharias's user avatar
0 votes
0 answers
37 views

10.28.1 - [FirebaseFirestore][I-FST000001] Write at another/pleaseWork failed: Missing or insufficient permissions -> How do I fix this?

Making an app in SwiftUI for iOS. However, when I try to read or write to firebase firestore, I keep receiving an insufficient permissions error. When I try to search up solutions to this error, ...
Varun Vaidya's user avatar
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. ...
Joel Carter's user avatar
1 vote
1 answer
53 views

SwiftUI List View not updating when (updating before) published property data is retrieved from Firestore

I've seen many similar questions posted, but none yet seemed to provide a solution to my version of the problem. Simply put, a ForEach List view is not updating (or more accurately I suspect is ...
Phil's user avatar
  • 69
0 votes
2 answers
77 views

Bringing array values ​containing map in firestore using Swift

I'm developing an app for my school project and I stuck in an issue and I'm not able to handle it. I’m trying to get midTerm, finalTerm and lectureGradeId values from my Firebase Cloud Firestore. ...
caneraltuner's user avatar
0 votes
0 answers
50 views

SwiftUI: @Observed new property wrapper does not update view like ObservableObject protocol

I have been using new SDK Observable and putting property wrapper @Observed on view model so that the view model would look more clean without all the @Published. But I have encountered some issues ...
Ivars's user avatar
  • 113
0 votes
0 answers
26 views

How to correctly use 'document.delete' to delete Firestore data?

I'm new to using Firestore with Swift but I am making progress. I am currently working on the gym plan creation section, with me just finishing up the views where a user can create their own plan and ...
anon0987's user avatar
0 votes
0 answers
48 views

How to handle Firestore map/array data that is inside of another map in SwiftUI?

I am new to Firestore/Firebase, Swift and SwiftUI so apologies for any simple mistakes I have made in asking the question / during coding I am making a fitness app and am currently trying to display ...
anon0987's user avatar
0 votes
0 answers
41 views

Pagination in my SwiftUI, Firebase project

I am trying to implement pagination in my project and it keeps getting stuck in the loading ProgressView(), i have tried to fix it and can't place my finger on where i am going wrong. Below are both ...
EMPIRE's user avatar
  • 57
0 votes
0 answers
70 views

SwiftUI not updating view when Firestore object is updated

I've got a list of items stored with Firestore and an edit page that updates the database when it's closed. The problem is, it doesn't update the list data until I use a picker to switch to a ...
garrett's user avatar
  • 33
1 vote
1 answer
128 views

SwiftUI View Not Updating with Firestore Data

I'm developing a SwiftUI app that fetches data from Firestore and displays it in a view contained within a third-party bottom sheet component. Although my AdminPostViewModel successfully fetches data ...
Ancientplayer's user avatar
0 votes
0 answers
65 views

Altering @FirestoreQuery collectionPath

At the moment I am using @FirestoreQuery to retrieve a project data from firebase and populate a list in SwiftUI with that data. It works all good when security rules are set to: match /databases/{...
kuba's user avatar
  • 1
1 vote
0 answers
129 views

Audio Player does not play url audio (OSStatus error 2003334207.)

I have a video player that works when I capture audio recordings locally and store them in a location on the device. When I try to upload the audio recording to firestore the audio is correctly ...
Ahmed Zaidan's user avatar

15 30 50 per page
1
2 3 4 5
31