That really helps me to complete my Authentication stuff. Thanks a lot Stewart.
@davehiggins147411 ай бұрын
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?
@StewartLynch11 ай бұрын
Sorry. I have not updated this nor looked at this for a long time.
@devhopes2 жыл бұрын
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 🙏😊👩🏽💻🇨🇦☕️
@andrejkling38862 жыл бұрын
Excellent….💫✨
@emielv83652 жыл бұрын
Wow! This is a very nice tutorial! Thanks!
@StewartLynch2 жыл бұрын
Thanks. I use the package myself so I hope you can too.
@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 Жыл бұрын
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.
@Brandonar12 жыл бұрын
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!
@StewartLynch2 жыл бұрын
Do you already have firebase installed? if so, remove and try again
@marypaul96272 жыл бұрын
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?
@StewartLynch2 жыл бұрын
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.
@DavidNitzscheBell2 жыл бұрын
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"?
@StewartLynch2 жыл бұрын
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.
@DavidNitzscheBell2 жыл бұрын
@@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 Жыл бұрын
@@StewartLynch I see it in my code:)
@DavidNitzscheBell2 жыл бұрын
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?
@StewartLynch2 жыл бұрын
Does the cancel button not work?
@devhopes2 жыл бұрын
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.
@StewartLynch2 жыл бұрын
Hmmm. I will check it out. Looks like something else has changed.
@devhopes2 жыл бұрын
@@StewartLynch Great, thank you :)
@StewartLynch2 жыл бұрын
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.
@devhopes2 жыл бұрын
@@StewartLynch Thanks again
@danielwatson65292 жыл бұрын
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??
@StewartLynch2 жыл бұрын
I always pick the default because it is usually the closest one to me.
@justinjordan96412 жыл бұрын
FB Database isnt creating users. The authentication is working though.
@StewartLynch2 жыл бұрын
Check your permissions
@froadindan86952 жыл бұрын
"Failed to resolve Dependecies" I cant even get past the package installation. I am just terrible at this.
@StewartLynch2 жыл бұрын
Somehow an error crept in. It should be working now
@froadindan86952 жыл бұрын
@@StewartLynch Wait, you mean it wasn't totally my fault? There may be hope yet! :) Sincerely though, thank you!
@StewartLynch2 жыл бұрын
LOL. Not sure what happened, but I believe that I have fixed it now. Thanks for bringing it to my attention,
@StewartLynch2 жыл бұрын
I will have to check it out. These things are ever changing
@christianbearden88492 жыл бұрын
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...).
@DavidNitzscheBell2 жыл бұрын
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 Жыл бұрын
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.