Client record is not updated with fxaDeviceId after registration

RESOLVED FIXED

Status

()

P1
normal
RESOLVED FIXED
2 years ago
2 years ago

People

(Reporter: st3fan, Assigned: jhugman)

Tracking

unspecified
Other
iOS

Firefox Tracking Flags

(fxios+)

Details

(Whiteboard: [MobileCore])

Attachments

(2 attachments)

(Reporter)

Description

2 years ago
AutoPush from Desktop currently does not work because iOS does not store the fxaDeviceId in its own client record. It needs to be in there we currently maintain two lists of devices. One list in FxA, one list in sync (client records) and this fxaDeviceId is the primary key between them.

Marking this as a blocker for 8.0



The problem is there is no `fxaDeviceId` in the iOS client record.

After device registration the fxaDeviceId needs to be set.

Android Example: http://searchfox.org/mozilla-central/source/mobile/android/services/src/main/java/org/mozilla/gecko/sync/stage/SyncClientsEngineStage.java#479

Desktop Example: 
http://searchfox.org/mozilla-central/source/services/sync/modules/engines/clients.js#843

See attached log.
(Reporter)

Comment 1

2 years ago
Created attachment 8864936 [details]
no-deviceid.png
See Also: → bug 1261169
Iteration: 1.20 → 1.21
(Assignee)

Updated

2 years ago
Assignee: nobody → jhugman
Status: NEW → ASSIGNED
(Reporter)

Updated

2 years ago
tracking-fxios: 8.0+ → +
Created attachment 8866541 [details] [review]
Link to Github pull-request: https://github.com/mozilla-mobile/firefox-ios/pull/2718
Attachment #8866541 - Flags: review?(sleroux)
Attachment #8866541 - Flags: review?(sleroux) → review+
Question answered in PR. 

Merged into master.
Status: ASSIGNED → RESOLVED
Last Resolved: 2 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.