uap-core icon indicating copy to clipboard operation
uap-core copied to clipboard

OnePlus 6T user agent parsing

Open jnorvell opened this issue 7 years ago • 1 comments
trafficstars

UserAgent string:

Mozilla/5.0 (Linux; Android 9; ONEPLUS A6013) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.80 Mobile Safari/537.36

Getting "Generic Smartphone" for device.family. Would like to see "ONEPLUS A6013"

Also would like to see os.major be "9" in this case. Both major and minor are null.

jnorvell avatar Nov 09 '18 14:11 jnorvell

Hey! Just adding more info, this is probably related to #356 The current ONEPLUS regex always expect the Build/ word:

; (ONEPLUS [a-zA-Z]\d+) Build/

or

; (ONE [a-zA-Z]\d+) Build/

caique-lima avatar Nov 09 '18 15:11 caique-lima