In-App Messaging
In-app messaging can improve your engagement strategy by providing messages that can be customized to be visually consistent with the rest of your app.
In-app messages appear regardless of a user’s opt-in/out status for notifications. While standard in-app messages appear as banners, In-App Automation messages have various style and layout options. They are stored on the user’s device then displayed according to the triggers you define.
Feature enablement
The in-app automation component can be enabled or disabled. When disabled it prevents any automations from executing and any events from counting towards a trigger’s goal.
Disabling the automations:
Airship.Instance.InAppAutomationEnabled = true;
Pausing automations
Pausing is similar to disabling, but automations can continue to be triggered and queued up for execution. This is useful for preventing in-app message displays on screens where it would be detrimental to the user experience, such as splash screens, settings screens, or landing pages.
Pausing the manager:
Airship.Instance.InAppAutomationPaused = true;
Display interval
The display interval controls the amount of time to wait before the manager is able to display the next triggered in-app message. The default value is set to 30 seconds but can be adjusted to any amount of time in seconds.
Setting the display interval to 10 seconds:
Airship.Instance.InAppAutomationDisplayInterval = 10;
Airship supports standard in-app messages and in-app automation for Xamarin. See:
Categories