I would like to see sign in using phone if possible. Thanks!
@awu878
11 ай бұрын
really wanted to know how to do the phone login
@myopic2802
4 ай бұрын
These Authentication videos have been fantastic and very informative! I keep running into this essor though, and I'm worried it is going to kill my progress. I think it is already effecting my ability to delete users from Firebase Authentication. Any suggestions? I've looked up & down my Firebase & PList.... import Foundation import FirebaseAuth struct AuthDataResultModel { let uid: String let email: String? let photoURL: String? let isAnonymous: Bool } } init(user: User) { error: Cannot find type 'User' in scope self.uid = user.uid self.email = user.email self.photoURL = user.photoURL?.absoluteString self.isAnonymous = user.isAnonymous } }
@ВалентинЗубков-ч2й
2 ай бұрын
Is there a point in actually not deleting the user's data when they delete their auth, because for whatever reason they might want to come back, write to support smith like "it was a mistake can you please restore my data", so then we can actually can do it by assigning the existing saved data to the new account by making sure the auth method is the same (eg same Apple ID)?
@ВалентинЗубков-ч2й
2 ай бұрын
It also can be optional like "do you want to delete your account only, or account and all its data?" - just want to clarify if it is a good idea to provide such a service as storing data just in case.
@FFHH-l9b
Ай бұрын
@@ВалентинЗубков-ч2й you could give them a grace period of a few weeks before their account actually gets deleted. So if they come back within that time they can keep all their data. I know social platforms do this. I suppose you'd have to run a job outside the app to delete users that were marked for deletion after x amount of time. Other than that I don't really see the point of deleting auth but not data. If anything, when someone tries to delete their account what they want to delete is data associated with it.
@mrslana3049
Жыл бұрын
Thanks for your great video. Please I have a question regarding to append array in array. For example I wanna append [replies] in [Comments]. In firestore. I’m not able to find the correct answer or approach to append array in specific index in [comments]
@SwiftfulThinking
Жыл бұрын
The Firestore section of this course is coming out next!
@mrslana3049
Жыл бұрын
Thanks boss , we are waiting ❤️❤️
@911gogogo
Жыл бұрын
@@SwiftfulThinking fantastic!
@akmalxz7131
Жыл бұрын
Hi, i want to ask, why when i run the codes, for example the delete function, the function works, but it never direct back to the sign in page. How to solve it? can you help? thank you
@valerasworld
8 ай бұрын
maybe you missed: showSignInView = true
@ritzg98
9 ай бұрын
When I follow this code, it appears to work. I can no longer login with that user. But I still see the user in Firebase. Does anyone know how to fix this issue?
@SwiftfulThinking
9 ай бұрын
The use in Firebase Authentication and the user profile in Firestore are separate and you likely want to delete both
@Designguidetv
Жыл бұрын
ooh i get the error Requires RECENT LOGIN
@Designguidetv
Жыл бұрын
for anonymous account i get the error Error Domain=NSURLErrorDomain Code=-1000 "(null)"
@SwiftfulThinking
Жыл бұрын
Oh yea, in production you’ll probably need to build a flow “this is a sensitive request. Please sign in again to confirm account deletion” and then trigger it. It’s annoying but a good security measure
@Designguidetv
Жыл бұрын
@@SwiftfulThinking I see, I think I saw a solution on stackoverflow already. But for the anonymous account I get that NSerror, I guess ill just leave it at this and continue.
Пікірлер: 20