JSPM

react-native-email-action

1.0.6
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 50
  • Score
    100M100P100Q64304F
  • License ISC

A simple and customized way to open email linking (Best option for iOS that will ask you what email provider you can use)

Package Exports

  • react-native-email-action

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (react-native-email-action) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

React Native Email Action

npm version Downloads

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)

Alt Text

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
  • Mail

Android

  • All the apps installed.

Roadmap

  • Add other app emails for iOS
  • Add attachment option