Skip to content

Conversation

@mobilearmor
Copy link
Collaborator

Here is high level summary of changes

  1. Update the maven dependency in build.gradle (com.aheaditec.talsec.security:TalsecSecurity-Community:17.0.0)
  2. Implement the additional callbacks in Controller.java
  3. Implement the additional callbacks in NativeBridge.swift
  4. Talsec.cs updated to handle the new calls from number 2 & 3 above
  5. Updated sample game Monoscript to reflect the above new changes

Pending

  1. Once reviewed, create the release artifact and publish.
  2. Update documentation (Its currently outdated and shows examples of old SDK code snippets) - https://docs.talsec.app/freerasp/integration/unity

…llbacks (onMultiInstance, onUnsecureWiFi, onTimeSpoofing, onLocationSpoofing)
Copy link
Contributor

@martinzigrai martinzigrai left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The start method now requires a new parameter: TalsecMode.

You can find an example/reference here: https://github.com/talsec/Free-RASP-ReactNative/blob/3672228776c1c4cdf43b568d883182938e47d585/android/src/main/java/com/freeraspreactnative/FreeraspReactNativeModule.kt#L75

I also suggest including the flavor-specific .xcframework directly as a release attachment. @tompsota can tell you where to find the specific .xcframework.

compileOnly files('libs/unity-classes.jar')
// freeRASP SDK
implementation 'com.aheaditec.talsec.security:TalsecSecurity-Community:15.1.0'
implementation 'com.aheaditec.talsec.security:TalsecSecurity-Community:17.0.0'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The plugin import is using the incorrect flavor. Could you please change it to com.aheaditec.talsec.security:TalsecSecurity-Community-Unity:17.0.0?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Okay 👍

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@tompsota Where can i find flavor-specific .xcframework ?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Okay. I have updated the Android dependency to

com.aheaditec.talsec.security:TalsecSecurity-Community-Unity:17.0.1

& for iOS. The framework is added by the developer after they export their project to xcode. We have this section in the document that guides them (see link below). Hence, we need to update the link so it points to the unreal flavour

https://docs.talsec.app/freerasp/integration/unity?utm_source=github#add-freerasp

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also, I have updated this PR title to indicate we are integrating v6.13.0 for iOS SDK

@martinzigrai @tompsota

@Override
public void onLocationSpoofingDetected() {
UnityPlayer.UnitySendMessage(this.gameObjectName, "scanResult", "onLocationSpoofing");
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

break;
case "onLocationSpoofing":
this.threatDetectedCallback.onLocationSpoofing();
break;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

case .screenRecording:
message = "screenRecording"
case .timeSpoofing:
message = "onTimeSpoofing"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mobilearmor mobilearmor changed the title Upgrade freeRASP SDK to latest versions [17.0.0 on Android & 6.14.0 on iOS] Upgrade freeRASP SDK to latest versions [17.0.0 on Android & 6.13.0 on iOS] Jan 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants