0
0
React Nativemobile~5 mins

Push notifications with FCM in React Native - Cheat Sheet & Quick Revision

Choose your learning style9 modes available
Recall & Review
beginner
What does FCM stand for in mobile development?
FCM stands for Firebase Cloud Messaging. It is a service that helps send push notifications to mobile apps.
Click to reveal answer
beginner
Why do we need to ask user permission for push notifications on iOS?
iOS requires apps to ask users for permission before sending push notifications to respect user privacy and control.
Click to reveal answer
intermediate
What is the role of a device token in FCM push notifications?
A device token is a unique ID that identifies a device to FCM so it knows where to send the notification.
Click to reveal answer
intermediate
Name one React Native library commonly used to handle FCM push notifications.
One popular library is '@react-native-firebase/messaging' which helps integrate FCM in React Native apps.
Click to reveal answer
beginner
What is a common step to test push notifications during development?
You can use Firebase Console to send test notifications to your app using the device token.
Click to reveal answer
What is the first step to receive push notifications in a React Native app using FCM?
ARequest user permission for notifications
BSend a notification from Firebase Console
CInstall a React Native navigation library
DCreate a new Firebase project
Which platform requires explicit user permission for push notifications?
AAndroid
BiOS
CBoth Android and iOS
DNeither Android nor iOS
What does the device token represent in FCM?
AApp version number
BUser's email address
CUnique device identifier for sending notifications
DFirebase project ID
Which React Native package is commonly used to handle FCM messaging?
Areact-navigation
Baxios
Credux
D@react-native-firebase/messaging
Where can you send test push notifications to your app during development?
AFirebase Console
BGoogle Play Store
CApp Store Connect
DReact Native CLI
Explain the process of setting up push notifications with FCM in a React Native app.
Think about the steps from Firebase setup to receiving a notification on the device.
You got /5 concepts.
    Describe why user permission is important for push notifications and how it differs between iOS and Android.
    Consider platform rules and user control over notifications.
    You got /4 concepts.