Hi everyone,
I am currently on MobiControl version 2025.1.0.1007. I am strictly an Android Shop with devices ranging from OS 10-15. Device Agent version(s) 2024.1.4.1149 through 2026.0.0.1104. I am attemping to use a python script to make the POST packages/v2 api call. I have no issue with the creation and upload of the created package. I am running into an issue when trying to get the files in the package copied to the correct folder/folders on the Samsung device. I have tried using a post-install script (I referenced the Android Agent JavaScript documentation) but for whatever reason, I can not get the files on the device.
I find it strange that this isn't working since the profile status states that the package was installed successfully. When I check the file structure, no files are copied into the specified directories.
I have even tried adding the PackageGroupFile and PackageFileFlags parameters in the script but still no luck. I was wondering if anyone else had any luck using this API call to build -> upload ->deploy successfully. The files in question are files that are generated in ESI. Building the same package in Pack Studio works without fail. I am wondering if I am missing something crucial. Any help would be greatly appriciated. Thank you.
If any other information is needed, I would be happy to discuss.