Callbacks on iOS
  • 18 Oct 2024
  • 1 Minute à lire
  • Sombre
    Lumière

Callbacks on iOS

  • Sombre
    Lumière

The content is currently unavailable in French. You are viewing the default English version.
Résumé de l’article

Methods

List of callback methods

Callback

Description

jailbreakStatus

Provides a boolean that indicates whether the device on which the application is running is jailbroken.

repackagingStatus

Provides a boolean that indicates whether the application has been repackaged. If the application is running in a simulator, this method is never called.

screenRecordingStatus

Provides a boolean that indicates whether one or more screens used by the app is being recorded.

developerModeStatus

Provides a boolean that indicates whether Developer Mode is enabled on the device. Developer Mode was added in iOS 16, so this method is not called on devices running iOS 15 and earlier. Such devices are considered to have Developer Mode enabled by default.

debuggerStatus

Provides a boolean that indicates whether a debugger is attached to the host application. If App Shielding is configured to block debuggers, this method is never called.

screenshotDetected

Called when App Shielding discovers that a screenshot of the application has been taken. If the application is running in a simulator, this method is never called.

libraryInjectionPrevented

Called when App Shielding has prevented an untrusted library from being injected into the process during runtime.

libraryInjectionDetected

Called when App Shielding has detected that there are untrusted libraries in the process. In production, however, you should configure App Shielding to use the exitOnLibraryInjection option, and not rely on handling a callback.

hookingFrameworksDetected

Called when App Shielding has detected that there are hooking frameworks in the process. In production, however, you should configure App Shielding to use the exitOnHookingFrameworks option and not rely on handling a callback.

Exit on... security options like exitOnJailbreak will cause the application to immediately exit before the corresponding callback is triggered. Also note that some of these options, like exitOnRepackaging, are always enabled in release mode.


Cet article vous a-t-il été utile ?

Changing your password will log you out immediately. Use the new password to log back in.
First name must have atleast 2 characters. Numbers and special characters are not allowed.
Last name must have atleast 1 characters. Numbers and special characters are not allowed.
Enter a valid email
Enter a valid password
Your profile has been successfully updated.
ESC

Ozzy, facilitant la découverte de connaissances grâce à l’intelligence conversationnelle