Upgrade iOS SDK from 3.2.0 to 3.3.2#84
Open
Hopsaheysa wants to merge 6 commits into
Open
Conversation
There was a problem hiding this comment.
Pull request overview
Upgrades the embedded Malwarelytics Apple (iOS) native SDK to 3.3.2 and exposes newly added iOS capabilities through the React Native wrapper, including App Switcher snapshot protection, a new BLUR overlay option, and custom backend URL configuration (Apple).
Changes:
- Bump iOS native SDK integration to 3.3.2 and extend iOS config parsing (Swift) for new features.
- Add a new Apple RASP event (
SYSTEM_SCREENSHOT) and listener callback (systemScreenshotDetected) in the TypeScript API. - Update example app and documentation (new dedicated doc page + sidebar/usage/config/release notes updates).
Reviewed changes
Copilot reviewed 12 out of 12 changed files in this pull request and generated 4 comments.
Show a summary per file
| File | Description |
|---|---|
| src/MalwarelyticsRasp.ts | Dispatch new SYSTEM_SCREENSHOT RASP event to an optional listener callback. |
| src/MalwarelyticsConfig.ts | Extend config types with systemScreenshot and broaden environment typing to allow custom URL strings. |
| src/internal/RaspEvent.ts | Add SYSTEM_SCREENSHOT to the internal RASP event type union. |
| react-native-malwarelytics.podspec | Update iOS native prepare script version to 3.3.2. |
| ios/MalwarelyticsConfig.swift | Parse systemScreenshot config, add BLUR overlay support, and allow custom environment URL. |
| ios/Malwarelytics+RASP.swift | Emit SYSTEM_SCREENSHOT event from the native RASP delegate to JS. |
| example/src/Config.ts | Demonstrate system screenshot protection config with BLUR overlay. |
| docs/Usage-RASP.md | Document listener usage for systemScreenshotDetected and link to dedicated page. |
| docs/System-Screenshot-Detection.md | Add dedicated documentation for system screenshot (App Switcher snapshot) detection and configuration. |
| docs/Release-Notes.md | Add release 1.3.0 notes + correct Apple version for 1.2.0. |
| docs/Configuration.md | Update environment docs and add system screenshot config example. |
| docs/_Sidebar.md | Add sidebar link to the new System Screenshot Detection page. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
#79
which contains iOS fixes:
based on iOS mwl added functionality, the upgrade contains adding this functionality:
- Added System Screenshot Detection (App Switcher snapshot protection) for Apple
- Added BLUR overlay type for screen capture and system screenshot detection
- Added support for custom backend URL via environment configuration for Apple