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

Feature/android no mail apps error #105

Closed andrew-blackwood closed 2 years ago

andrew-blackwood commented 2 years ago

Throw an error from Android native open method in the case where no email apps are found. Catch this error in the JS side, and throw the error using the custom EmailException with the same message that is used on iOS for the same situation.

Fixes https://github.com/flexible-agency/react-native-email-link/issues/104

tschoffelen commented 2 years ago

Amazing, thanks for this!

Released to NPM: react-native-email-link@1.14.0