Question: how fcm works in android?
Answer: FCM is a free service from Google that lets users reliably deliver push notifications at no cost. You can send two types of messages to your app with FCM: Notification messages, sometimes thought of as “display messages.” These are handled by the FCM SDK automatically.