How to add and access user specific data in firebase using swiftui
So im building an app where im storing a list of exercises that a user selects into a firestore database. However, currently whenever every user has access to all the workouts made. I want to make it so that an user only has access to the workouts they have made? How would that be possible?
Issues integrating Firebase with Swift UI
import Foundation
import Firebase
import FirebaseFirestoreCombineSwift
import FirebaseAuth
struct Message: Identifiable, Hashable, Codable {
How to analyze the click on a share link?
In my Swiftui app I’m using a share link like this
How can I send a push notification directly from my SwiftUI app using Firebase, without relying on the Firebase website?
While looking up many ways to perform this action, it seems like most people do it from using the Firebase website. What I’m trying to do is to have a push notification happen from the SwiftUI app itself using Firebase.
Cannot find ‘Firebase’ in scope
I’m relatively new to SwiftUI and have been following along with a tutorial to aid me in creating an app that has form validation and user login features, however I keep getting an error message that says Cannot find ‘Firebase’ in scope. I have added the packages correctly but can’t figure out whats going wrong? The errors throw in the createUser() function and fetchUser()