Skip to content
This documentation is also available as markdown. For a complete index of all pages, see llms.txt at /llms.txt

Sealing Presets

A preset saves a set of sealing options under a name. Instead of setting every option each time, you apply the preset:

Some settings — threat response message templates, Hardware Key Attestation, and Access Signals — have no CLI options. A preset is the only way to apply them when you seal through the CLI.

Open Android → Preset. The page title is Manage Sealing Preset for CLI.

The list shows the presets in your account:

ColumnDescription
Preset NameThe name you use to apply the preset.
Created AtWhen the preset was created.
DescriptionOptional free-text note.
ActionView, Edit, Copy, or Delete the preset.

Use the search box to find a preset by name.

  1. Click Create Preset.

  2. Enter the Preset Name and, optionally, a description. The name can contain only English letters, numbers, ., _, and -.

  3. In Basic Configuration, select the app framework and the sealing version (both required), then the code protection options.

  4. In General Features, set the Environment Detection and Tool & Package Detection options.

  5. In Advanced Features, set the Advanced Detection options. Access Signals is a toggle in this section, rather than a separate step.

  6. Click Save.

The options and their version requirements are the same as in the sealing wizard — for example, Monitor and Callback actions appear only when the sealing version is 3.3.0.0 or higher. See Apply Doverunner Mobile App Security for each option.

Use Copy to create a new preset from an existing one, for example a test and a release variant of the same settings.

SO Encryption in Basic Configuration takes the same values as in the sealing wizard: Yes, No or Selective. It appears only for sealing versions that support it.

With Selective, list the .so files to encrypt:

  • Type a file name, such as libnative.so, and press Enter or type a comma to add it. Names are case-sensitive, each can be up to 255 characters, and the whole list can be up to 4,000 characters. A name applies to the file in every architecture.
  • Or click Select APK/AAB to choose .so files to pick from the .so files in your app. The file is read in your browser only and is not uploaded. The list marks system libraries and files that cannot be encrypted, and you can use Select All Supported or Add recommended. Remove the file to go back to typing names.

At least one file is required. When you apply the preset in the sealing wizard, Yes and No carry over, but Selective does not, because the file names depend on the app you upload: choose the files in the wizard instead. With the CLI tool, the preset’s file list is used as saved.

Selective Dex String Obfuscation and Call Hiding

Section titled “Selective Dex String Obfuscation and Call Hiding”

A preset stores only the Selective choice for Dex String Obfuscation and Call Hiding, not the package lists. When the preset is applied, through the CLI tool or the sealing wizard, sealing uses the inclusion and exclusion lists saved for that app in App Configurations. If the app’s inclusion list is empty at that point, sealing fails.

Selective Call Hiding requires sealing version 3.3.0.0 or higher. If you choose a lower version, or open a lower-version preset that has Selective saved, Call Hiding is reset to Yes.

The bottom of the page has a 3rd Party Integration area, where you can download the CLI tool and check your CLI Key (the authkey value).

Pass the preset name with sealing_preset_name:

Terminal window
$ java -jar sealing.jar -url https://api.appsealing.com/covault/gw -authkey 123456789ABCDE -srcapk app-release.aab -sealedapk app-release-sealed.aab -sealing_preset_name my-preset-name

Changing a preset does not change apps that were already sealed with it. Re-seal the app to apply the updated options.