Getting started with Firebase on Apple platforms

แชร์
ฝัง
  • เผยแพร่เมื่อ 1 ก.ค. 2024
  • In this video, Firebase Senior Developer Advocate ‪@PeterFriese‬ will walk you through how to get started with Firebase on iOS and Apple's other platforms. Wondering how to use Firebase in a SwiftUI app? Wonder no more, Peter has all the answers for you!
    Chapters:
    0:00 - Intro
    0:45 - The sample app
    1:02 - Creating a Firebase project
    1:26 - What's a Firebase project
    3:30 - Creating a Firebase project (cont'd)
    7:56 - Adding the Firebase SDK via Swift Package Manager
    9:49 - Initialising Firebase
    11:01 - Verifying the setup
    13:19 - Where to go from here?
    Resources:
    Firebase for Apple documentation → goo.gle/39xIIBZ
    Firebase Console → goo.gle/3vPYq9K
    How Firebase projects and apps work → goo.gle/3P5jFew
    The Ultimate Guide to the SwiftUI 2 Application Life Cycle → goo.gle/Ultimate-SwiftUI-Life...
    Firebase and the new SwiftUI 2 Application Life Cycle → goo.gle/FB-SwiftUI-Lifecycle
    Source code → goo.gle/3BVkUKe
    Playlist → goo.gle/Firebase-Fundamentals
    Subscribe to Firebase → goo.gle/Firebase
    #FirebaseFundamentals
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 55

  • @AkimboFennec
    @AkimboFennec 3 หลายเดือนก่อน

    Thank you google for taking the time to give us video walkthroughs of how to setup this stuff and explaining it simply. Greatly appreciated. Many developers are too lazy to explain in details how their apis work. Thank you from the bottom of the heart of the entire developer community

  • @twizzlestix9309
    @twizzlestix9309 10 หลายเดือนก่อน +1

    Fantastic video, clear explanation and delivery. Wouldn't expect much less from Google but this is super helpful to learn these products the right way.

  • @Daniel-nj1cy
    @Daniel-nj1cy หลายเดือนก่อน +1

    This explanation is so well done, thank you very much!

  • @SHOLINGER
    @SHOLINGER ปีที่แล้ว +8

    wow, it was so simple and smooth.
    And it was not boring but cool way of teaching .
    Nice .

    • @curtiscook5066
      @curtiscook5066 3 หลายเดือนก่อน

      2:31 2:31

    • @SHOLINGER
      @SHOLINGER 3 หลายเดือนก่อน

      @@curtiscook5066 ??

  • @wayne_george
    @wayne_george 2 หลายเดือนก่อน

    Thanks for this. Very clear and easy to follow!

  • @steam9583
    @steam9583 ปีที่แล้ว +2

    Can’t wait the next😂
    Hope the MFA implementation case on TH-cam soon.

  • @anthonyhowell5809
    @anthonyhowell5809 2 หลายเดือนก่อน

    Thank you so much for taking time out to explain to us how this works. Fantastic video we are all very grateful.

  • @benjaminfox7105
    @benjaminfox7105 ปีที่แล้ว +4

    Heya Peter,
    Thanks ever so much for this basic introduction 🙂
    I'm a Registered Nurse that is dabbling in IOS code to create some apps to help my fellow health professionals, be quicker, smarter and safer.
    Starting with IOS first, but will later look down the track at Android/Kotlin and maybe Flutter/Dart.
    So much to learn! aarrggghhh! Thanks again for your great video

    • @PeterFriese
      @PeterFriese ปีที่แล้ว +1

      Hey Benjamin, thanks for the kind words, and kudos for learning to code. I agree - there is so much to learn, I've found it useful to pick one area and then focus on that until you feel more confident to move on. Keep it up, and all the best for the app!

    • @benjaminfox7105
      @benjaminfox7105 ปีที่แล้ว

      @@PeterFriese Thanks for your kind words Peter! :-) I've gone through a bit of your content now. You present really clearly! thank you!

  • @ramgopalnalluri
    @ramgopalnalluri ปีที่แล้ว +2

    Thanks

  • @anthonyhowell5809
    @anthonyhowell5809 2 หลายเดือนก่อน

    "if your app is written in objective C or you just happen to really like square brackets" i am DEAD. thank you brother. we needed this humor

  • @vladyslavyermolin8912
    @vladyslavyermolin8912 ปีที่แล้ว +1

    Would be great to have a version for React Native. Thanx!

  • @joshwalton1898
    @joshwalton1898 ปีที่แล้ว +1

    I’m a fan of Objective C!

  • @lglf77
    @lglf77 ปีที่แล้ว +1

    Como limitar para máximo 2 contas de registro de usuário para cada smartphone? É possível isso em todos as versões de Android?

  • @santhoshVnair
    @santhoshVnair ปีที่แล้ว +3

    Sample provided, do not work on MacOs, because - UIApplicationDelegate is available only on iOS. Understand that, delegate based lifecycle is not required for all features. So, a table showing what Firebase features require delegate based lifecycle and an alternate example with out using the delegate based lifecycle could be better.

  • @kevinparker825
    @kevinparker825 ปีที่แล้ว +2

    Umm, I'm more interested in how much of our proprietary information Google sucks out of our apps, I've been installing the firebase-ios-sdk for over 5 minutes now, seems like it has every type of deep introspection imaginable in one neat package.

  • @alphonsosensleyii7630
    @alphonsosensleyii7630 ปีที่แล้ว +2

    Great introductory video! Any resources on using Firebase Cloud Functions with my iOS App? I want to be able to send a push notification whenever a certain node changes in the database. I have set up push notifications, but having a difficult time writing the cloud functions which I think are required for the functionality I am looking for. Any resources will be greatly appreciated!

    • @PeterFriese
      @PeterFriese ปีที่แล้ว +1

      Great suggestion - I've got a Fundamentals video about Cloud Functions and iOS in the pipeline.

  • @lincolndickerson1293
    @lincolndickerson1293 ปีที่แล้ว +2

    Curious why you don’t use init() { firebaseApp.configure } within the @main struct instead of doing the creating the AppDelegate class?

    • @PeterFriese
      @PeterFriese ปีที่แล้ว

      twitter.com/peterfriese/status/1530103025557184513 - essentially, both work, but if you use FCM and / or Phone Number Auth, you will need to use the AppDelegate. We decided it we told people to use the approach that works for all situations.

  • @oskrm
    @oskrm ปีที่แล้ว +6

    Hi, Please add Firestore/Realtime search functionality.

    • @PeterFriese
      @PeterFriese ปีที่แล้ว +1

      Hi - thanks for your feature request. For the time being, both the Search Firestore with Typesense (firebase.google.com/products/extensions/typesense-firestore-typesense-search) and Search with Algolia (firebase.google.com/products/extensions/algolia-firestore-algolia-search) extensions might be what you're looking for.

  • @sloniklovemachine2509
    @sloniklovemachine2509 2 หลายเดือนก่อน

    Must I have Apple Dev account for it?
    It is not clear

  • @kikoololdewow
    @kikoololdewow 10 หลายเดือนก่อน

    thx

  • @TheRubiosMusic
    @TheRubiosMusic ปีที่แล้ว +2

    I hate to be such a novice, but what is that IDE you are using here? Can I use the same IDE for Android and Apple?

    • @PeterFriese
      @PeterFriese ปีที่แล้ว +1

      I use Xcode - this is Apple's IDE for developing iOS/macOS/watchOS/tvOS apps. For Android development, I would recommend Android studio.

  • @abcq1
    @abcq1 ปีที่แล้ว +2

    Hi there. Can somebody explain to what's the exact difference between calling getAuth() with an app parameter (like getAuth(app)) and doing so without any?

    • @PeterFriese
      @PeterFriese ปีที่แล้ว +1

      Hi Emil - sure! Calling Auth.auth() will use the default Firebase instance, whereas Auth.auth(app: someApp) will use a secondary app. This is useful if you want to connect to two different Firebase projects. See this gist for a code snippet that shows how to do this: gist.github.com/peterfriese/24657cd715f04adffe8dc3a0537b06ae
      BTW, Auth.auth() uses Auth.auth(app:) under the hood - see the source code here: cs.opensource.google/firebase-sdk/firebase-ios-sdk/+/master:FirebaseAuth/Sources/Auth/FIRAuth.m;l=450?q=authWithApp&ss=firebase-sdk%2Ffirebase-ios-sdk

    • @abcq1
      @abcq1 ปีที่แล้ว +2

      @@PeterFriese thank you so much

  • @plozano85
    @plozano85 ปีที่แล้ว +1

    What program were you using at 6:20 to get the name?

    • @kikoololdewow
      @kikoololdewow 10 หลายเดือนก่อน

      that's xcode

  • @thomaswaldorf2829
    @thomaswaldorf2829 6 หลายเดือนก่อน

    Everthing was great but XCode can not find FirebaseCore for import. :(

  • @sebastianmorkisch1665
    @sebastianmorkisch1665 5 หลายเดือนก่อน +1

    Tried to follow the instructions on my new Mac M3. And read the Online Firebase doc. "UIApplicationDelegate" not found. I don't know how to solve that, coming from a Java and Linux world with IntelliJ. Seems that Xcode is not so helpful. Has anyone some Pointers for me?

    • @sebastianmorkisch1665
      @sebastianmorkisch1665 5 หลายเดือนก่อน

      I guess it's a Problem to load a UIKit, when there's no iOS SDK installed or when I try to develop a macOS Application, instead of an iPhone App. So Firebase cannot be used?

    • @AkimboFennec
      @AkimboFennec 3 หลายเดือนก่อน

      To be honest no idea how to help you

  • @isaacpearson1027
    @isaacpearson1027 ปีที่แล้ว

    Hi Peter, when I go to paste the code into the entry point, I get the following error "no such module FirebaseCore" - could you tell me how to fix this please?

    • @PeterFriese
      @PeterFriese ปีที่แล้ว

      Hi Isaac, are you on the latest version of the Firebase SDK?

    • @isaacpearson1027
      @isaacpearson1027 ปีที่แล้ว

      @@PeterFriese Hi Peter, I found the problem. Thanks for replying!

  • @sipanhazim4128
    @sipanhazim4128 ปีที่แล้ว +1

    Real time listeners cache is not correct .. please make episode on cache !

    • @PeterFriese
      @PeterFriese ปีที่แล้ว

      Hi Sipan, can you provide more detail what you mean by “real time listeners cache is not correct”? If you think you might have run into a bug, the best way to get it fixed is to file an issue on our GitHub issue tracker.

  • @hawarhekmat1174
    @hawarhekmat1174 ปีที่แล้ว +4

    Cool, and cool and even cooler 😎

    • @Firebase
      @Firebase  ปีที่แล้ว +1

      We're so glad you enjoyed the video, Hawar!
      Be sure to check out the links in the description for even more great tips and tutorials.
      Happy learning 😎

    • @hawarhekmat1174
      @hawarhekmat1174 ปีที่แล้ว

      @@Firebase always doing it, firebases FCM for flutter is awesome but it missing some features, notification channel create, custom sound not playing , notification actions, etc.

  • @alizatanti1771
    @alizatanti1771 ปีที่แล้ว +1

    Amen 🙏🙏🙇🙇 Alisa

  • @arifulislamleeton
    @arifulislamleeton ปีที่แล้ว +1

    Introduce myself my name is Ariful Islam leeton im software engineer and members of the international organization who and investors

  • @yashguma
    @yashguma ปีที่แล้ว +1

    Delicious

  • @emdutt4012
    @emdutt4012 ปีที่แล้ว +1

    2022-12-25 21:14:58.075398-0800 demo[20481:125126] [SceneConfiguration] Info.plist contained no UIScene configuration dictionary (looking for configuration named "(no name)")
    2022-12-25 21:14:58.075484-0800 demo[20481:125126] [SceneConfiguration] Info.plist contained no UIScene configuration dictionary (looking for configuration named "(no name)")
    2022-12-25 21:14:58.075551-0800 demo[20481:125126] [SceneConfiguration] Info.plist contained no UIScene configuration dictionary (looking for configuration named "(no name)").. when run the app it appears. is it any error..

    • @jemmytech5474
      @jemmytech5474 ปีที่แล้ว +1

      just import app config in info.plist