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

Expo 短信 iconExpo 短信

一个库,提供对系统 UI/应用的访问以发送 SMS 消息。

Android
iOS
Included in Expo Go
Recommended version:
~58.0.2

expo-sms 提供访问系统界面/应用以发送短信的功能。

安装

🌐 Installation

Terminal
- npx expo install expo-sms
- yarn expo install expo-sms
- pnpm expo install expo-sms
- bun expo install expo-sms

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

应用接口

🌐 API

import * as SMS from 'expo-sms';

No API data file found, sorry!