react-native-email-link: [Expo] Failed to resolve plugin for module "react-native-email-link"

Expo is unable to resolve the react-native-email-link plugin.

Steps to reproduce: 1 - expo init 2 - Add "plugins": ["react-native-email-link"] to app config. 3 - expo config --type prebuild

Note: expo --version: 4.12.1

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Reactions: 4
  • Comments: 19 (8 by maintainers)

Commits related to this issue

Most upvoted comments

Hey @RicardoBrito1938

I successfully used a mix of 2 libraries to make it work on iOS and Android with Expo (no plugins required) react-native-email-link and expo-intent-launcher using pure JavaScript

The code is available here https://davidl.fr/blog/react-native-expo-email-app

  • for iOS it opens the Apple Mail app even if another email app is installed (I tested with sparks). I guess it’s kind of okay for now until the plugin solution works everywhere 😅

For people experiencing this problem and it blocking them from using the library, here is a temporary solution:

  1. Remove the plugin from your Expo config file.
  2. Follow the old instructions to enable on iOS.

If anybody with more Expo experience than me has a solution for this issue, please do let me know/submit a PR. Keen to get this resolved, but I don’t have the knowledge/time to do so!

Found a solution to this: #100