Improved InApp Notifications SDK Update
Overview
In version 3.3.0 and above, of our Android and iOS SDKs, we released a major update that enables you to use our new and improved In-app Notifications.
These now support GIF, Audio & Video in certain templates, cleaner and crisp views and A/B testing.
Android
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.
Exoplayer Dependency
If Exoplayer is not added, audio and video In-apps will NOT render on the devices
implementation "com.google.android.exoplayer:exoplayer:2.15.1"
implementation "com.google.android.exoplayer:exoplayer-hls:2.15.1"
implementation "com.google.android.exoplayer:exoplayer-ui:2.15.1"
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 about 1 year ago