0
0
iOS Swiftmobile~5 mins

Analytics and Crashlytics in iOS Swift - Cheat Sheet & Quick Revision

Choose your learning style9 modes available
Recall & Review
beginner
What is the main purpose of Analytics in a mobile app?
Analytics helps track user behavior and app usage to understand how users interact with the app and improve it.
Click to reveal answer
beginner
What does Crashlytics do in an iOS app?
Crashlytics automatically reports app crashes and errors, helping developers find and fix bugs quickly.
Click to reveal answer
intermediate
How do you log a custom event in Firebase Analytics using Swift?
Use Analytics.logEvent with the event name and parameters, for example: Analytics.logEvent("button_click", parameters: ["button_name": "play"]).
Click to reveal answer
intermediate
Why is it important to add user identifiers in Crashlytics?
Adding user identifiers helps link crash reports to specific users, making it easier to reproduce and fix issues.
Click to reveal answer
beginner
What is a common first step to integrate Firebase Analytics and Crashlytics in an iOS app?
Add Firebase to the project using CocoaPods or Swift Package Manager and configure it in AppDelegate or the main app file.
Click to reveal answer
Which Firebase service helps you track app crashes?
ARealtime Database
BCrashlytics
CCloud Firestore
DAuthentication
What method is used to log events in Firebase Analytics for iOS?
AAnalytics.logEvent
BCrashlytics.logEvent
CFirebase.logEvent
DEventTracker.log
Why should you avoid logging sensitive user data in Analytics?
AIt makes the app UI slower
BIt improves app speed
CIt increases crash reports
DIt can violate user privacy and policies
Where do you typically initialize Firebase in an iOS app?
AIn the Info.plist file
BIn the storyboard
CIn AppDelegate or main app file
DIn the LaunchScreen
What does Crashlytics provide besides crash reports?
ANon-fatal error logging
BUser interface design
CDatabase management
DAuthentication services
Explain how Firebase Analytics and Crashlytics work together to improve an iOS app.
Think about how understanding users and fixing crashes can make the app better.
You got /4 concepts.
    Describe the steps to add Firebase Analytics and Crashlytics to a new iOS project.
    Start from adding the library to your project and end with testing.
    You got /4 concepts.