Skip to main content

Problem

Native in-app messages fail to load GIFs without the Glide dependency on Android Native or hybrid frameworks such as Flutter or React Native.

Explanation

  • The in-app module relies entirely on the Glide image library to load images and GIFs included in in-app messages.
  • Displaying an in-app message is not completed by calling this method alone:
  • Invoking this method without the Glide dependency causes the following error:

Solution

To ensure the in-app module displays images and GIFs, add the Glide library to the app-level build.gradle file:
build.gradle (:app)
After adding the dependency, sync your Gradle files and rebuild the app. Glide will be included, and in-app messages with images and GIFs will display correctly.