Migration from 7.x to 8.x
This guide provides instructions for migrating from Malwarelytics Cordova Plugin version 7.x to version 8.x.
Version 8.x upgrades the native SDKs:
- Malwarelytics for Apple:
3.3.2→4.0.0 - Malwarelytics for Android:
1.5.2→1.7.0
These upgrades bring new features (runtime tampering detection on Android, identity observer, releasing Malwarelytics) and raise the minimum supported iOS version. The JavaScript API has no breaking changes.
Apple Platform
Minimum iOS Version Raised to 15.0
Malwarelytics for Apple 4.0.0 requires iOS 15.0 or newer, so the plugin no longer supports iOS 13 and iOS 14.
If your config.xml sets a lower deployment target, raise it to 15.0 or higher:
<!-- Before (7.x) -->
<preference name="deployment-target" value="13.0" />
<!-- After (8.x) -->
<preference name="deployment-target" value="15.0" />
Android Platform
No changes are required. The minimum supported version stays at Android 6 (SDK version 23).
Runtime tampering detection is a new optional feature. To use it, add the runtimeTampering RASP config and the runtimeTamperingDetected observer callback. See RASP Feature Overview for details.
Migration Checklist
- Raise the iOS
deployment-targetinconfig.xmlto15.0or higher