Expo linking not opening app from email

Please provide the following:

  1. SDK Version: Expo 6.0.5
  2. Platforms(Android/iOS/web/all): All

I’m using Expo Linking for generating an url to open the APP.

const redirectUrl = Linking.createURL('NewPassword', {
      queryParams: { email },
});

I’ve set scheme property on app.config.ts.

Link works when opening directly from a browser on the emulator, but the link doesn’t work from the email.

Is there anything specific I need to set or an extra step missing ?

Hey @marman, I’d recommend you to go through the section “When not to use Deep Links” on how to setup links with email.

Hi @amanhimself thanks for the recommendation.

About the first part of that section, users will have the APP already installed for going to that flow so that’s not an issue.

I’ll see if I can try the second suggestion →

Instead of linking to example://path/into/app, you could link to https://example.com/redirect-to-app.html and redirect-to-app.html would contain the following code:

Thanks for pointing to this, I’ll get back here with my findings.

1 Like

You can simply use Linking.openURL('mailto:' email_address) to achieve that.

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