Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is the difference between Firebase Cloud Messaging and Firebase In-App Messaging

Tags:

What is the difference between Firebase Cloud Messaging and Firebase In-App Messaging? They both send notifications to your app that something has happened. I took a look at their docs and these are their one-line descriptions:

Firebase Cloud Messaging:

Firebase Cloud Messaging (FCM) is a cross-platform messaging solution that lets you reliably send messages at no cost.

Firebase In-App Messaging:

Engage active app users with contextual messages.

They both send messages to the app. What is the difference between them and when should I use one over another? If I want to send a message to the app that the user has verified his email, which one should I choose?

like image 891
Uni Avatar asked Oct 15 '20 10:10

Uni


People also ask

What is Firebase in-app messaging?

Firebase In-App Messaging helps you engage your app's active users by sending them targeted, contextual messages that encourage them to use key app features. For example, you could send an in-app message to get users to subscribe, watch a video, complete a level, or buy an item.

What are the two types of messages in Firebase Cloud Messaging?

Using Firebase Cloud Messaging, we can send three types of messages, i.e., Notification Message, Data Message, and the message with both Notification & Data Payload.

What is the difference between push notifications and in-app messages?

You can think of the role of push and in-app messaging as a relay action, with one leading the way for the other. Push notifications let mobile users engage with your app, while in-app messages take the interaction further – much like transitioning through the stages of a sales funnel.

When should I use Firebase Cloud Messaging?

Firebase Cloud Messaging is the tool used to send push notifications to single or a group of devices. Firebase Cloud Messaging: Firebase Cloud Messaging (FCM) is a cross-platform messaging solution that lets you reliably send messages at no cost.


1 Answers

Firebase Cloud Messaging sends messages to the app when after it is installed on the user's device. This can happen when the user is actively using the app, but also when they are not using the app. And these messages can either be displayed to the user (in which case they're referred to as notifications), or they can be handled silently.

Firebase In-app Messaging creates configuration data at compile time that it includes in your app. It then monitors the Analytics events while the app runs, to determine when to display a message in the app. So: nothing is sent to the app here, all data is included in the app at build time.

Since your use-case needs to send a message to the app after it's been installed, that would require the use of Firebase Cloud Messaging.

like image 132
Frank van Puffelen Avatar answered Sep 27 '22 22:09

Frank van Puffelen