DEV Community

loading...

Shortened URL as custom URI scheme deep link #discuss

techtalks profile image Ankit Kumar ・1 min read

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 !!!

Discussion (0)

pic
Editor guide