How to automate an Android app without a playstore? Like a Facebook app or any Contest app

How do applications automatically update automatically without updating from the game store? I mean that the internal data of the application changes (via the Internet) without updating from the game store. For example, any Contest application or Facebook application. This is where the feed updates automatically.

What is the technical term for this?

Any tutorial on this?

+19
source share
3 answers

If you want to check if your application has updates (without interacting with Google Play), you will need to poll the server (providing the current version) and let the server check if a newer version is available. If so, let the server respond using the change log and the URL of the new version.

Fortunately, there are libraries for this:

  • AppUpdater An Android library that checks for updates on your own server (or on Google Play, Github, etc.). Great documentation . This library notifies you of updates to your applications by showing a material dialog, snack bar or notifications.
  • Android Auto Update . The Chinese library, but has to do its job, is one of the most popular libraries for this, but it can only be because Google Play is not available in China.
  • AppUpdateChecker A simple, non-market way to update your application. All that is required to configure is a URL pointing to a JSON document describing the changes to your application.
  • Auto-update This project allows you to automatically update a running APK application using a private update server (see Apk-updater ) instead of the Google Play updater. Also comes with a server script.
  • SmartUpdates . The old library, but the instructions are in English, also provides a server-side script.
  • WVersionManager . Checks for updates, but the actual update must be downloaded from the Play Store.
+32
source

Here is an alternative

https://developer.android.com/guide/app-bundle/in-app-updates#update_readiness

try this google library to update from app

dependencies { implementation 'com.google.android.play:core:1.5.0' ...} 
+1
source

You can use flexible update in the application as described here:

https://developer.android.com/guide/app-bundle/in-app-updates#immediate_flow

0
source

Source: https://habr.com/ru/post/1238016/


All Articles