tschoffelen / react-native-email-link

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

Add title override for Apple Mail #108

Closed MikeDuister closed 2 years ago

MikeDuister commented 2 years ago

Since iOS 14 (and iPadOS 14) Apple allows users to change the default mail app

Because mailto:// is used for composing (due to message:// not supporting any parameters) the title no longer fits the app it opens. This proposal provides a bandaid in the form of an override based on the action type ("default mail client" instead of "Mail" when calling openComposer).

tschoffelen commented 2 years ago

This is a really good point! Thanks!

Should we stay consistent with Apple's terminology? Seems to be "Default email reader" (ref)

MikeDuister commented 2 years ago

I agree. I've changed the title

tschoffelen commented 2 years ago

Thanks! Released to NPM as react-native-email-link@1.14.1