Open pjenvey opened 4 years ago
Aye, unfortunately most standard UA-parsing libraries don't handle the sync UA strings well. Summary of known current client behaviour:
Firefox-iOS-FxA/24
.MozacFetch/${BuildConfig.LIBRARY_VERSION}
; I don't believe any clients currently alter this from its default.For unrelated reasons, I'm interested in trying to get all our clients to include additional information in their UA string, such as the release channel identifier. I think that might argue in favor of using some custom parsing to augment the off-the-shelf library.
More observation of the UA strings in the duplicate #1027, such as this comment
We use the generic woothee user agent parser, however our Sync clients tend to use custom UA strings that don't always parse down to useful tags (e.g. #787).
We should implement our own user agent parsing instead. Either woothee should be abandoned entirely or only used as a fallback.