Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Always get Latest Version 0.0.0.0 update from GOOGLE_PLAY #225

Closed
4 tasks done
IMWaqasFarooq opened this issue Jul 25, 2022 · 2 comments
Closed
4 tasks done

Always get Latest Version 0.0.0.0 update from GOOGLE_PLAY #225

IMWaqasFarooq opened this issue Jul 25, 2022 · 2 comments

Comments

@IMWaqasFarooq
Copy link

IMWaqasFarooq commented Jul 25, 2022

  • 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.x.x
  • Device OS version: 12
  • Device Manufacturer: Samsung
  • Device Name: GalaxyM31
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.2.0 . before this issue was appear earlier in 2018, now its appear again, and it was fixed as an temporary solution with update of 2.7, but current library version is still 2.7. so when this issue will resolve now

Expected Result

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

Actual Result

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

@gmsirimanna
Copy link

any update on this? is this library still working? @IMWaqasFarooq @tdtran @matthewmayer @Neoklosch @vicktor

@javiersantos
Copy link
Owner

Google Play is currently not working due to changes on Google's side. I suggest you use another method like JSON: https://github.com/javiersantos/AppUpdater/wiki/UpdateFrom.JSON

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants