Getting started with 'In-app Messages'
'In-app messages' feature allows you to target messages to the right user in the right time displaying a native In-app message which allows pre-defined various interactions.
Integrating with 'In-app messages' feature in your application - Checklist
In order to add the 'In-app messages' functionality to your project, please follow these steps:
- Make sure you implemented the authentication mechanism - Authenticate with CopilotConnect.
- Optional - If your connected devices are being sold in online marketplaces (like Walmart, Amazon etc.) please follow Online Marketplaces support.
- In-app messages will be presented based on the users' activity.
Online Marketplaces support
If your connected devices are being sold in online marketplaces (like Walmart, Amazon etc.) please follow Online Marketplaces support.
This section is relevant for iOS projects only, on Android there is no additional configuration required.
In order to add the ability to work with 3rd party installed Online Marketplace Applications some additional configuration changes are required:
- In your Xcode project, open your application's
- Locate the
Info.plistfile. If this property does not exist, add a new Array property with that name.
- Add new items to the
LSApplicationQueriesSchemeswith the following values:
Multiple Targets In case your application contains multiple targets, please make sure this property and values are added to each of the Xcode project's targets.
Disabling In-app messages
You can disable In-app messages by calling the
disable command on your Copilot instance. In-app messages won't be shown until you enable the In-app messages feature by calling the
enable command on your Copilot instance.
It is strongly recommended to control and minimize the duration the 'In-app messages' feature will be disabled in order allow showing the user the most relevant In-app messages at the right time when performing the specific action.