0

I wonder if there's a way to update whole app without Play Store SDK(but download from my server).(Not only XML, but also all of code and configs)And without any pop ups to touch.

As far as I know, it's prohibited. One method that I know about update without play store is like this: Automatically install Android application

However, I guess Xiomi Applications achieved this feature(auto update).

I found this page And it has Github Repository

It has SlientAutoUpdate Class and it's experimental. And it seems the device must be rooted to use command codes such as su.

Is there any way without rooting?

I want the users not to touch anything to update the app.

c-an
  • 3,543
  • 5
  • 35
  • 82

1 Answers1

0

in THIS topic you have multiple samples for auto-update, but these still need some user interaction (at least "Install"/"Update" button click on some system screen)

but there is also another method for changing source code without reinstalling APK, so-called hot-fixing. check out these libs:

worth noting: Google is forbidding using these hot-fix libs/ways. note that developer can release some APK and some day it may add some extra code only from its server side, users just runs again app. then dev may trick user to grant some new permission or turn on some feature (users trusts this app, is using it for a while) allowing to execute some not-friendly code (e.g. some virus, malware, ads etc.), which wasn't present at the moment of uploading APK to Google Play Store console (which is scanning all APKs uploaded as update, may refuse publishing)

snachmsm
  • 17,866
  • 3
  • 32
  • 74
  • um.. So, it doesn't update whole app but just like some classes? for hot fix. It's all in Chinese. It'd be great if you have better resources.. @snachmsm – c-an Jan 09 '21 at 23:42
  • sadly I've never used that feature, just know that exists... – snachmsm Jan 10 '21 at 11:04