Note: Firebase In-App Messaging depends on using a Firebase Installation ID and token pair to be
able to retrieve messages defined for the current app instance. By default, the Firebase In-App
Messaging SDK will obtain the ID and token pair on app/SDK startup. In its default configuration
the in-app messaging SDK will send some device and client data (linked to the installation ID)
to the Firebase backend periodically.
The app can tune the default data collection behavior via certain controls. They are listed in
descending order below. If a higher-priority setting exists, lower level settings are ignored.
Dynamically turning on or off data collection behavior by setting the
automaticDataCollectionEnabled property on the InAppMessaging instance to true or false.
Setting FirebaseInAppMessagingAutomaticDataCollectionEnabled to false in the app’s plist
file.
Disabling data collection via the global Firebase data collection setting.
This class is unavailable on macOS, macOS Catalyst, and watchOS.
Base class representing a FIAM message to be displayed. Don’t create instance
of this class directly. Instantiate one of its subclasses instead.
This class is unavailable on macOS, macOS Catalyst, and watchOS.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-04 UTC."],[],[],null,["Classes\n\nThe following classes are available globally.\n- `\n ``\n ``\n `\n\n [FIRInAppMessaging](/docs/reference/ios/firebaseinappmessaging/api/reference/Classes/FIRInAppMessaging)`\n ` \n The root object for in-app messaging iOS SDK.\n\n Note: Firebase In-App Messaging depends on using a Firebase Installation ID and token pair to be\n able to retrieve messages defined for the current app instance. By default, the Firebase In-App\n Messaging SDK will obtain the ID and token pair on app/SDK startup. In its default configuration\n the in-app messaging SDK will send some device and client data (linked to the installation ID)\n to the Firebase backend periodically.\n\n The app can tune the default data collection behavior via certain controls. They are listed in\n descending order below. If a higher-priority setting exists, lower level settings are ignored.\n 1. Dynamically turning on or off data collection behavior by setting the `automaticDataCollectionEnabled` property on the `InAppMessaging` instance to true or false.\n 2. Setting `FirebaseInAppMessagingAutomaticDataCollectionEnabled` to false in the app's plist file.\n 3. Disabling data collection via the global Firebase data collection setting.\n\n This class is unavailable on macOS, macOS Catalyst, and watchOS. \n\n Declaration \n Objective-C \n\n\n @interface FIRInAppMessaging : NSObject\n\n- `\n ``\n ``\n `\n\n [FIRInAppMessagingActionButton](/docs/reference/ios/firebaseinappmessaging/api/reference/Classes/FIRInAppMessagingActionButton)`\n ` \n Contains the display information for an action button. This class is unavailable on macOS,\n - macOS Catalyst, and watchOS. \n\n Declaration \n Objective-C \n\n\n @interface FIRInAppMessagingActionButton : NSObject\n\n- `\n ``\n ``\n `\n\n [FIRInAppMessagingImageData](/docs/reference/ios/firebaseinappmessaging/api/reference/Classes/FIRInAppMessagingImageData)`\n ` \n Contain display data for an image for a fiam message.\n - This class is unavailable on macOS, macOS Catalyst, and watchOS. \n\n Declaration \n Objective-C \n\n\n @interface FIRInAppMessagingImageData : NSObject\n\n- `\n ``\n ``\n `\n\n [FIRInAppMessagingCampaignInfo](/docs/reference/ios/firebaseinappmessaging/api/reference/Classes/FIRInAppMessagingCampaignInfo)`\n ` \n Defines the metadata for the campaign to which a FIAM message belongs.\n - This class is unavailable on macOS, macOS Catalyst, and watchOS. \n\n Declaration \n Objective-C \n\n\n @interface FIRInAppMessagingCampaignInfo : NSObject\n\n- `\n ``\n ``\n `\n\n [FIRInAppMessagingAction](/docs/reference/ios/firebaseinappmessaging/api/reference/Classes/FIRInAppMessagingAction)`\n ` \n Defines the metadata for a FIAM action.\n - This class is unavailable on macOS, macOS Catalyst, and watchOS. \n\n Declaration \n Objective-C \n\n\n @interface FIRInAppMessagingAction : NSObject\n\n- `\n ``\n ``\n `\n\n [FIRInAppMessagingDisplayMessage](/docs/reference/ios/firebaseinappmessaging/api/reference/Classes/FIRInAppMessagingDisplayMessage)`\n ` \n Base class representing a FIAM message to be displayed. Don't create instance\n of this class directly. Instantiate one of its subclasses instead.\n This class is unavailable on macOS, macOS Catalyst, and watchOS. \n\n Declaration \n Objective-C \n\n\n @interface FIRInAppMessagingDisplayMessage : NSObject\n\n- `\n ``\n ``\n `\n\n [FIRInAppMessagingCardDisplay](/docs/reference/ios/firebaseinappmessaging/api/reference/Classes/FIRInAppMessagingCardDisplay)`\n ` \n A displayable in-app card message.\n This class is unavailable on macOS, macOS Catalyst, and watchOS. \n\n Declaration \n Objective-C \n\n\n @interface FIRInAppMessagingCardDisplay : /docs/reference/ios/firebaseinappmessaging/api/reference/Classes/FIRInAppMessagingDisplayMessage\n\n- `\n ``\n ``\n `\n\n [FIRInAppMessagingModalDisplay](/docs/reference/ios/firebaseinappmessaging/api/reference/Classes/FIRInAppMessagingModalDisplay)`\n ` \n Class for defining a modal message for display.\n This class is unavailable on macOS, macOS Catalyst, and watchOS. \n\n Declaration \n Objective-C \n\n\n @interface FIRInAppMessagingModalDisplay : /docs/reference/ios/firebaseinappmessaging/api/reference/Classes/FIRInAppMessagingDisplayMessage\n\n- `\n ``\n ``\n `\n\n [FIRInAppMessagingBannerDisplay](/docs/reference/ios/firebaseinappmessaging/api/reference/Classes/FIRInAppMessagingBannerDisplay)`\n ` \n Class for defining a banner message for display.\n This class is unavailable on macOS, macOS Catalyst, and watchOS. \n\n Declaration \n Objective-C \n\n\n @interface FIRInAppMessagingBannerDisplay : /docs/reference/ios/firebaseinappmessaging/api/reference/Classes/FIRInAppMessagingDisplayMessage\n\n- `\n ``\n ``\n `\n\n [FIRInAppMessagingImageOnlyDisplay](/docs/reference/ios/firebaseinappmessaging/api/reference/Classes/FIRInAppMessagingImageOnlyDisplay)`\n ` \n Class for defining a image-only message for display.\n This class is unavailable on macOS, macOS Catalyst, and watchOS. \n\n Declaration \n Objective-C \n\n\n @interface FIRInAppMessagingImageOnlyDisplay : /docs/reference/ios/firebaseinappmessaging/api/reference/Classes/FIRInAppMessagingDisplayMessage"]]