Enable or disable suppression of Firebase In App Messaging messages.
When enabled, no in app messages will be rendered until either you disable suppression, or the app restarts. This state is not persisted between app restarts.
// Suppress messagesconst inAppMessaging = getInAppMessaging();await setMessagesDisplaySuppressed(inAppMessaging, true); Copy
// Suppress messagesconst inAppMessaging = getInAppMessaging();await setMessagesDisplaySuppressed(inAppMessaging, true);
Enable or disable suppression of Firebase In App Messaging messages.
When enabled, no in app messages will be rendered until either you disable suppression, or the app restarts. This state is not persisted between app restarts.
Example