Firebase Authentication SwiftUI Package

  Рет қаралды 4,459

Stewart Lynch

Stewart Lynch

Күн бұрын

Пікірлер: 38
@marclutke1900
@marclutke1900 2 жыл бұрын
That really helps me to complete my Authentication stuff. Thanks a lot Stewart.
@davehiggins1474
@davehiggins1474 11 ай бұрын
Hi Stewart, I love you work. Just wondering if this latest addition to the playlist is ‘better’ / ‘newer’ implementation than the much longer playlist from 2020?
@StewartLynch
@StewartLynch 11 ай бұрын
Sorry. I have not updated this nor looked at this for a long time.
@devhopes
@devhopes 2 жыл бұрын
Just finished the video and it was AWESOME. This is going to be so beneficial to use and save so much time. I cannot Thank you enough Stewart but here goes: Thank You, Thank You, Thank You - You are the KING!!!! Enjoy your Ko-fi 🙏😊👩🏽‍💻🇨🇦☕️
@andrejkling3886
@andrejkling3886 2 жыл бұрын
Excellent….💫✨
@emielv8365
@emielv8365 2 жыл бұрын
Wow! This is a very nice tutorial! Thanks!
@StewartLynch
@StewartLynch 2 жыл бұрын
Thanks. I use the package myself so I hope you can too.
@michaelandrews01
@michaelandrews01 Жыл бұрын
Awesome stuff!! Thank you. Definitely owe you a cup of joe. Did find a bug though. On logging in with Apple the second time, it wipes out user name data in Firestore user record. Looks like code does not discern diff between first time and subsequent times logging in (when those fields are blank) and always updates those fields.
@StewartLynch
@StewartLynch Жыл бұрын
Strange. I don't remember that being the case when I put this together, but some thing may have changed. I will hvae to take a look at the code, but I am pretty sure that I handled that initially.
@Brandonar1
@Brandonar1 2 жыл бұрын
Great video! 👍 but I have an issue when adding the package; it fails to add due to “Invalid Manifest”. How does this get resolved? Thanks!
@StewartLynch
@StewartLynch 2 жыл бұрын
Do you already have firebase installed? if so, remove and try again
@marypaul9627
@marypaul9627 2 жыл бұрын
Hi I have a question am learning authentication for an app am doing for App Store,i have tried to put the FBAuthentication dependency and it is not working, do I have to have it or I can directly have Firebase Authentication dependency and the firestore?
@StewartLynch
@StewartLynch 2 жыл бұрын
I am not sure I understand the question. What do you mean by not working. What errors do you get.? You can use whatever method works for you. You don’t have to use my package if you find something else.
@DavidNitzscheBell
@DavidNitzscheBell 2 жыл бұрын
OMG THANK YOU!!!! I've been looking for something like this, and finding none, I was going to try to create something (a YT video or a Medium post), but your Package is so much better!!!!! 15:45 why does it no longer say "Logged in as creaTECH Solutions"?
@StewartLynch
@StewartLynch 2 жыл бұрын
Oops. Sounds like a video edig go me. Thanks for telling me, I will check it out. If you don’t see tha in your code, then it is just an edit issue when producing the video.
@DavidNitzscheBell
@DavidNitzscheBell 2 жыл бұрын
@@StewartLynch OK, no problem. Btw, I just sent you an FB message, because I might have found a typo in an enum in FBAuthError.swift.
@satanmaycare
@satanmaycare Жыл бұрын
@@StewartLynch I see it in my code:)
@DavidNitzscheBell
@DavidNitzscheBell 2 жыл бұрын
20:16 is it possible to cancel out of the profile screen? I mean, if I start to edit the name but then realize, "nope, I don't want to change it", can I cancel and keep the original name?
@StewartLynch
@StewartLynch 2 жыл бұрын
Does the cancel button not work?
@devhopes
@devhopes 2 жыл бұрын
Thanks for updating FBAuthentication, Stewart. I am at 12:25 of the video, just before running the code and I am getting this error on line 26 of FBFirestore: SourcePackages/checkouts/FBAuthentication/Sources/FBAuthentication/Firestore/FBFireStore.swift:26:27: Initializer for conditional binding must have Optional type, not 'FBUser' and line 26 states: 'guard let user = try document.data(as: FBUser.self) else' and I am not sure how to fix that to move on.
@StewartLynch
@StewartLynch 2 жыл бұрын
Hmmm. I will check it out. Looks like something else has changed.
@devhopes
@devhopes 2 жыл бұрын
@@StewartLynch Great, thank you :)
@StewartLynch
@StewartLynch 2 жыл бұрын
I just fixed that bug. I hate how SDKs change things and it has a cascading affect on my stuff. Anyway, this was an easy fix. In your app, you should be able to either remove the package and add it again, or just update the package.
@devhopes
@devhopes 2 жыл бұрын
@@StewartLynch Thanks again
@danielwatson6529
@danielwatson6529 2 жыл бұрын
Just wondering does anyone know what Cloud Firestore Location actually does, Stew Picked US-Central, I picked Europe. only coz I live there, but is the idea to pick where I think my users will be based, or, does it not matter really??
@StewartLynch
@StewartLynch 2 жыл бұрын
I always pick the default because it is usually the closest one to me.
@justinjordan9641
@justinjordan9641 2 жыл бұрын
FB Database isnt creating users. The authentication is working though.
@StewartLynch
@StewartLynch 2 жыл бұрын
Check your permissions
@froadindan8695
@froadindan8695 2 жыл бұрын
"Failed to resolve Dependecies" I cant even get past the package installation. I am just terrible at this.
@StewartLynch
@StewartLynch 2 жыл бұрын
Somehow an error crept in. It should be working now
@froadindan8695
@froadindan8695 2 жыл бұрын
@@StewartLynch Wait, you mean it wasn't totally my fault? There may be hope yet! :) Sincerely though, thank you!
@StewartLynch
@StewartLynch 2 жыл бұрын
LOL. Not sure what happened, but I believe that I have fixed it now. Thanks for bringing it to my attention,
@StewartLynch
@StewartLynch 2 жыл бұрын
I will have to check it out. These things are ever changing
@christianbearden8849
@christianbearden8849 2 жыл бұрын
I would love to see Anonymous User with FB Functions Migrate the user into the permanent token. Peter Friese has an example but I find it challenging to tie it all together (Combine, Dependency Injection, Async/Await...).
@DavidNitzscheBell
@DavidNitzscheBell 2 жыл бұрын
I agree. Peter's stuff is great, but while I can copy/paste his code, I really don't understand it. so if it breaks (new Xcode, new Swift, FB changes, etc.), I'll be lost.
@satanmaycare
@satanmaycare Жыл бұрын
Hey! Great tutorial, thanks for your hard work. But I have some strange error, when I'm trying to change name: terminating with uncaught exception of type NSException *** Terminating app due to uncaught exception 'FIRInvalidArgumentException', reason: 'Document path cannot be empty.' And also I can't see the name when Im using inside ProfileView(): Text("Logged as:\(userInfo.user.name)") I tried to change some parameters in updateName func. And I did next: I added: let = Auth.auth.currentUser And changed document(uid) to document(user?.uid ?? "") after I tried again to change name and oh yeah! its works! (I can see the name and its changed inside users collection) BUT! After reopen app its disappear , and if Im relogin its also rewrite name field in users collection to empty string. Sad.
Add Email Support Request to SwiftUI Project
31:17
Stewart Lynch
Рет қаралды 6 М.
Бенчик, пора купаться! 🛁 #бенчик #арти #симбочка
00:34
Симбочка Пимпочка
Рет қаралды 3,4 МЛН
REAL 3D brush can draw grass Life Hack #shorts #lifehacks
00:42
MrMaximus
Рет қаралды 11 МЛН
Sigma baby, you've conquered soap! 😲😮‍💨 LeoNata family #shorts
00:37
Help Me Celebrate! 😍🙏
00:35
Alan Chikin Chow
Рет қаралды 87 МЛН
SwiftUI Biometric Authentication and KeyChain storage
29:00
Stewart Lynch
Рет қаралды 10 М.
My thoughts on framework after daily driving it for 2 years
16:34
Louis Rossmann
Рет қаралды 715 М.
Getting started with Firebase Auth for Apple platforms
13:37
Firebase
Рет қаралды 22 М.
Xcode templates, projects, targets, schemes and workspaces
24:42
Stewart Lynch
Рет қаралды 4,2 М.
How to Setup Firestore database for your SwiftUI app (2021)
26:32
CodeWithChris
Рет қаралды 25 М.
Kerberos Authentication Explained | A deep dive
16:52
Destination Certification
Рет қаралды 349 М.
Бенчик, пора купаться! 🛁 #бенчик #арти #симбочка
00:34
Симбочка Пимпочка
Рет қаралды 3,4 МЛН