Closed
Bug 1350146
Opened 8 years ago
Closed 8 years ago
Include application channel, version and build number in all user agent strings
Categories
(Firefox for iOS :: General, enhancement, P1)
Tracking
()
RESOLVED
FIXED
Iteration:
1.18
People
(Reporter: st3fan, Assigned: sleroux)
References
(Depends on 1 open bug)
Details
(Whiteboard: [MobileCore])
Attachments
(1 file)
We currently only include the app version number in our user agent strings.
To be able to better recoginize specific builds, specially for betas where the version number does not change but the build number does, we need to include both version and and build number.
This should apply to all our user agents. For the WKWebView and also for all the clients that we have like FxA, Push, etc.
Reporter | ||
Updated•8 years ago
|
Reporter | ||
Updated•8 years ago
|
Summary: Include applicsation version and build number in all user agent strings → Include application version and build number in all user agent strings
Reporter | ||
Updated•8 years ago
|
Summary: Include application version and build number in all user agent strings → Include application channel, version and build number in all user agent strings
Reporter | ||
Comment 1•8 years ago
|
||
Updated the bug to mention that we should include three components in all our UAs:
- Channel (Firefox, Firefox Beta, Firefox Nightly)
- Version 7.0
- Build 2150
Assignee | ||
Updated•8 years ago
|
Assignee: nobody → sleroux
Status: NEW → ASSIGNED
Iteration: --- → 1.18
Whiteboard: [MobileCore]
Assignee | ||
Comment 2•8 years ago
|
||
Attachment #8850972 -
Flags: review?(sarentz)
Assignee | ||
Comment 4•8 years ago
|
||
See :rfk's comment about some additional info we should send https://bugzilla.mozilla.org/show_bug.cgi?id=1350769#c4
Assignee | ||
Comment 5•8 years ago
|
||
Hey Ryan,
I've amended my patch to include the device model and system version in our FxA/Sync/Token client user agents [1]
For example, the user agent when talking to the FxA server will now look something like this:
Firefox-iOS-Sync/8.0b1 (iPad; iPhone OS 10.2) (Firefox)
Firefox-iOS-Sync/8.0b1 (iPad; iPhone OS 10.2) (Nightly)
Firefox-iOS-Sync/8.0b1 (iPhone; iPhone OS 10.2) (Firefox)
I followed a similar format we use for our web user agent where they enclosed the device model and system in brackets with the device being the first string and the second being the system version.
Is this what you were looking for in https://bugzilla.mozilla.org/show_bug.cgi?id=1350769?
[1] https://github.com/mozilla-mobile/firefox-ios/pull/2556/commits/779501b585c4c4454ef52387320bdc472abc4eea
Flags: needinfo?(rfkelly)
Assignee | ||
Updated•8 years ago
|
Attachment #8850972 -
Flags: review?(sarentz) → review?(jdarcangelo)
Comment 6•8 years ago
|
||
> Is this what you were looking for in https://bugzilla.mozilla.org/show_bug.cgi?id=1350769?
Yes, this looks great, thanks!
Flags: needinfo?(rfkelly)
Comment 7•8 years ago
|
||
Comment on attachment 8850972 [details] [review]
Link to Github pull-request: https://github.com/mozilla-mobile/firefox-ios/pull/2556
LGTM
Attachment #8850972 -
Flags: review?(jdarcangelo) → review+
Assignee | ||
Comment 8•8 years ago
|
||
master a18df199a08a31407973b8c67738dc9aca56cc98
v7.x 56c1147
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
status-fxios-v7.0:
--- → fixed
status-fxios-v8.0:
--- → fixed
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•