This has landed. Tomorrow’s desktop Nightly will upload richer client records;
Wed or Thur’s Android Nightly likewise.
You’ll see new payload fields:
"device": "Nexus 7",
"appPackage": "org.mozilla.fennec_rnewman",
"id": "enQ9iVZLzRrN",
"version": "36.0a1",
"name": "Fennec rnewman on Nexus 7",
"application": "Fennec rnewman",
"formfactor": "smalltablet",
"type": "mobile",
"os": "Android",
"protocols": [
"1.1",
"1.5"
],
for Android, and
"id": "6hylTLQOYPKd",
"name": "rnewman's Nightly on jetfire",
"type": "desktop",
"version": "36.0a1",
"protocols": [
"1.1",
"1.5"
],
"os": "Darwin",
"appPackage": "{ec8030f7-c20a-464f-9b0e-13a3a9e97384}",
"application": "Nightly"
for desktop.
This will allow clients to tailor their iconography and descriptions; e.g.,
using a tablet icon for Android tablets, or showing a Windows or Mac OS logo,
or showing contextual hints that are real screenshots of the appropriate device
OS.
Two follow-up bugs (Bug 1100722, Bug 1100723) track adding formfactor and
hardware fields on desktop.
Docs are at
<https://github.com/mozilla-services/docs/blob/master/source/sync/objectformats.rst#user-content-clients>.
Let me know if you have any questions!
-R
On 6 Nov 2014, at 1:32 PM, Richard Newman <[email protected]> wrote:
> (For context, see
> <https://mail.mozilla.org/pipermail/sync-dev/2014-October/001007.html>)
>
> The Sync 1.5 clients format is very limited: it essentially includes name and
> mobile/not mobile, and some version metadata that we included in 1.5 clients.
>
> I’d like to make a backwards-compatible extension to this, adding some of the
> fields we wanted for 2.0, without bumping the collection version. See here
> for some inspiration:
>
>
> http://docs.services.mozilla.com/sync/objectformats.html#version-2-never-deployed
>
> This will allow us to do things like show richer device icons in our client
> lists.
>
> Does anyone have any high-level objections to this in particular, before I
> file bugs with concrete proposed fields?
_______________________________________________
Sync-dev mailing list
[email protected]
https://mail.mozilla.org/listinfo/sync-dev