woothee/woothee-java

Android 9 version not recognized

vincentdaniel opened this issue · 2 comments

We noticed that the version of user agents for Android 9 wasn't parsed properly by Woothee. This because the user agent contains Android 9 and not Android 9.0.

For example, the version for the following user agent would be null instead of 9: Mozilla/5.0 (Linux; Android 9; SM-N960F) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.105 Mobile Safari/537.36

We tested it with our own phones so we are sure that these are valid user agents for Android 9 devices (and not some fake user agents :) )

(A similar PR is open in the Ruby version of Woothee)

@vincentdaniel Thank you for reporting it!
Could you send a pull-request to the spec about UA strings and these parse results in spec repository? All implementations will follow it with new version numbers (as described at the end of Versoins).

Sure, I will do that