2

We try to find some method for update our app silently (without user prompt). The methods that we already saw and they didn't help me:

  1. Google Play Store - not relevant for our app (not match Google conditions)
  2. Root device - not relevant for production (almost all our phones without root)
  3. Install/update by system app (without root) - not relevant for production (we have many different phones)
  4. Device owner - not relevant for production (need factory reset - Making my app a device owner doesn't work)
  5. Accessibility Service - very tricky way and doesn't work when screen is off or locked

Maybe does an another method exist? Can somebody help us with this?

We speak only about UPDATES installation. Initial installation user will do by himself.

Rougher
  • 834
  • 5
  • 19
  • 46
  • Make it a progressive web app instead of native android app – Vivek Mishra Oct 23 '19 at 05:01
  • you can't update app silently (except the app being a system app, or using root). Even device owner app (as I know) can't update **itself** silently, only other apps. – Vladyslav Matviienko Oct 23 '19 at 06:03
  • @VivekMishra What does it mean " a progressive web app"? It's like dynamic modules that can be called in reflection? – Rougher Oct 24 '19 at 03:26
  • no it's web technology based application which you can say is a type of mobile optimised website – Vivek Mishra Oct 24 '19 at 04:08
  • @VivekMishra Can I use all android features in this way? Like AccessibilityService? Will I have access to user data in this way? Which link do you recommend to read? Thank you – Rougher Oct 24 '19 at 04:44
  • I haven't created any of these apps but this should get you started https://developers.google.com/web/fundamentals/codelabs/your-first-pwapp – Vivek Mishra Oct 24 '19 at 05:23
  • If you are making app for enterprise where some organization wants to update some app silently then https://developers.google.com/android/work/requirements/fully-managed-device will help you. – Nikhil Feb 03 '21 at 14:38
  • I've been struggling with this issue recently, and another way to achieve it is In-App Updates. But is not silently at all. – Carlos Jiménez Jun 07 '22 at 08:22

0 Answers0