tschoffelen / react-native-email-link

📭 Open an email client from React Native (for 'magic link' type functionality).
MIT License
412 stars 74 forks source link

Sheet not showing, Mail opening instead. #101

Closed ruxiang05 closed 2 years ago

ruxiang05 commented 2 years ago

I have Mail and Gmail installed. However, the app is not showing the sheet, but opens the Mail app instead.

This is my config in app.json

"plugins": ["react-native-email-link"],
"infoPlist": {
        "LSApplicationQueriesSchemes": [
          "message",
          "readdle-spark",
          "airmail",
          "ms-outlook",
          "googlegmail",
          "inbox-gmail",
          "ymail",
          "superhuman",
          "yandexmail"
        ]
      }

Using latest version 1.31.1. I am using Expo Testing on iOS physical device. What is happening here? Am I missing something?

tschoffelen commented 2 years ago

Did you rebuild the native app after making those changes to your app.json file?

ruxiang05 commented 2 years ago

Yes, i rebuilt it

i8ramin commented 2 years ago

I am experiencing the same thing. Always opens up the Mail app even though I have Gmail app installed.