MoEngage will support at minimum API level 23 for Android and iOS 13 for iOS starting April 26th, 2025, and a minimum of iOS 13 for iOS starting May 27th, 2025. Currently, the MoEngage SDK supports Android API level [Placeholder_Link] 21 and 22 (Android 5, Lollipop) for Android and iOS 12 for iOS devices. Releases after April 26th, 2025, for Android and May 27th, 2025, for iOS, will increase the minimum supported: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.
- API level from 21 to 23 (Android 6, Marshmallow) for Android
- iOS 12 to iOS 13 for iOS
Why Are We Discontinuing Support for API Level 21 and 22 and iOS 12 in MoEngage SDK?
For Android
The Lollipop platform and iOS 12 are almost 8 and 6 years old respectively. A very small percentage of all Android devices are using these or lesser versions. You can read more about the current distribution of Android devices. We believe that many of these old devices are not actively being used. Many developers have already discontinued support for these versions in their apps. This helps them build better apps that make use of the newer capabilities of the platforms. For MoEngage, the situation is the same. By making this change, MoEngage can provide a more robust collection of tools for developers with greater speed.What Does This Mean for Your App That Uses MoEngage SDK?
You may use versions of MoEngage SDK released before April 26th, 2025 (for Android) and May 27th, 2025 (for iOS), as you are currently using. These versions will continue to work with Lollipop and iOS 12 devices, as they have worked in the past When you choose to upgrade to the future versions released after April 26th, 2025 (for Android) and May 27th, 2025 (for iOS), you will not encounter any versioning problems if your app supports:- Android API level 23 or greater (typically specified as “minSdkVersion” in your build.gradle)
- iOS 13
For iOS
To discontinue support for iOS 12, perform the following changes in the General tab of your target XCode project:- Select the minimum iOS version you want to support in the Deployment Target drop-down list.
- If your app is compatible with multiple devices, make sure to set the minimum iOS version for each device type (iPhone, iPad, and so on) in the same Deployment Info section.
For Android
- Target API level 23 as the minimum supported API level (recommended)
- Build multiple APKs to support devices with an API level less than 23 (not recommended).
- Declare a Java interface that exposes the higher-level functionality you want to perform that is only available in the current versions of Play services.
- Build two Android libraries that implement that interface. The current implementation must call the newer APIs as desired. The legacy implementation must no-op or otherwise act as desired with older versions of the MoEngage SDK. You must add the interface to both libraries.
- Conditionally compile each library into the app using legacyCompile and currentCompile dependencies.
- In the app’s code, call through to the compatibility library whenever newer MoEngage SDK APIs are required.
For any queries, please contact your MoEngage Customer Success Manager (CSM) or the Support team.