Closed Bug 1343226 Opened 7 years ago Closed 7 years ago

Investigate Send Tab from iOS -> Desktop

Categories

(Firefox for iOS :: Firefox Accounts, defect)

Other
iOS
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 1373276

People

(Reporter: jhugman, Unassigned)

References

Details

It isn't clear how this currently works. (sending sync commands)

Once Bug 1333765 is resolved, do we need to update the sending of tabs to other devices? Does Firefox for iOS need to be able to send WebPush notifications directly?
Depends on: 1333765
(In reply to James Hugman [:jhugman] [@jhugman] from comment #0)

> It isn't clear how this currently works. (sending sync commands)

The SendTo extension:

  https://github.com/mozilla-mobile/firefox-ios/tree/master/Extensions/SendTo

writes commands into storage:

  https://github.com/mozilla-mobile/firefox-ios/blob/master/Storage/SQL/SQLiteRemoteClientsAndTabs.swift#L282

which are then uploaded during a sync of the clients engine:

  https://github.com/mozilla-mobile/firefox-ios/blob/master/Sync/Synchronizers/ClientsSynchronizer.swift#L202

Other commands, like remote wipes, would also end up in that commands table, and would follow the same path out the door.
(In reply to James Hugman [:jhugman] [@jhugman] from comment #0)

> Once Bug 1333765 is resolved, do we need to update the sending of tabs to
> other devices? Does Firefox for iOS need to be able to send WebPush
> notifications directly?

The equivalent to Android's approach is to make ClientsSynchronizer issue a devices/notify ping after successfully uploading a client's record.
> It isn't clear how this currently works.
It wasn't clear to _me_. :)

Thanks :grisha :rnewman.

Closing this now work on Bug 1373276 has started.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.