The default bug view has changed. See this FAQ.

Expose API for querying the existence of Sync accounts, creating accounts

RESOLVED FIXED in Firefox 13

Status

Android Background Services
Android Sync
P1
normal
RESOLVED FIXED
5 years ago
4 years ago

People

(Reporter: rnewman, Assigned: rnewman)

Tracking

unspecified
mozilla14
ARM
Android
Dependency tree / graph

Firefox Tracking Flags

(firefox13 fixed, firefox14 fixed)

Details

(Assignee)

Description

5 years ago
This will largely entail lifting AccountActivity.createAccount and adding validation, and documenting its assumptions (e.g., about threading).

Also will need an option to ensure that no account already exists, to avoid ending up with two!

While we're here, we can also add a little API to check whether a Sync account exists, and strip that logic out of the main Fennec code.

In the future we can explore additional decoupling.
(Assignee)

Updated

5 years ago
Blocks: 735137
(Assignee)

Comment 1

5 years ago
The beginnings of this:

https://github.com/mozilla-services/android-sync/pull/105
(Assignee)

Comment 2

5 years ago
https://hg.mozilla.org/integration/mozilla-inbound/rev/a0df03570b26

Leaving open for any work required for Part 2.
Whiteboard: [Leave open after merge]
Part 1:
https://hg.mozilla.org/mozilla-central/rev/a0df03570b26
Assignee: nobody → rnewman
(Assignee)

Updated

5 years ago
Assignee: rnewman → nalexander
Priority: P2 → P1
https://hg.mozilla.org/releases/mozilla-aurora/rev/bccdef36473e

(i assume there is more to add here since the bug was left open. maybe we should open a new bug and close this one?)
status-firefox13: --- → affected
status-firefox14: --- → affected
(In reply to Richard Newman [:rnewman] from comment #2)
> https://hg.mozilla.org/integration/mozilla-inbound/rev/a0df03570b26
> 
> Leaving open for any work required for Part 2.

can you file a second bug for part #2 please?
(Assignee)

Updated

5 years ago
Blocks: 739629
(Assignee)

Comment 6

5 years ago
Done!
No longer blocks: 715550
Status: NEW → RESOLVED
Last Resolved: 5 years ago
status-firefox13: affected → fixed
status-firefox14: affected → fixed
Resolution: --- → FIXED
Summary: Expose safe account creation API for profile migration → Expose API for querying the existence of Sync accounts, creating accounts
Whiteboard: [Leave open after merge]
Target Milestone: --- → mozilla14
(Assignee)

Updated

5 years ago
Assignee: nalexander → rnewman
Component: Android Sync → Android Sync
Product: Mozilla Services → Android Background Services
You need to log in before you can comment on or make changes to this bug.