Skip to main content
The 2024 Developer Survey results are live! See the results

All Questions

0 votes
1 answer
30 views

Swift – Authenticate and simultaneously fetch user Id from Firebase

Very new to Swift and just following some tutorials I have a loginViewViewModel with a function to login a user. However, I also want to grab the uid from Firebase after .signIn and print to the ...
Samuel's user avatar
  • 5,871
-1 votes
0 answers
17 views

How to only allow users with accounts to login to my app [duplicate]

I am very new to iOS coding and using firebase so sorry if this is a dumb question. I have an app that allows users to create accounts and save their info with firebase. A problem I face is that a ...
user26491948's user avatar
1 vote
1 answer
38 views

iOS Firestore permission denied even when using Firebase Authentication [closed]

I know this question has been asked a lot but a lot of the solutions say to change the Firestore rules and I don't want to do that. I'm wondering why they aren't working as is since I have ...
radishhorse's user avatar
0 votes
0 answers
28 views

Firebase Auth - SignIn with Google success even if accessToken is invalid

I have a question about the Google SSO and FirebaseAuth library. I have this code class GoogleAuthService { func signIn(completion: @escaping (Error?) -> Void) { guard let ...
Petr Jelínek's user avatar
0 votes
1 answer
49 views

Unable to send SMS with code, SwiftUI, FireBase Authentication, ERROR 17999 and ERROR 17010

I am developing an app on IOS 17+, my firebase-ios-sdk 10.18.0, Xcode 15.4. I need to implement login and registration in the app using phone number. But due to several kinds of errors I am not able ...
AlenTi's user avatar
  • 23
4 votes
0 answers
56 views

Sign in with Apple - account delete with Swift

I am currently working on a Swift application whose data storage and authentication part is managed by Firebase. I would like to offer my users the possibility of using their Apple account for account ...
Jeremy_69250's user avatar
0 votes
0 answers
67 views

Firebase error on authentication code that used to work fine

I am getting an error with this line in my SwiftUI app that uses Firebase: self.userSession = Auth.auth().currentUser The error is: Value of type 'AuthViewModel' has no member 'userSession' I get ...
user2926337's user avatar
1 vote
0 answers
497 views

Facebook Limited Login on iOS doesn't work for production users

Firstly, it's been a while since I've published a Facebook app to support Facebook Login and I'm not sure whether the status Published is the same as Live, can anyone confirm that? I recently updated ...
e_pie's user avatar
  • 101
-1 votes
1 answer
177 views

Value of type 'GIDSignIn' has no member 'clientID'

I'm trying to set my client ID for Google Sign-In by assigning it to 'GIDSignIn.sharedInstance.clientID = "YOUR_CLIENT_ID"', but I'm encountering an error stating 'Value of type 'GIDSignIn' ...
Neha's user avatar
  • 23
0 votes
0 answers
28 views

Firebase, user deleted but still present with: Auth.auth().currentUser [duplicate]

First I signed up, then I logged in and everything works fine. After I deleted the user from Firebase, but then strangely when I run this code: let user = Auth.auth().currentUser ...
Swifty's user avatar
  • 37
0 votes
0 answers
16 views

Firebase auth: issue when logging out user when multiple iOS apps live under the same project

We have 10 fitness apps that use Firebase Auth, RTDB, Crashlytics and other services under one Firebase project. This was done intentionally, because apps are different targets, sharing almost the ...
iago849's user avatar
  • 1,844
0 votes
1 answer
56 views

Firebase User returning no photoUrl, despite the user having a photo

I've implemented Firebase Auth for my Swift project. However, the photoUrl seems to be returning no photo, despite the user having a photo. This is how I'm retrieving the photoUrl: Auth.auth()....
user896541's user avatar
0 votes
0 answers
29 views

Unable to delete an item from a collection from FireBase with SwiftUI

I am trying to delete a "food" from a collection from a users' account. I create a deleteFoodEntry function within my AuthViewModel and then I have a private func within my AddFoodView file. ...
Zeusrobs's user avatar
0 votes
0 answers
26 views

FirebaseAuth type not found in scope despite successful import in AuthViewModel

I'm currently working on implementing user authentication with Firebase in my iOS app. I've encountered a puzzling issue in my AuthViewModel where I'm importing Firebase but still getting errors like: ...
landandev's user avatar
0 votes
0 answers
60 views

Evaluation error: kCFErrorDomainCFNetwork: 308 in SwiftUI App

I am utilizing Firebase and SwiftUI for a personal project. I am working on the auth page, and whenever I log in by pressing the SignIn button this is output in console. I am just curious as to what ...
landandev's user avatar

15 30 50 per page
1
2 3 4 5
94