DEV Community

Ankit Kumar
Ankit Kumar

Posted on

1

Shortened URL as custom URI scheme deep link #discuss

Question:

There is a requirement to open an app's particular screen, based on a deep link in the react-native app.

I had implemented demo:://app/... as a custom scheme in Andoridmanifest.xml for Android and info.plist for iOS.

When I test it with demo:://app/screen/2, it deep-link to the app and opens the second screen of the app.
And this behavior is expected when the app receives demo:://app/screen/2 from other apps.

Problem starts appearing when I try to test the app with https://tinyurl.com/y4qygctx instead of demo:://app/screen/2.
note - https://tinyurl.com/y4qygctx is shortened form of demo:://app/screen/2.

Please enlighten solutions based on your experience.
Thank you in advance !!!

Top comments (0)

Qodo Takeover

Introducing Qodo Gen 1.0: Transform Your Workflow with Agentic AI

Rather than just generating snippets, our agents understand your entire project context, can make decisions, use tools, and carry out tasks autonomously.

Read full post