Issue with DoNotUninstall flag in /packages/v2 API call

EC
Enric Correa Yusa
mercadona001

Hello,

We are creating an APK package using the /packages/v2 API and setting:

"FileFlags": "DoNotUninstall"

However, when the profile is uninstalled, the APK is also removed from the device, so the flag does not seem to be respected.

We cannot verify the package configuration after upload because packages created via the API do not show the Files or Scripts tabs (see:
https://pulse.soti.net/community/thread/c040ed8e-f711-4e4f-a90c-2f3ed380bed7).

Is DoNotUninstall supported for APK packages created via this API, or is this expected behavior?

Thanks.

yesterday
SOTI MobiControl
ANSWERS
RS
Rafael Schäfer Platinum Contributor
9 hours ago

What if you grab the package information via API? Then you should see it's details in the response.