question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Always get Latest Version 0.0.0.0 update from GOOGLE_PLAY

See original GitHub issue
  • I have verified there are no duplicate active or recent bugs, questions, or requests.
  • I have verified that I am using the latest version of AppUpdater.
  • I have given my issue a non-generic title.
  • I have read over the README, Wiki and FAQs (before asking questions on how to do something).
Details
  • PiracyChecker version: 2.6.5
  • Device OS version: 5.0.2
  • Device Manufacturer: LG
  • Device Name: G2
Builder
AppUpdaterUtils appUpdaterUtils = new AppUpdaterUtils(this)
                .setUpdateFrom(UpdateFrom.GOOGLE_PLAY)
                .withListener(new AppUpdaterUtils.UpdateListener() {
                    @Override
                    public void onSuccess(Update update, Boolean isUpdateAvailable) {
                        Log.d("Latest Version ",  update.getLatestVersion());
                        Log.d("Release notes",  update.getReleaseNotes());
                        Log.d("URL",  update.getUrlToDownload().toString());
                        Log.d("Is update available? ", Boolean.toString(isUpdateAvailable));
                    }

                    @Override
                    public void onFailed(AppUpdaterError error) {
                        Log.d("AppUpdater Error", "Something went wrong");
                    }
                });
        appUpdaterUtils.start();
Problem

Hi… I want to ask, why I always get return Latest Version 0.0.0.0 while in the playstore has its version 1.0.0 thanks.

Expected Result

Latest Version 1.0.0 Release notes URL https://play.google.com/store/apps/details?id=com.vcard.sg&hl=en Is update available?true

Actual Result

Latest Version 0.0.0.0 Release notes URL https://play.google.com/store/apps/details?id=com.vcard.sg&hl=en Is update available?false

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:5
  • Comments:35 (5 by maintainers)

github_iconTop GitHub Comments

3reactions
kushanshah11commented, Jul 5, 2018

Hi All, if you want alternate way to get play store App Version

compile ‘org.jsoup:jsoup:1.8.3’

 private class GetVersionCode extends AsyncTask<Void, String, String> {
        @Override
        protected String doInBackground(Void... voids) {

            String newVersion = null;
            try {
                newVersion = Jsoup.connect("https://play.google.com/store/apps/details?id=com.otto.excellence&hl=it")
                        .timeout(30000)
                        .userAgent("Mozilla/5.0 (Windows; U; WindowsNT 5.1; en-US; rv1.8.1.6) Gecko/20070725 Firefox/2.0.0.6")
                        .referrer("http://www.google.com")
                        .get()
                        .select(".hAyfc .htlgb")
                        .get(7)
                        .ownText();
                return newVersion;
            } catch (Exception e) {
                Log.e("Exception", e.getMessage());
                return newVersion;
            }
        }

        @Override
        protected void onPostExecute(String onlineVersion) {
            super.onPostExecute(onlineVersion);

            Log.d("update", "playstore version " + onlineVersion);
        }
    }
3reactions
vishnu-simplecrmcommented, Jun 12, 2018

At least give us the timeline, till when the issue will be resolved. Or should we look for other libraries.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to update the Play Store & apps on Android
Find out how to update Android apps one at a time, update the Play Store to the latest version, and set apps to...
Read more >
How to stop Play Store from auto-updating itself?
Stop whatever Internet access on your Android or it will silently auto-update Play Store, making your hard typing work useless. · Open Settings...
Read more >
android - Version code 1 has already been used. Try another ...
First, is common given in other answers: you must increase the version number to send an update to Play Console. Eg. previous app...
Read more >
483863 - widevime is version 0.0.0.0.0 and it wont update and ...
there is no widevime plugin or folder and the component shows that is version 0.0.0.0 and it does not download or update so...
Read more >
Update Software Latest - Apps on Google Play
Download Update Software Latest & relax, this app will automatically check for updates to your installed Apps & Games and will notify you...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found