===== What is an InApp Message? ===== InApp messages are other kind of notifications which are displayed while the user is browsing the app. It is also called native app content. It is a great way to share important information and updates related to the app. Due to its target audience (already engaged users), the effectiveness of the campaigns based on this feature usually is very high. ===== Some use cases based on InApp Messaging ===== * Promoting new app sections * Promoting new offers * Offering personalized deals * Asking for user's feedback * Rewards ===== InApp Messages in the Campaign Manager ===== InApp Messages are another way of regular PUSH notifications, It allows the user to send additional parameters to the Mobile App that will be used in conjunction with the specifics business rules of the app. (I.e : if parameter X has value Y then execute rule Z) InApp Messages are available in the Campaign Manager as another Delivery Method, if you select it a new configuration section will appear for configuration. ==== Using InApp Messages ==== When sending a Broadcast, select **PUSH(InApp)** as the delivery method, notice the following changes * Text input will change into a rich text editor * A Parameters section, the user can add custom parameters within the InApp message. There are 3 basic parameters that will be automatically added to the parameters section when using InApp Messages, as follow:{{ ::pushinapp-metadata.png?800 |}} ^ Parameter Name ^ Description ^ Value ^ | inapp | It can't be removed, this indicated to the SDK that this is a InApp Message | true | | deep-link | A hyperlink which will take the user to a specific resource within the app | An URL resource located in the app | | expiration | Time in seconds to expire this message. By default, this is set to 90 seconds | Number | You can specify your own parameters by using the **Add Parameters** button as follows: {{ ::addmetadata.png?800 |}} Once an InApp Message is received by the SDK it is delivered to the application using the **pushReceived** method in the [[sdk:android|Android]] app MainActivity or service, or the AppDelegate **[pushReceived]** delegate in [[sdk:android|iOS]]. The properties sent from the Campaign Manager are received as JSON attributes in the Metadata field, and the app can use them to decide how to process the notification.