I am using expo sdk41, react navigation 5, and vercel to deploy a web-build, built with expo build:web
.
When I am developing locally, I can deep link, e.g. http://localhost:19006/sign-in
. However when I deploy it to vercel and assign a domain name to it, the deep linking does not work anymore.
I am already doing the following, which allows deep linking to work in development:
export const linking = {
prefixes: [Linking.createUrl('/'),
screens: {
...
}
}
Why is deep linking working in development and not when deployed to vercel?
I am happy to add more info if needs be.