Step 1: Remove Mi aar
- Navigate to app —> libs
- Delete MiPush_SDK_Client*.aar
Step 2: Remove the Mi receiver from the manifest file
Remove the following code from the manifest file.Step 3: Remove initialization code
Remove the following initialization code from the application.Step 4: Delete the helper files
Delete the following helper files:- MiPushHelper.kt
- MiPushReceiver.kt
Step 5: Remove MoEngage dependency
Remove the MoEngage dependency from the dependencies block of the build.gradle as described:- MoEngage Catalog - If you are using the MoEngage catalog remove the following dependency:
- Artifact ID - If you have added the artifact ID, remove the Mi-specific push amp dependency:
moe-push-amp-plus. Match the version you previously had pinned in your build.gradle and remove that exact line. Leave the core com.moengage:push-amp dependency in place if you still use Push Amplification.