Marketing demos and sample code

Escape an in-app webview

Many Social Media Apps keep users within their walled garden and prevent Universal Links from working properly. It is possible to escape such a situations, but there are some prerequisites and caveats.

  1. Attempts to open a scheme in Safari when the app is not installed is a silent error! This is key to forcing the App open.
  2. You must have the Universal Link and equivalent Scheme.
  3. If the click occurs on a known social media app, redirect to an interstitial page.
  4. On the interstitial page, first try the scheme then try the universal link.

Instagram webview: Not detected!

  1. Attempt to force open the Amazon App.
  2. Amazon Universal Link: https://a.co/d/cfDKBco
  3. Amazon Scheme: com.amazon.mobile.shopping.web://www.amazon.com/gp/product/B0DF49NM7Q