Getting play-store version of the application

340 views Asked by At

I tried using JSOUP library to get the application version for the play-store website. But it's not working as google has updated their website structure recently. I am working on java platform. What's the best way to get the version of the application.

1

There are 1 answers

1
Devrim Catak On

if your purpose is to provide update control you can use AppUpdateManager. Thanks to AppUpdateManager, you can check if there is an update, show an automatic message to the user and download the update. At the same time, it offers 2 options called IMMEDIATE and FLEXIBLE. With these options, you have the chance to make the update mandatory or optional.

for more : https://developer.android.com/reference/com/google/android/play/core/appupdate/AppUpdateManager