File tree Expand file tree Collapse file tree
packages/fxa-settings/src/lib/channels Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -13,6 +13,15 @@ export enum FirefoxCommand {
1313 Error = 'fxError' ,
1414 OAuthLogin = 'fxaccounts:oauth_login' ,
1515 CanLinkAccount = 'fxaccounts:can_link_account' ,
16+ // opens sync preferences if user is signed in to sync
17+ // use as: firefox.send(FirefoxCommand.SyncPreferences, {ok: true});
18+ // caveat: if browser does not support the command
19+ // or the user is not signed in to sync
20+ // there is no response and the command fails silently
21+ // As of May 2025, this command is available on desktop
22+ // support will be added on Android (https://bugzilla.mozilla.org/show_bug.cgi?id=1968130)
23+ // and iOS (https://github.com/mozilla-mobile/firefox-ios/issues/26837)
24+ SyncPreferences = 'fxaccounts:sync_preferences' ,
1625}
1726
1827export interface FirefoxMessageDetail {
You can’t perform that action at this time.
0 commit comments