In my React Native app, I'm trying to add the expo-mail-composer
package using this guide.
I use [email protected]
,
I added "install-expo-modules": "^0.2.8"
,
then "expo-mail-composer": "~11.3.0"
,
When I try to import the package with
import * as MailComposer from 'expo-mail-composer'
it throws the error
Cannot find native module 'ExpoMailComposer'
To use expo modules in a non-expo project (aka bare workflow), you need to install Expo modules first with:
https://docs.expo.dev/bare/installing-expo-modules/