Wanting to upgrade a play store app programmatically on my Samsung Xcover 6 Pro device.

I noticed today while testing SOTI agent updates via the play store, that both and SOTI and the Workday app we have assigned show 'free' in app catalog. When i manually clicked on the free, it showed uninstall or update for the app and then automatically started updating. And now instead of 'free' it shows 'open' we have about 5000 of these devices and I know there are others that are stuck on 'free' waiting for the app to open via play store to prompt the update. How can i do this programmatically to get them all on the same WD version?

7 months ago
SOTI MobiControl
ANSWERS
RK
Radim Kadlec
7 months ago

Try to look here...

KW
Katie Williams
7 months ago

tank you i tried sending this script and it does open the workday app but does not prompt the update, just sits here. I would want it to go through automatically.

RS
Rafael Schäfer
7 months ago

Can you please check if other apps are stuck in playstore updating (especially system apps)?

We needed to provide an app policy for those as well because if such apps are stuck there, the others also won't update.

Also check if you provided relevant playstore profile for them being updated windowed, automatically or postponed and same on the app policy itself for the specific app(s).

KW
Katie Williams
7 months ago

other apps have updated and here are the parameters set. I did notice 2 of the apps say enable and after enabling it goes to update but still does not trigger the update.

RS
Rafael Schäfer
7 months ago

Hi, on your 4th screenshot, can you change to "available" and check if there are apps being shown, not part of your app policies?

KW
Katie Williams
7 months ago

RS
Rafael Schäfer
7 months ago

Ok, then it's not because of apps being stuck in PS.

RC
Raymond Chan Diamond Contributor
7 months ago

Hi Katie,

Unlike .apk enterprise app deployed directly from MobiControl server,  auto update of managed Play store app from Goolge back-end servers may have schedule delay (1-2 days or more) due to various reasons.   When exactly was your app policy updated?  Have you collected sufficient data from your 5000+ devices and detected any error pattern(s)?

KW
Katie Williams
7 months ago

Well I'm in the process of gathering data now, but the app policy has been assigned for quite a while. I have not made any changes to it. I did not realize how big of a problem it was until i posted, trying to update one device i saw with the issue. A lot of them have updated on their own but i'm finding out the ones that have not are showing the 'enable' setting on them and when i select it, it goes to update but does not update right away (that could be due to the Google back end you are referring to) but I'm not sure why it is showing enable for these devices. Seems like i need some kind of script to enable it first and then see if Google will send the update after the 1-2 days.

R
Remy
7 months ago

Usually, if the app has never been opened on a device before, or if a considerable amount of time has passed since it was last used, this kind of behavior might occur. Try using a script to open the app, wait for a bit, and then close it. See if that helps with your issue.

KW
Katie Williams
7 months ago

ahh i see, thanks for the reply will give that a go.

KW
Katie Williams
7 months ago

I tested this and it helps. i opened the app via the play store and it showed enabled, i then opened the app itself and then sent the script again to open the app via play store and it then showed update. I will wait a couple days and check back and see if it updates and report back on the results. Thanks all for the help. 

R
Remy
7 months ago
RS
Rafael Schäfer
7 months ago

Even this script workaround works, i would reach out to support to find the root cause of this behavior as this is not how it should be.

K
KAMOD@soti.net
6 months ago

Hi Katie,

Thanks for posting on SOTI Pulse.  Thanks, Radim, Rafael, and Raymond, for responding to the post. Your expertise and willingness to help are greatly appreciated!

Has your query been resolved? If this post did not assist you in resolving the issue completely, and you have additional questions, please do not hesitate to reach out or you can contact SOTI Support (support@soti.net) to open a new case, and one of our support engineers will be there to assist you.

Kind Regards
Technical Support | SOTI Inc. |1.905.624.9828 | support@soti.net | www.soti.net |