Page MenuHomePhabricator

As a user I would like to be able to "handoff" from browser to app and from app to browser
Closed, ResolvedPublic

Description

In order to support handoff from the desktop browser we need to update the site association file.

(We need to add the "handoff" service)

See the previous modification here:
https://gerrit.wikimedia.org/r/#/c/250897/

To verify the change has been deployed, check this file:
https://en.wikipedia.org/apple-app-site-association
You should now see a "webcredentials" dictionary and an "activity continuation" dictionary

To verify it is working correctly:

  1. uninstall the app
  2. install the app
  3. Ensure you are signed into iCloud on the device in the device settings.
  4. Lock the test device
  5. Open a en.wikipedia web page on a mac OR another iOS that is signed into the same iCloud account as the test device.
  6. Press the sleep wake button of the test device.
  7. Verify that you see a wikipedia icon in the bottom left corner of the screen
  8. Swipe up on the wikipedia icon in the bottom left corner of the screen
  9. Verify that the app opens with the same page as was in the browser.

Event Timeline

Also note we will be including the web credentials dictionary as part of this ticket as well to enable T130841 in a later update.

Change 279394 had a related patch set uploaded (by Fjalapeno):
Update site association file to support handoff and credential sharing with the iOS app

https://gerrit.wikimedia.org/r/279394

Yo should be able to open a wikipedia page in safari on your mac, and the lock screen your phone should have a wikipedia icon that you can slide up to continue reading the page on the device.

Without unlocking?

Yo should be able to open a wikipedia page in safari on your mac, and the lock screen your phone should have a wikipedia icon that you can slide up to continue reading the page on the device.

Without unlocking?

No, you will still need to enter your passcode or use touch id

Dereckson added subscribers: csteipp, Dereckson.

@csteipp Do you think the Apple's Handoff / Continuity technology security paradigm acceptable? Users can disable it. It's available by default but requires all the devices to be (1) on the same wi-fi network (2) on the same bluetooth network (3) all logged to the same iCloud account.

@Dereckson, I haven't studied it in depth, but my initial opinion is it isn't something I would personally use. But for protecting most wiki accounts (99.99% of which are unprivileged), it's probably fine. Like iMessage-- if you need security, use a product that is well studied and you know is safe instead. But for most users, iMassage is safe enough.

Note that it can take 5 days for iOS to update its cache.

Change 279394 merged by jenkins-bot:
Support handoff and credential sharing with the iOS app

https://gerrit.wikimedia.org/r/279394

IMG_7545.PNG (2×1 px, 793 KB)

How the icon looks on the lock screen ^

First device: iPhone with iOS 9.3.1 and Wikipedia 5.0.3 (817), Second device: Mac OS X El Capitan (with same iCloud account as iPhone). When I returned to the iPhone in step 6 there was no Wikipedia icon on the bottom right of the screen. This is not fixed.

Fjalapeno added a subscriber: JMinor.

Just verified this again…

Used app store build.

Moving to PM signify for @JMinor to verify.

This is working for me now... lets add a regression test for this, so TSG can retest before public release, but I consider it resolved.