-
Notifications
You must be signed in to change notification settings - Fork 413
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 #132
Comments
i'm getting the same issue of unable to check app version, it always returns 0.0.0.0 and false on isUpdateAvailable |
I am also having same issue here, it always returns 0.0.0.0 and false on isUpdateAvailable |
Thank you for letting me know. I'm looking into it. |
The Google Play code has stopped reflect the field |
Same here |
@javiersantos maybe the structure of the html page has changed? |
Google indeed updated the Google Play website. What we do in this library is HTML scraping. Since Google does not provide a stable API for this purpose, that's the only option we have. Unfortunately HTML scraping is fatally sensitive to any changes in Play Store website. To make it worse it's entirely possible that Google does staged rollout, some user's (countries of origin, last digit of their IP address, whatever) may get a different version of the web than others. I personally decided to step back from using this library to notify users about new versions of my apps. |
I am also having same issue here |
@javiersantos same Issue Occurred. Update Dialog not pop Up. |
@javiersantos This issue can be solved by reading the tag with the htlgb class in the Play Store HTML
|
@supersume the css class |
here is log i can show in my IDE. E/AppUpdater: Cannot retrieve latest version. Is it configured properly?Code setup : AppUpdater appUpdater = new AppUpdater(this); |
@javiersantos have you solved this problem? |
@javiersantos getting the same error. E/AppUpdater: Cannot retrieve latest version. Is it configured properly? |
anyone? i'm getting the same error |
I think it has not been updated yet after google changed their html source. |
Still facing the same issue. Is it resolved? if (yes){ "Do I need to update dependency"} else{ "Till when it will be resolved?"} |
HI @javiersantos is this parameter used by you in this lib?
Let me know your thought on same. Thanks |
waiting |
At least give us the timeline, till when the issue will be resolved. Or should we look for other libraries. |
Hi All, compile 'org.jsoup:jsoup:1.8.3'
|
@kushanshah11 D/update: playstore version 5.0 and up |
@serrokitskiy i dont understand... |
@kushanshah11 not version of application |
@serrokitskiy i have checked with same code and i get correct result. or you can send me link of playstore app for which you are testing so i can investigate for same. Thanks in advance. |
@serrokitskiy just update .get(5) and you will get your version code. |
@kushanshah11 ok, thk |
@serrokitskiy let me know once done |
I changed my code using JSON mode. https://github.com/javiersantos/AppUpdater/wiki/UpdateFrom.JSON |
Same problem |
I create a feature request to google, hope developer can get official support |
Hi guys. I want to clarify that there is no definitive solution to the problem, since Google Play does not provide an API to obtain the latest version. I will work on a temporary solution that will solve the problem. Please, I advise you to use an alternative and more reliable method (such as JSON or XML). |
Update 2.7 is now available with the workaround based on Jsoup. Please note that this is a temporary solution and the Google Play website may change at any time. https://github.com/javiersantos/AppUpdater/releases/tag/2.7 |
I couldnt understand how to use it properly. should I use it in activity.xml or activity.java PS: Sorry I am new to this |
Details
2.6.5
5.0.2
LG
G2
Builder
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
The text was updated successfully, but these errors were encountered: