> ## Documentation Index
> Fetch the complete documentation index at: https://moengage-analytics-query-api-docs.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Why Do Native In-App GIFs Fail to Load Without the Glide Dependency on Android?

> Fix native in-app GIF loading failures on Android Native and hybrid frameworks by adding the Glide image library dependency to your app-level build.gradle.

## 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:

```java theme={null}
MoEInAppHelper.getInstance().showInApp(context)
```

* Invoking this method without the Glide dependency causes the following error:

```
Library support not found: Image and gif require Glide library.
```

## Solution

To ensure the in-app module displays images and GIFs, add the Glide library to the app-level `build.gradle` file:

```groovy build.gradle (:app) theme={null}
dependencies {
  implementation 'com.github.bumptech.glide:glide:4.16.0'
}
```

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.
