0
0
iOS Swiftmobile~5 mins

Firebase setup for iOS in iOS Swift - Cheat Sheet & Quick Revision

Choose your learning style9 modes available
Recall & Review
beginner
What is the first step to add Firebase to an iOS app?
Create a Firebase project in the Firebase Console and register your iOS app with its bundle identifier.
Click to reveal answer
beginner
Which file must be downloaded from Firebase Console and added to your Xcode project?
The GoogleService-Info.plist file contains your Firebase app configuration and must be added to your Xcode project root.
Click to reveal answer
beginner
How do you initialize Firebase in your iOS app code?
Import FirebaseCore in AppDelegate.swift and call FirebaseApp.configure() inside application(_:didFinishLaunchingWithOptions:).
Click to reveal answer
intermediate
Why do you need to use CocoaPods or Swift Package Manager when setting up Firebase?
They manage Firebase SDK dependencies and make it easy to add Firebase libraries to your Xcode project.
Click to reveal answer
beginner
What is the purpose of the bundle identifier in Firebase setup for iOS?
It uniquely identifies your app and links it to the Firebase project so Firebase services work correctly.
Click to reveal answer
What file must you add to your Xcode project to configure Firebase?
AInfo.plist
BGoogleService-Info.plist
CFirebaseConfig.json
DAppDelegate.swift
Where do you call FirebaseApp.configure() in an iOS app?
AIn main.swift
BIn SceneDelegate.swift
CIn ViewController.swift viewDidLoad()
DIn AppDelegate.swift inside application(_:didFinishLaunchingWithOptions:)
Which tool can you use to add Firebase SDKs to your iOS project?
AFirebase Console
BAndroid Studio
CCocoaPods
DXcode Server
What does the bundle identifier do in Firebase setup?
AIdentifies your app uniquely to Firebase
BStores user data
CManages app permissions
DDefines app UI layout
After adding GoogleService-Info.plist, what is the next step?
AInitialize Firebase in code with FirebaseApp.configure()
BRun the app without changes
CDelete Info.plist
DAdd Firebase to Android project
Explain the steps to set up Firebase in a new iOS app from scratch.
Think about what you do first in Firebase Console and then in Xcode.
You got /6 concepts.
    Why is it important to add the GoogleService-Info.plist file to your Xcode project?
    Consider what connects your app to Firebase behind the scenes.
    You got /4 concepts.