Skip to main content

Documentation Index

Fetch the complete documentation index at: https://moengage-getz-tagging-workspace-status.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

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.
<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>

Step 3: Remove initialization code

Remove the following initialization code from the application.
MiPushHelper.initialiseMiPush([context], [appKey], [appId], [region])

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:
implementation(moengage.pushAmpPlus)
  1. Artifact ID - If you have added the artifact id remove the following dependency:
implementation("com.moengage:push-amp:")