quickstart-unity
quickstart-unity copied to clipboard
FR: Resolve dynamiclink to deep link by API
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.
We need the same thing.
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.