Open Porkepix opened 5 years ago
I need to detect the app version from the store page. It is sometimes available but only in the full details page of the app (e.g. for netflix the current version is not displayed on screen because it 'Varies with device').
It could be possible to get some version information using this query in the app detail page:
div.hAyfc:nth-child(4) > span:nth-child(2) > div:nth-child(1) > span:nth-child(1)
This could be :
android:versionName
The version number shown to users. This attribute can be set as a raw string or as a reference to a string resource. The string has no other purpose than to be displayed to users. The versionCode attribute holds the significant version number used internally.
It could be nice to offer user to re-analyze an application if most recent available report is older than current application version. It's needed to pay attention to the disk usage load it could also bring, though.