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

# Steps to Remove Mi SDK Dependency

> Remove the discontinued Xiaomi Mi Push SDK dependency from your MoEngage Android integration.

Due to operational concerns, Xiaomi Corporation has recently notified users about the discontinuation of the Mi Push service beyond Mainland China. You might have already received correspondence regarding this matter. 

In this regard, we suggest that our customers remove Mi Push SDK from their apps. The steps to do so are enumerated in this article.

## Step 1: Remove Mi aar

1. Navigate to app --> libs
2. Delete MiPush\_SDK\_Client\*.aar

## Step 2: Remove the Mi receiver from the manifest file

Remove the following code from the manifest file.

<CodeGroup>
  ```xml Remove Mi receiver from the manifest file wrap theme={null}
  <receiver
      android:name="com.moengage.push.amp.plus.MiPushReceiver"
      android:exported="true">
      <intent-filter>
        <action android:name="com.xiaomi.mipush.RECEIVE_MESSAGE" />
      </intent-filter>
      <intent-filter>
        <action android:name="com.xiaomi.mipush.MESSAGE_ARRIVED" />
      </intent-filter>
      <intent-filter>
        <action android:name="com.xiaomi.mipush.ERROR" />
      </intent-filter>
  </receiver>
  ```
</CodeGroup>

## Step 3: Remove initialization code

Remove the following initialization code from the application.

<CodeGroup>
  ```kotlin Code to be removed from the application wrap theme={null}
  MiPushHelper.initialiseMiPush([context], [appKey], [appId], [region])
  ```
</CodeGroup>

## Step 4: Delete the helper files

Delete the following helper files:

1. MiPushHelper.kt
2. MiPushReceiver.kt

## Step 5: Remove MoEngage dependency

Remove the MoEngage dependency from the dependencies block of the build.gradle as described:

1. MoEngage Catalog - If you are using the MoEngage catalog remove the following dependency:

<CodeGroup>
  ```kotlin MoEngage Catalog wrap theme={null}
  implementation(moengage.pushAmpPlus)
  ```
</CodeGroup>

2. Artifact ID - If you have added the artifact id remove the following dependency:

<CodeGroup>
  ```kotlin Artifact ID wrap theme={null}
  implementation("com.moengage:push-amp:")
  ```
</CodeGroup>
