commercetest / vitals-scraper

Collect data to assist in analysing Google Play Console Android Vitals
MIT License
6 stars 2 forks source link

Missing androidVersion value on AppHealthDetailsPlace breaks scraper #4

Closed julianharty closed 5 years ago

julianharty commented 5 years ago

The Android Vitals AppHealthDetailsPlace page has a table By Android version.

Today I discovered that the URLs to show the crashes for Android 8 and Android 7 are both missing the value for the respective Android Version.

Here's an edited set of the URLs from this report to show the missing parameter for these 2 Android versions.

https://play.google.com/apps/publish/?account={elided}#AndroidMetricsErrorsPlace:p={elided}&appid={elided}&errorType=CRASH&appVersion&androidVersion=28
https://play.google.com/apps/publish/?account={elided}#AndroidMetricsErrorsPlace:p={elided}&appid={elided}&errorType=CRASH&appVersion&androidVersion=27
https://play.google.com/apps/publish/?account={elided}#AndroidMetricsErrorsPlace:p={elided}&appid={elided}&errorType=CRASH&appVersion
https://play.google.com/apps/publish/?account={elided}#AndroidMetricsErrorsPlace:p={elided}&appid={elided}&errorType=CRASH&appVersion
https://play.google.com/apps/publish/?account={elided}#AndroidMetricsErrorsPlace:p={elided}&appid={elided}&errorType=CRASH&appVersion&androidVersion=23

We'll either need to wait for Google to fix the problem or create a workaround. I've raised the issue using the 'email feedback' feature in Android Vitals.

julianharty commented 5 years ago

An interesting and unexpected development - today I discovered that Android Vitals now passes the wrong parameter for 'active' versions. Instead they pass [only] one of the appVersions (the app I'm investigating has 6 versions in production).

For both Android 7 and Android 8 they provide the following link for the crashes https://play.google.com/apps/publish/?account={elided}#AndroidMetricsErrorsPlace:p={elided}&appid={elided}&errorType=CRASH&appVersion=5182160 These seem to be the same links BTW.

Here's the link for Android 9 in comparison which at least has the androidVersion parameter and value.

https://play.google.com/apps/publish/?account=9116215767541857492#AndroidMetricsErrorsPlace:p=org.kiwix.kiwixmobile&appid=4975184706939091905&errorType=CRASH&appVersion=5182160&androidVersion=27

julianharty commented 5 years ago

@ISNIT0 fixed this a long time ago; far sooner than Google who still have this bug many months later :( I've just checked today (4th Oct 2019) and their URL for Android 8 still lacks the actual version number...