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

Open the apple-mail doesn't work #122

Closed Sahand-Stefan closed 7 months ago

Sahand-Stefan commented 1 year ago

openComposer({ app: "apple-mail", to: email, subject, body, })

In this code i am trying to open the apple main as maybe some users are not using gmail. The apple main is not opening the mail-box but gmail opens, The second question is that how can i make it generic to open apple-main or gmail either of them?

tschoffelen commented 1 year ago

Hi @Sahand-Stefan, apologies for the late response.

I don't think app is a supported parameter. The library will show a sheet to prompt the user to select their preferred app if multiple supported apps are detected, if there's only one there's no prompt shown.

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.