In-app messages
Last updated
Last updated
Unlike push notifications, in-app messages work while the app is open, so you can show content with less disruption to the user. DFINERY's in-app messages work based on events and are displayed automatically.
You need to to make the display look the same as it does on the console and make the animations run smoothly.
Enable hardware acceleration for your entire application by adding the following attribute to the tag in your Android manifest file:
You can also control this on an individual Activity level. To enable or disable hardware acceleration at the Activity level, android:hardwareAccelerated
you can use the element's properties.
SDK will automatically find the topmost view of the Activity that is being displayed and display the in-app message. If you do not use the automatic setting, setCustomInAppMessageParentView()
you can use to set the parent view to display manually.
To get deep link data from an Activity, you can get the data as follows:
If you register a deep link in the in-app message button, the set in the deep link will be executed when clicked.
For information on how to associate a deep link with an Activity, see