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

openComposer only opens up native mail app iOS #124

Closed eikhunter closed 7 months ago

eikhunter commented 1 year ago

Hi, I have followed the install instructions for the library, everything seems to be working as expected on Android, but iOS will only ever default open the native iOS "mail" app and not give any options for any other app installed. Using

openComposer({ to: email, });

If I specify the param of app and give it a specific application to open it works as expected, but I want the options of all the app installed first.

Info.plist

<key>LSApplicationQueriesSchemes</key>
<array>
    <string>cydia</string>
    <string>undecimus</string>
    <string>sileo</string>
    <string>zbra</string>
    <string>whatsapp</string>
    <string>mailto</string>
    <string>message</string>
    <string>readdle-spark</string>
    <string>airmail</string>
    <string>ms-outlook</string>
    <string>googlegmail</string>
    <string>inbox-gmail</string>
    <string>ymail</string>
    <string>superhuman</string>
    <string>yandexmail</string>
    <string>fastmail</string>
    <string>protonmail</string>
    <string>szn-email</string>
</array>

Sorry if I have missed a crucial step in the installation, but I can't seem to figure out why it won't give the options.

Thanks in advance

watadarkstar commented 1 year ago

I'm having the same issue. What version are you on? I'm on:

    "react-native-email-link": "1.14.6",
Noitidart commented 1 year ago

Verified, same here. iOS 15.7 - using "react-native-email-link": "^1.14.6",

bharathkandula99 commented 1 year ago

Any luck?

crackhack8266 commented 9 months ago

any luck ?

github-actions[bot] commented 7 months ago

This issue is stale because it has been open for 60 days with no activity.

github-actions[bot] commented 7 months ago

This issue was closed because it has been inactive for 14 days since being marked as stale. Please feel free to re-open if you feel this issue is still relevant.