0

I'm trying to test a flow that looks as follows:

  1. From within my mobile app, open a browser. Note that this is a browser hosted in the app (ex: web view).
  2. The browser then redirects back to my app using either a Universal Link (iOS) or App Link (Android) using the https scheme.
  3. I capture the redirect and extract values from some query params.

This currently does not work - the redirect goes to the host website, where I get a 404, and the app is not launched.

My links take the form of https://www.example.com/path

When I copy/paste the URL from the browser, it is the correct URL, and if I paste this into the notes app and press it on my device it does launch my app. This confirms that the app association files are set up correctly.

My question is - is this flow even possible? Is it possible to launch the app from within a browser that is hosted in the app itself, or is that a no-op? I can't seem to find any definitive documentation.

If the flow is possible, I'd love any thoughts as to why the redirect may not be working from the browser(s).

0 Answers0