I have a somewhat unusual Android app in the Play Store that's running on dedicated devices 24/7 (it collects sensor data, it's not meant to run on phones used for anything else). I would like the app to auto-update without user interaction, but that never seems to happen. Why could this be?
Some more background:
This is fairly hard and time-consuming to test so any experiences shared with similar requirements could be helpful.
From the menu, go to Settings. Navigate to Network Preferences > Auto-update apps. To allow the Play Store to update whenever a new update is available, select Over any network.
Tap Manage, then find the app you want to update automatically. To open the app's "Details" page, tap the app. Turn on Enable auto update.
As mentioned, this feature on your Android device is turned on by default when you set up your phone. Automatic updates happen during certain times so as not to interfere with phone use. For instance, apps will usually update when your device is charging and not being used.
Default update behavior By default, apps are updated automatically when the following constraints are met: The device is connected to a Wi-Fi network. The device is charging. The device is idle (not actively used).
Make sure the port 5228, TCP and UDP, is not blocked by a firewall per https://support.google.com/googleplay/answer/2651367?hl=en
We've had a similar problem for years. Our apps run on school deployed devices. Whenever we push an update, it reaches may be 10% of devices within 24 hours, the rest seem to "hang". It takes about a week for another 30% of devices to get the update, while the remaining %60 never get it. There is no difference in settings across devices. All set to auto-update of course.
The way we "solved it" is our app is checking if the market has a newer version (there are libraries for doing it, but we have own server responding yes/no). If there is a newer version of the app, we invoke the intent to open Google Play with the app's page. The user has to manually click "Update" at that point.
If there was a native or cleaner way to push the updates we'd love to hear, even at this point in the game. Bothering users to update is not ideal.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With