quickstart-unity icon indicating copy to clipboard operation
quickstart-unity copied to clipboard

FR: Resolve dynamiclink to deep link by API

Open nilsk123 opened this issue 4 years ago • 2 comments

Feature proposal

  • Firebase Component: DynamicLinks

We embed DynamicLinks in QR codes to deep link users to specific pages or components in our app. This works fine when the user scans the QR code via their camera app. The browser opens the DynamicLink, resolves it's associated DeepLink, and passes it along to our app which can then decode the query and find our custom parameter.

The app we develop also contains a QR code scanner which can recognise the same QR codes and decode it to get the dynamic link. We would like to be able to resolve the DeepLink from the DynamicLink by an API from within our app, instead of opening the DynamicLink in a browser only for it to then guide us straight back to our app.

nilsk123 avatar Oct 29 '20 14:10 nilsk123

We need the same thing.

nick-morhun avatar Jun 17 '22 12:06 nick-morhun

You can open it in code alone by using an HttpWebRequest and HttpWebResponse to fake a browser request. See this answer here: https://stackoverflow.com/questions/3175062/long-urls-from-short-ones-using-c-sharp

Worked for us.

chris-o3h avatar Jun 20 '22 16:06 chris-o3h