These now support GIF, Audio & Video in certain templates, cleaner and crisp views and A/B testing.
In version 3.3.0 of our Android SDK, we released a major update that enables you to use our new and improved InApp Notifications. These now support GIF, Audio & Video in certain templates along with cleaner and crisp views.
To support Audio & Video in In-app templates, our SDK uses ExoPlayer
Please add the following dependencies in your app's build.gradle file.
If Exoplayer is not added, audio and video In-apps will NOT render on the devices
implementation 'com.google.android.exoplayer:exoplayer:2.8.4' implementation 'com.google.android.exoplayer:exoplayer-hls:2.8.4' implementation 'com.google.android.exoplayer:exoplayer-ui:2.8.4'
Android Issue: Oreo Landscape
Due to an Android Oreo bug, the new InApp notifications will change their orientation when the phone's orientation is changed from portrait to landscape.
Hence, if your app is targeting to Android API 26, you will face this issue when our SDK renders the InApp notifications. It is hereby suggested that you target your app to Android API level 27 or above.
Updated over 3 years ago