Sealing Presets
A preset saves a set of sealing options under a name. Instead of setting every option each time, you apply the preset:
- In the sealing wizard, from the Preset selector on the right-hand panel after you upload a file. See Apply Doverunner Mobile App Security.
- In the CLI tool, with the
sealing_preset_nameoption. See Basic Configuration.
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.
Managing Presets
Section titled “Managing Presets”The list shows the presets in your account:
| Column | Description |
|---|---|
| Preset Name | The name you use to apply the preset. |
| Created At | When the preset was created. |
| Description | Optional free-text note. |
| Action | View, Edit, Copy, or Delete the preset. |
Use the search box to find a preset by name.
Creating a Preset
Section titled “Creating a Preset”-
Click Create Preset.
-
Enter the Preset Name and, optionally, a description. The name can contain only English letters, numbers,
.,_, and-. -
In Basic Configuration, select the app framework and the sealing version (both required), then the code protection options.
-
In General Features, set the Environment Detection and Tool & Package Detection options.
-
In Advanced Features, set the Advanced Detection options. Access Signals is a toggle in this section, rather than a separate step.
-
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 a Preset
Section titled “SO Encryption in a Preset”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
.sofiles 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.
Using a Preset with the CLI Tool
Section titled “Using a Preset with the CLI Tool”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:
$ 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-nameChanging a preset does not change apps that were already sealed with it. Re-seal the app to apply the updated options.