Hi,
I have an unfortunate and annoying situation, so any helpful ideas would be welcome.
I have to deploy a third party application which has two "flavours" (trainer & production) but the same bundle ID, application name and version. Developer isn't able to alter the bundle ID.
The setup is as follows
Trainer Device -> Trainer Profile -> Trainer Package -> Trainer apk
Production Device -> Production Profile -> Production Package -> Production apk
Packages are just the apk but set to uninstall application on package removal.
Sometimes, Ill need to move trainers into production and vice versa, but not often.
I have found cases where the applications have not swapped when moved between groups
e.g. Moved Trainer -> Production but the device keeps Trainer version of the apk.
Though these are rare and I think tend to happen either when the server is busy / limited mobile data on the device.
Obviously I cant tell which version of the application is actually installed. I also cant add an uninstall pre-install script as part of the package as I don't want to delete the app storage during a genuine package upgrade.
Currently I have to remember to revoke the Trainer Profile from the device and then move to the Production group.
If anyone can think of any neat, automatic way around this, I would be very happy :)
Thanks
Adam