Activity Guard
  • 22 Jan 2025
  • 1 Minute à lire
  • Sombre
    Lumière
  • PDF

Activity Guard

  • Sombre
    Lumière
  • PDF

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

App Shielding offers the option to protect applications from task hijacking. This is enabled by adding the ShieldSDK-activity-guard Maven dependency.

MyApplication/app/build.gradle:

dependencies {
  ...
  implementation 'no.promon.shield:ShieldSDK-activity-guard:7.0.2'
}

This dependency, in combination with the Shielding Tool injects a launcher activity into the app that replaces all existing ones. The injected activity is constructed so that it will always launch and cannot be hijacked. It then evaluates the state of all tasks belonging to the app, and restores or destroys them as appropriate.

A Callback is notified with TaskHijackingData information about the offending app when a task hijacking is attempted.


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