LogoLogo
HomeArticlesCommunity ProductsPremium ProductsGitHubTalsec Website
  • 👋Introduction
  • 🛠️Integration
    • 🤖Android
      • API
      • Troubleshooting
    • 🍎iOS
      • API
      • Troubleshooting
    • 🐦Flutter
      • FlutterFlow
      • API
      • Troubleshooting
    • ⚛️React Native
      • Expo
      • API
      • Troubleshooting
    • 👾Cordova
      • API
      • Troubleshooting
    • 🪽Capacitor
      • API
      • Troubleshooting
  • 🚀Features and Pricing plans
    • The Key Differences: freeRASP vs. RASP+
  • 🎤What's New and Changelog
  • 📊Security Report
  • ⚖️User Data Policies
  • 📄License
  • 🤝Fair Usage Policy (FUP)
  • ℹ️Wiki
    • Getting Signing Certificate Hash
    • Callback Delay, Telemetry Impact, and Threat Scanning Completion Status
    • Threat detection
      • Detecting rooted or jailbroken devices
      • Emulator detection
      • Hook detection
      • App tampering detection
      • Debugger detection
      • Detecting unofficial installation
      • Device binding detection
      • Missing obfuscation detection [Android devices only]
      • Secure Hardware detection (Keystore/Keychain secure storage check)
      • Passcode
      • System VPN detection
      • Developer Mode detection [Android devices only]
      • ADB enabled detection [Android devices only]
      • Screen Capture
    • Source code obfuscation
    • isProd flag
  • 🦉FAQ
  • 🧑‍💻About Us
  • 🤝Contribution
Powered by GitBook
On this page
  • Variables
  • TalsecConfig
  • Classes
  • public class Talsec
  • Protocols
  • public protocol SecurityThreatHandler
  • Enums
  • public enum SecurityThreat : String, Codable, CaseIterable, Equatable

Was this helpful?

Export as PDF
  1. Integration
  2. iOS

API

Variables

TalsecConfig

Specifies configuration for your app. See the table below for detailed description of the attributes.

field
type
description
sample value

appBundleIds

[String]

List of Bundle IDs for the app

["com.talsec.freerasp.demoapp"]

appTeamId

String

Apple Team ID for the signing of the app

"M8AK35..."

watcherMailAddress

String?

The value is automatically used as the target address for your security reports. Mail has a strict form 'name@domain.com'.

"john@example.com"

isProd

Bool?

Defaults to true when undefined. If you want to use the Dev version to make the development process easier, set the parameter to false. Make sure that you have the Release version in the production (i.e. isProd set to true)!

true

Classes

public class Talsec

Methods

public static func start(config: TalsecRuntime.TalsecConfig)

  • The method used to start freeRASP's audit.

public static func blockScreenCapture(enable: Bool, window: UIWindow)

  • The method blocks the screen capture in specific UIWindow.

public static func isScreenCaptureBlocked(in window: UIWindow) -> Bool

  • The method returns whether the screen capture is blocked in specific UIWindow.

public static func storeExternalId(externalId: String)

  • The method stores an externalId into the logs for data collection.

Protocols

public protocol SecurityThreatHandler

Methods

func threatDetected(_ securityThreat: TalsecRuntime.SecurityThreat)

  • Notifier about detected threats.

Enums

public enum SecurityThreat : String, Codable, CaseIterable, Equatable

Cases

  • signature

  • jailbreak

  • debugger

  • runtimeManipulation

  • passcode

  • simulator

  • missingSecureEnclave

  • systemVPN

  • deviceChange

  • deviceID

  • unofficialStore

  • screenshot

  • screenRecording

PreviousiOSNextTroubleshooting

Last updated 6 days ago

Was this helpful?

Provides all types of threats detected by freeRASP. Read more about the meaning of the threats in the .

🛠️
🍎
wiki