Recall & Review
beginner
What is APNs in iOS development?
APNs stands for Apple Push Notification service. It is Apple's service that allows apps to receive remote notifications on iOS devices.
Click to reveal answer
beginner
What role does Firebase Cloud Messaging (FCM) play in push notifications?
FCM is a cross-platform messaging solution from Google that lets you send notifications and data messages to iOS, Android, and web apps.
Click to reveal answer
intermediate
How does an iOS app register for push notifications?
The app requests permission from the user and then registers with APNs to get a device token, which is used to send notifications to that device.
Click to reveal answer
intermediate
What is the purpose of the device token in push notifications?
The device token uniquely identifies an app on a device to APNs or FCM, so the server knows where to send the notification.
Click to reveal answer
advanced
Why do you need to configure APNs certificates or keys in Firebase for iOS push notifications?
Because Firebase uses APNs to deliver notifications to iOS devices, it needs the APNs authentication key or certificate to communicate securely with Apple servers.
Click to reveal answer
Which service is responsible for delivering push notifications to iOS devices?
✗ Incorrect
APNs is Apple's official service for delivering push notifications to iOS devices.
What must an iOS app obtain from APNs to receive push notifications?
✗ Incorrect
The device token uniquely identifies the app-device pair to APNs for sending notifications.
Why do developers use Firebase Cloud Messaging with iOS apps?
✗ Incorrect
FCM provides a unified platform to send notifications to iOS, Android, and web apps.
What is required to enable FCM to send notifications to an iOS app?
✗ Incorrect
FCM needs APNs credentials to communicate with Apple servers and deliver notifications.
Which Swift method is commonly used to request user permission for notifications?
✗ Incorrect
requestAuthorization asks the user to allow notifications and sets the notification options.
Explain the process of setting up push notifications for an iOS app using APNs and FCM.
Think about user permission, device token, server configuration, and message delivery.
You got /5 concepts.
Describe the difference between APNs and FCM in the context of iOS push notifications.
Consider native vs cross-platform roles and how they work together.
You got /5 concepts.