Skip to content

Packages ​

Shadowalk provides two ways to push APK applications to devices. The first is via packages in configuration files: upload APK files and deploy them to devices for installation through configuration files. The second is to deliver applications to devices using application policies (local enterprise app store or Google Play).

Please note when the same APK, or the same APK with different versions, is deployed via both methods:

ScenarioResult
Deploy configuration file A (containing APK file 1), then deploy application policy (also containing APK file 1). APK versions are identical. After APK file 1 is installed successfully on the device, delete the application policyAPK file 1 will be uninstalled, and the configuration file status remains Installed
Deploy configuration file A (containing APK file 1), then revoke configuration file A on the device details page, and then deploy application policy (also containing APK file 1)The corresponding APK package will be uninstalled when the configuration file is revoked. APK file 1 can be installed normally after the application policy is deployed
Deploy configuration file A (containing APK file 1), then deploy application policy (containing APK file 1), and finally revoke configuration file A on the device details pageAPK file 1 will be uninstalled when configuration file A is revoked, and then it will be reinstalled
Deploy application policy (containing APK file 1), then deploy configuration file A (containing APK file 1), and then delete the application policyAPK file 1 will be uninstalled, and the configuration file status remains Installed
Deploy application policy (containing APK file 1), then deploy configuration file A (containing APK file 1), and revoke the configuration fileAPK file 1 will be uninstalled when the configuration file is revoked, and then it will be reinstalled
Push configuration file A (containing APK file 1 version V1) to the device, then deploy APK file 1 version V2 via configuration file or application policy, and then delete the application policy / configuration file containing V2V2 version of APK file 1 will be uninstalled on the device, and V1 version of APK file 1 will be installed. This operation may cause data loss due to different APK versions, so it needs to be handled with caution

Note: Deleting or revoking either deployment source will trigger an uninstall or reinstall on the device as shown in the table above. Reverting to an earlier APK version may cause application data loss, so proceed with caution.

Add Package ​

A package is a container used to store applications, scripts, or files. You can create packages in the Shadowalk web console.

descript

Process Flow

1, In the top-left main menu, select Packages, then click Add Package to open the dialog box.

descript

2, In the General tab, fill in the required fields, then select Next.

FieldDescription
Package NameEnter the name of the package you want to create.
DescriptionEnter a detailed description of the package.
VersionEnter the package version, for example, 1.0. Update this value whenever you modify the package to help manage versions.
OS VersionEnter the Android OS version(s) that this package can be deployed to.
VendorEnter the vendor name.

3, In the Files tab, select Add File. The Add File window will appear.

FieldDescription
Type

Select the file type to upload data for:

  • File

  • Folder

  • APK (Android devices only)

File UploadSelect the file package to upload.
File PathSpecify the destination path where the file will be downloaded.
Do Not Uninstall This FileWhen enabled, the file remains on the device even if the package is uninstalled.
Prevent User UninstallAvailable only when the file type is APK. When enabled, users cannot uninstall the APK.
Do Not Uninstall This File When Deleting the ProfileAvailable only when the file type is APK. When enabled, the package file remains on the device after the profile is deleted and will not be revoked or removed.
Auto-Run Activity After InstallationAvailable only when the file type is APK. When enabled, the app package will run automatically after installation.

4, In the Scripts tab, select Add Script. The Add Script dialog box will appear.

OptionDescription
Before InstallThe script runs before installing other package content.
After InstallThe script runs after installing other package content.
Before UninstallThe script runs before uninstalling other package content.
After UninstallThe script runs after uninstalling other package content.

5, Enter the script content, then click Confirm.

descript

6, Select Next to go to Additional Space, then click Save or Publish. Clicking Save keeps the package in Draft status; clicking Publish publishes it. On the configuration profile’s package selection page, you can choose the package you just created.

Delete Package ​

Deleting unused packages from Shadowalk can free up storage, increase database capacity, and improve performance. Packages that are referenced by configuration profiles cannot be deleted.All references must be removed before deletion is allowed.

Process Flow

1, In the package list, select the package you want to delete, then click the Delete icon to remove it.

2, You can also select multiple packages to delete them in bulk.

3, Click Delete to open the delete dialog, where you can choose the specific package version(s) to delete.

descript

Edit Package ​

Modify the content inside the package via the Edit Package function.

Operation Process

1, Click the Edit button in the list to open the Edit Package pop-up window.

2, The following fields cannot be edited:Package Name

a. OS Version From

b. OS Version ToAll other fields are editable.After editing the package, the version number must not be the same as any previous version.

3, Click Next to enter the Extra Space page.Click Save: the package status is Draft.

a. Click Publish: the package status is Published.Published packages can be selected on the note page when adding a configuration file package.

descript