This documentation is available as Markdown for AI agents and LLMs. See the full Markdown index or append .md to any documentation URL.

Expo MailComposer iconExpo MailComposer

一个库,提供使用系统特定 UI 撰写和发送电子邮件的功能。

Android
iOS (device only)
Web
Included in Expo Go
Recommended version:
~58.0.3

expo-mail-composer 允许你使用操作系统界面快速轻松地撰写和发送电子邮件。由于无法在 iOS 模拟器上登录邮件账户,因此该模块不能在模拟器上使用。

安装

🌐 Installation

Terminal
- npx expo install expo-mail-composer
- yarn expo install expo-mail-composer
- pnpm expo install expo-mail-composer
- bun expo install expo-mail-composer

If you are installing this in an existing React Native app, make sure to install expo in your project.

应用接口

🌐 API

import * as MailComposer from 'expo-mail-composer';

No API data file found, sorry!