1.0.6 • Published 4 years ago
react-native-email-action v1.0.6
React Native Email Action
A simple and customized way to open email linking (Best option for iOS that will ask you what email app you can use, if installed)
Demo (iOS)
Installation
foo@bar:~$ npm install --save react-native-email-action
iOS Only
After iOS 9+, you need to add this information keys on Info.plist
<key>LSApplicationQueriesSchemes</key>
<array>
<string>message</string>
<string>ms-outlook</string>
<string>googlegmail</string>
</array>
Usage
import { sendEmail } from 'react-native-email-action';
const options = {
to: "erick.maeda26@gmail.com",
subject: "Very important!",
body: "Verify your email fast!"
};
sendMail(options);
Available email app
iOS (If installed)
- Gmail
- Outlook
Android
- All the apps installed.
Roadmap
- Add other app emails for iOS
- Add attachment option