├── .editorconfig ├── .gitattributes ├── .gitignore ├── LICENSE ├── README.md ├── index.js ├── package.json ├── pnpm-lock.yaml ├── react-native-email.d.ts └── result.jpeg /.editorconfig: -------------------------------------------------------------------------------- 1 | root = true 2 | 3 | [*] 4 | indent_style = space 5 | indent_size = 2 6 | end_of_line = lf 7 | charset = utf-8 8 | trim_trailing_whitespace = true 9 | insert_final_newline = true 10 | 11 | [*.md] 12 | trim_trailing_whitespace = false -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- 1 | * text=auto 2 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | .idea -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) Tiaan du Plessis 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in 13 | all copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 21 | THE SOFTWARE. 22 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | 2 | # 📮 react-native-email 3 | [![package version](https://img.shields.io/npm/v/react-native-email.svg?style=flat-square)](https://npmjs.org/package/react-native-email) 4 | [![package downloads](https://img.shields.io/npm/dm/react-native-email.svg?style=flat-square)](https://npmjs.org/package/react-native-email) 5 | [![standard-readme compliant](https://img.shields.io/badge/readme%20style-standard-brightgreen.svg?style=flat-square)](https://github.com/RichardLitt/standard-readme) 6 | [![package license](https://img.shields.io/npm/l/react-native-email.svg?style=flat-square)](https://npmjs.org/package/react-native-email) 7 | [![make a pull request](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square)](http://makeapullrequest.com) 8 | 9 | Send a email using the Linking API 10 | 11 | ## Table of Contents 12 | 13 | - [📮 react-native-email](#-react-native-email) 14 | - [Table of Contents](#table-of-contents) 15 | - [Install](#install) 16 | - [Usage](#usage) 17 | - [Running on iOS simulator](#running-on-ios-simulator) 18 | - [Running on Android SDK 30+](#running-on-android-sdk-30) 19 | - [API](#api) 20 | - [Contributing](#contributing) 21 | - [License](#license) 22 | 23 | ## Install 24 | 25 | Install the package locally within you project folder with your package manager: 26 | 27 | With `npm`: 28 | ```sh 29 | npm install react-native-email 30 | ``` 31 | 32 | With `yarn`: 33 | ```sh 34 | yarn add react-native-email 35 | ``` 36 | 37 | ## Usage 38 | 39 | ```jsx 40 | import React from 'react' 41 | import { StyleSheet, Button, View } from 'react-native' 42 | import email from 'react-native-email' 43 | 44 | export default class App extends React.Component { 45 | render() { 46 | return ( 47 | 48 |