> ## 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 Is the Template Backup Content Displayed Instead of the Basic Rich Push Content?

> Fix the issue where template backup content shows instead of basic rich push content by properly configuring both template sections in MoEngage.

## Problem

When content is added to the basic rich push template, the template backup content appears instead of the basic rich push content.

<img alt="backup content.png" src="https://mintcdn.com/moengage-analytics-query-api-docs/bTYZJ6v64OanjGYX/images/moengage_9eea00.png?fit=max&auto=format&n=bTYZJ6v64OanjGYX&q=85&s=77a1b1479b2f6c39530e32f762b94e8f" style={{ width:"44%" }} width="640" height="1429" data-path="images/moengage_9eea00.png" />

<Info>
  This issue occurs because the MoEngage rich notification dependency is not added to the app-level build.gradle file.
</Info>

## Solution

Perform the following steps:

1. In rich push notifications, the displayed content varies based on the device and its version.
2. Ensure that campaign data for rich push templates is added in the following sections :
   * **Basic details**
   * **Template Backup**
     <img src="https://mintcdn.com/moengage-analytics-query-api-docs/4z-ZT8IqbQMGLjHJ/images/moengage_6a30c5.png?fit=max&auto=format&n=4z-ZT8IqbQMGLjHJ&q=85&s=6aa9d235c4b7e3610e62d3b434620fa6" alt="basic and template.png" width="1920" height="1089" data-path="images/moengage_6a30c5.png" />
3. On the preview screen, the message title and body is updated when you modify the basic details.
   <img src="https://mintcdn.com/moengage-analytics-query-api-docs/YpRQXnMLuHTp9-Hn/images/moengage_3e2ab5.png?fit=max&auto=format&n=YpRQXnMLuHTp9-Hn&q=85&s=34d132605378b23be59a7a026c55ed9d" alt="basic.png" width="1920" height="1092" data-path="images/moengage_3e2ab5.png" />
4. You can customize the template backup content in the **Template Backup** section. <img alt="template.png" src="https://mintcdn.com/moengage-analytics-query-api-docs/LWEH9kfXItHS8cCf/images/moengage_ad0ad1.png?fit=max&auto=format&n=LWEH9kfXItHS8cCf&q=85&s=e047b2206740b1075c036b85c3ae51eb" width="1920" height="1089" data-path="images/moengage_ad0ad1.png" />
5. Make sure to add the MoEngage rich notification dependency to the app-level build.gradle file to ensure the template backup content and basic rich push content are displayed correctly.
   ```groovy Code theme={null}
   build.gradle(:app)
             
   dependencies {
       implementation(moengage.richNotification)
   }
   ```

<img src="https://mintcdn.com/moengage-analytics-query-api-docs/z39Dm5KCX2DtIPd9/images/moengage_b5fc12.png?fit=max&auto=format&n=z39Dm5KCX2DtIPd9&q=85&s=e55200a256ff50ab8b87f11b6636fe05" alt="Template backup.png" style={{ width:"53%" }} width="640" height="1429" data-path="images/moengage_b5fc12.png" />
