Inject code to load App Shielding
  • 22 Jan 2025
  • 1 Minute à lire
  • Sombre
    Lumière
  • PDF

Inject code to load App Shielding

  • Sombre
    Lumière
  • PDF

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

After the App Shielding libraries and Java-code have been included in the app, the app code itself needs to be modified in order to ensure App Shielding is loaded and started. App Shielding should be loaded and started as early as possible in order to enforce the security policy which it is configured for as soon as possible, and this will require changes to several classes, and may require changes to the AndroidManifest.xml.

First of all, if the application does not provide any custom android.os.Application class, then the no.promon.shield.AppMonitor class will be set as the main application class in the manifest.

Several of the classes of the app will be modified by changing the class initializer method <clinit>. If these classes do not have a class initializer method, then one is created. The method will make sure that a call to
no.promon.shield.LibStarter is performed first. The classes that will have this code injected are described in Binding.


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