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)

Other
iOS
enhancement

Tracking

()

RESOLVED FIXED
Iteration:
1.18
Tracking Status
fxios 7.0+ ---
fxios-v7.0 --- fixed
fxios-v8.0 --- fixed

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.
Severity: normal → blocker
Priority: -- → P1
Summary: Include applicsation version and build number in all user agent strings → Include application version and build number in all user agent strings
Summary: Include application version and build number in all user agent strings → Include application channel, version and build number in all user agent strings
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: nobody → sleroux
Status: NEW → ASSIGNED
Iteration: --- → 1.18
Whiteboard: [MobileCore]
See :rfk's comment about some additional info we should send https://bugzilla.mozilla.org/show_bug.cgi?id=1350769#c4
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)
Attachment #8850972 - Flags: review?(sarentz) → review?(jdarcangelo)
> 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)
Attachment #8850972 - Flags: review?(jdarcangelo) → review+
master a18df199a08a31407973b8c67738dc9aca56cc98 v7.x 56c1147
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Depends on: 1353388
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: