How to test deep links during development?


#1

So, I’ve set up my app to handle deeplinks using the guide at https://docs.expo.io/versions/latest/workflow/linking.

However, I’m finding it impossible to actually test because when I click a deeplink, say from my gmail client, it opens my default Expo app and not the one which I’m running locally in development.

Is there some way to force Expo to start the build I have in development?


#2

Your deep link url format will be different in development compared to in production/standalone. I recommend using Linking.makeUrl (SDK 27+), which will always return the correct value depending on whether you are testing inside Expo Client or testing a standalone app.


closed #3

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.