For anyone watching now you need to change your storage rules in Firebase to "allow read, write: if request.auth != null;" changing that line should fix any 403 error messages when uploading / creating an account within the app.
@nostused97165 ай бұрын
You saved my life
@ericchu6503 Жыл бұрын
Can you provide the image picker code you used?
@sxteesx3 жыл бұрын
Keep up the juicy content Professor Brain :)
@stephaniewagstaff6563 Жыл бұрын
I noticed a lot of comments not being responded to 😒which sucks because I'm excited about these courses. I copied your struct ImagePicker word for word and it will not wort. Could you direct me to the file you used please?
@nemoooo57672 жыл бұрын
Thread 1: "The default FirebaseApp instance must be configured before the default Authinstance can be initialized. One way to ensure this is to call `FirebaseApp.configure()` in the App Delegate's `application(_:didFinishLaunchingWithOptions:)` (or the `@main` struct's initializer in SwiftUI)." how do i fix it?
@christianalexandernonis22602 жыл бұрын
I was wondering why you didn’t put the FirebaseApp.configure() inside the @main App
@1HourBule3 жыл бұрын
Would be interesting to see how you handle Video with SwiftUI
@lotxnna3 жыл бұрын
Your videos are always so amazing. Could you please show how to get an audio file stored on Firebase Storage and play it in app? Also how to access a property that has an array of References. (The firestore reference type) People often make videos using images but there are so few videos that use audio file examples and you make some of the best iOS videos out there so I thought I would ask. Really appreciate all of your wonderful videos. Thank you.
@danielwatson65292 жыл бұрын
i’ve figured audio, but not images 🤣 swapsies??
@alanadev2 жыл бұрын
ohhhhh i'd like to know this too!!
@lukasalipur88922 жыл бұрын
For audio, you need to use AVPlayer framework, remember to use just AVPlayer not AVAudioPlayer because the AVPlayer is for streaming(for your case you want to stream it from firebase) and AVAudioPlayer is for local audio files. Check up some tutorials on how to stream audio files swiftUI. Best regards.
@mnesvat3 жыл бұрын
Thanks for the good content, appreciated :)
@의의-y9z2 жыл бұрын
"Thread running at QOS_CLASS_USER_INTERACTIVE waiting on a lower QoS thread running at QOS_CLASS_BACKGROUND. Investigate ways to avoid priority inversions" An error occurs. How can I solve this ?
@FranciscoHernandez-ij3kd3 жыл бұрын
Thank you for your hard work .
@mihailsalari3 жыл бұрын
Good job, man! I like your videos!
@johnsorensen46963 жыл бұрын
Why does the updateUIViewController function have no content?
@dheerajt94332 жыл бұрын
I have a quick question.. When declaring the error statement, when we do self.loginStatusMessage, instead of appending \err(), can I just keep the text so that once there is an error it isn't a super long message that comes up in red text?
@danielwatson65292 жыл бұрын
HM, what I don't understand is how you were able to view the doggy photo with the url. because you where Authurised in the simulator NOT the browser, so id expect that not to work, could anyone access that picture?
@denglishiu Жыл бұрын
Everything worked great while I was following along. Now I get an error when when creating a log in and uploading a photo. "Error Domain=FIRFirestoreErrorDomain Code=7 "Missing or insufficient permissions." UserInfo={NSLocalizedDescription=Missing or insufficient permissions." My Firebase storage permissions say: " allow read, write: if request.auth != null;"
@hide-kun1660 Жыл бұрын
Hello Sir, would you mind to give solutions to this error - Error Domain=FIRFirestoreErrorDomain Code=7 "Missing or insufficient permissions." UserInfo={NSLocalizedDescription=Missing or insufficient permissions.} [It's shows after image uploaded to cloudstorage] Due to this error anything else is not working. Thank you so much!!
@denglishiu Жыл бұрын
Did you find a solution? I'm having the same problem.
@I-zl1eo8 ай бұрын
in your rules change false to true . allow read, write: if true;
@iDenish-u4s3 жыл бұрын
What happened to your video on the corner, catching you from Africa...
@sonphan87892 жыл бұрын
Many thanks your videos. On this video i got a prolem: when i create account then an err occurs : 403 permission denie. I dont know how to fix it, can you teach me?
@sonphan87892 жыл бұрын
Successfuly to create on firebase but cant upload the image cause got err 403 ...
@nemoooo57672 жыл бұрын
@@sonphan8789 làm thế nào để giải quyết nó
@edison12 жыл бұрын
please make new videos/courses
@Christopher-zr1ib2 жыл бұрын
There’s not a lot of code, but there’s a lot of code. Which is it?
@LetsBuildThatApp2 жыл бұрын
There’s a lot of boiler plate code which is just how it is with programming.
@yangzhao69382 жыл бұрын
Hello, I have problem to update an image to firebase storage, and I am try to download the code directly from your website, the samething, it cannot update an image, and I really don't know how to fix it, it shows error code 403.
@yangzhao69382 жыл бұрын
I fix it by replace the code below on firebase console: rules_version = '2'; service firebase.storage { match /b/{bucket}/o { match /{allPaths=**} { allow read: if true; allow write: if request.auth!=null; } } }
@ayberkmogol2 жыл бұрын
@@yangzhao6938 thx a lot
@lucas-bw6zu Жыл бұрын
@@yangzhao6938 BEAST
@rohitkhandelwal2894 Жыл бұрын
@@yangzhao6938 thx a lot this worked
@Forseee Жыл бұрын
@@yangzhao6938thank you
@ozanbilgili3 жыл бұрын
I am encountering an error like this; Cannot find type 'Storage' in scope. I also get this error when I try to copy the source code. Could you please help? Also, thank you very much for this beautiful video series. class FirebaseManager: NSObject { let auth: Auth let storage: Storage static let shared = FirebaseManager() override init() { FirebaseApp.configure() self.auth = Auth.auth() self.storage = Storage.storage() super.init() } }
@LetsBuildThatApp3 жыл бұрын
You have to make sure you’ve installed Storage through SPM. You can delete it and reinstall to make sure.
@ozanbilgili3 жыл бұрын
@@LetsBuildThatApp Ty, must always be tried first --> delete and reinstall :D
@당근이-i7p2 жыл бұрын
try import FirebaseStorage
@ShadowUCK2 жыл бұрын
@@당근이-i7p love u
@thesadnessinyou Жыл бұрын
I was looking for this, @@당근이-i7p!
@muffinmuncher2 жыл бұрын
you can solve the preview in Firebase Storage issue by appending .jpeg to the end of the filename when you upload it