6rod9 6rod9 - 14 days ago 9
iOS Question

Universal Links not working on iOS10

Just updated my iPhone to iOS10 and the Universal links stopped working. If I run my app in an iPhone with iOS9, or lower, the Universal Links work fine, but the are just not working at all in iOS10.

Any clues?

Answer

It sounds like you inadvertently deactivated Universal Links. This usually happens if you tap the bypass link in the top right corner of the screen after opening a Universal Link.

Universal Link bypass button

This is a per-app setting that is saved on each unique device. The setting is preserved even if you delete the app and reinstall it, so the only way to reverse this is by intentionally re-enabling Universal Link behavior for that app on your device. There are a couple of ways to do this:

  1. Paste the link into Notes or iMessage (or some other app that supports Universal Links) and long-press on it. You'll see an 'Open in [App]' option. Select it, and after that all Universal Links for that app will work again.
  2. On the the webpage that opens in Safari — assuming it doesn't immediately redirect somewhere else — you can scroll up on the initial view to get a banner. Clicking this will also re-enable Universal Links for the associated app.

enter image description here