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?

@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.

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