How to prevent an application from starting based on its version?

JE
Jose, Echeverria
TECNIPESA IDENTIFICACIÓN, S.L.

Hello!

Do you know any way to prevent an app from starting if it has a certain version? Is it posible?

I have Android 9 devices in a 14.4 soti instance.

3 years ago
Android
ANSWERS
OA
Ozan Acikalin Silver Contributor
3 years ago

There is no feature to stop an app from starting if it has a certain version.

All you can do is to prevent the app from updating. You have two options to achieve that:

  • disable app updates (Android Enterprise - Managed Google Play)
    You can set a profile where you can say to never update an app.
  • deploy the app as a package
    Apps which you deploy as a package are not able to update themselves because of
    the missing link to the play store.
G
GKMOD@SOTI
3 years ago

Hi Jose,

Unfortunately mobicontrol doesn't have the function.
Please find below help that Ozan suggested.

Managed Google Play
https://www.soti.net/mc/help/v14.4/en/console/reference/dialogs/profiles/androidplus/profile_managedgoogleplay_androidplus.html?hl=never%2Cupdate


Profile Packages
https://www.soti.net/mc/help/v14.4/en/console/reference/dialogs/profiles/androidplus/package_androidplus.html?hl=profile%2Cpackage

JE
Jose, Echeverria
3 years ago

Thank you Ozan and GKMOD!

The issue would go more for not letting the application start if it has an old version.

The idea is to deploy the apk as a package and update it, and if it doesn't meet a minimum app version, don't let it start.

MK
Martin K. Bronze Contributor
3 years ago

you can create a profile with an application runtime control with blacklisting this app and filter criteria on this app bundle and version below the required minumum, so this profile is only applied to devices with the app below a specific version

Bit this is only working if the device has connection to MobiControl, and the you can update the app. 

G
GKMOD@SOTI
3 years ago

Hi Jose,

Unfortunately mobicontrol doesn't have the feature.

How about if you can update the app to latest version for all devices?

App can update by profile - package.

RS
Rafael Schäfer Diamond Contributor
3 years ago

Don't know if this would cover your question but you could block an app via Blacklist Profile and assign it depending on app having a specific version. After the app has been uninstalled, the profile should not be assigned anymore and removed from the device.

But be aware, that if the app is provided by you, it will be tried to be downloaded and installed again (in a loop) in a endless loop if the blacklist is still in place because the app has this version you want to block. This is critical for mobile data consumption and you have to test this very well before putting in place.

But the best would be to deploy if via package or (if playstore is used) as an enterprise app with the apk file.