Repository navigation
release: freeRASP 4.0.0 (Android SDK 20.0.1) - #64
Merged
Merged
Conversation
Bump the Android SDK to 20.0.1 (app.talsec.rasp:TalsecRasp-Community-Capacitor) and expose its new features: - ongoing call detection: ongoingCall threat action with CallState, startOngoingCallDetection/stopOngoingCallDetection - screen control blocking: blockScreenControl/isScreenControlBlocked - overlay windows hiding: blockOverlayWindows/isOverlayWindowsBlocked - criticalChecksFinished/postponedChecksFinished execution states The new threat and execution-state identifiers and the call-state channel key are Android only; the TypeScript lists are branched per platform so the iOS identifier counts stay unchanged. allChecksFinished is now driven by the SDK's onFastChecksFinished, which fires where the removed onAllChecksFinished used to. SDK 20.0.1 also narrowed onMalware's parameter from MutableList to List. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The execution state that fires when the fast (standard) checks complete is renamed on all platforms to match the Android SDK's onFastChecksFinished. On iOS it is driven by the SDK's onAllChecksFinished. This is a breaking change, so the package major version is bumped. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…plugin The plugin hides these native API changes from its users, so they move from the Android Breaking Changes section to Changed. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…tion Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2 of 3 tasks
… Stopped) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
iOS now sends placeholder keys for malware and ongoing call, so the threat channel data has the same length on both platforms and the JS check no longer branches by platform. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Talsec.start now uses TalsecMode.BACKGROUND, as the React Native plugin already does, so the SDK initializes off the calling thread. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…pace (#65) * refactor(android): move plugin to the app.talsec.rasp namespace Align the Android package of the plugin with the Android SDK's app.talsec.rasp, adding the platform as the last segment. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * refactor(android): update package names to app.talsec.rasp Completes the move of the plugin sources: package declarations, imports, Gradle namespace and build configuration. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
4 of 5 tasks
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* feat!: unify the public API with the other freeRASP plugins - TalsecIosConfig.appBundleId (string) is now appBundleIds (string[]), as the iOS SDK accepts several bundle ids - startFreeRASP and the action methods resolve to void instead of status values; meaningful booleans (is*Blocked, blockOverlayWindows) stay - every method rejects with TalsecError and a stable code instead of native errors or plain strings - onInvalidCallback is no longer exported; abortApp stays Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * refactor: stop exporting the TalsecPlugin bridge interface The native bridge type is internal; apps use the exported functions. Its addListener signature now uses Capacitor's PluginListenerHandle. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * refactor(types): type threat and execution state actions as returning void Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
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.
What's new
Bumps the Android SDK from 19.3.1 to 20.0.1. 20.0.0 renamed the artifact to
app.talsec.rasp:TalsecRasp-Community-{platform}. Theapp.talsec.pluginGradle plugin 1.1.0 already resolves the new coordinate, so onlysdkVersionchanges.The plugin also exposes the SDK's new features (Android only):
ongoingCall(state: CallState)threat action ('STARTED' | 'ONGOING' | 'STOPPED') plusstartOngoingCallDetection()/stopOngoingCallDetection()blockScreenControl()/isScreenControlBlocked()HIDE_OVERLAY_WINDOWS):blockOverlayWindows()/isOverlayWindowsBlocked()criticalChecksFinished/postponedChecksFinishedactionsAdapting to SDK changes
allChecksFinishedexecution state action →fastChecksFinished, on all platforms. The Android SDK replacedonAllChecksFinished()withonFastChecksFinished(), and the plugin API now uses the same name. On Android it fires when the fast checks finish, while the postponed checks may still run. On iOS it is driven by the SDK'sonAllChecksFinished(). Hence the major version bump to 4.0.0.isScreenCaptureBlocked()now passes the current activity, as the SDK requires.onMalware's Kotlin parameter fromMutableListtoList. This isn't in the release notes and doesn't show up in a bytecode diff, but it fails compilation, so the override is updated.dist/is rebuilt.The changelog adds a
### Capacitorsection and the Android SDK notes for 20.0.0 and 20.0.1 fromCHANGELOG_FREE_RASP.md. Entries the plugin section already covers (the new APIs, the execution-state change,isScreenCaptureBlocked(activity)) are dropped from the Android part, and the remaining ones carry no ❗️Breaking marker.Tested on the Android emulator (Pixel 10 Pro, API 36)
TalsecRasp-Community-Capacitor:20.0.1and starts. It isn't killed byonInvalidCallback, so the Android identifier lists line up.fastChecksFinishedandpostponedChecksFinishedreceived (on this emulator they take about 20s and 70s after start)blockOverlayWindowsreturnedtrue)adb emu gsm call/accept/cancel) reportedSTARTEDthenSTOPPEDto JSBefore merging
releaselabel (merging a labeled PR publishes the release)dSYMs.zip
🤖 Generated with Claude Code