This documentation is available as Markdown for AI agents and LLMs. See the full Markdown index or append .md to any documentation URL.
Expo IntentLauncher
提供 API 来启动 Android 意图的库。
Android
Included in Expo Go
Recommended version:
~58.0.3
expo-intent-launcher 提供了一种启动 Android 意图的方法。例如,你可以使用此 API 打开特定的设置界面。
安装
🌐 Installation
Terminal
If you are installing this in an existing React Native app, make sure to install expo in your project.
用法
🌐 Usage
import { startActivityAsync, ActivityAction } from 'expo-intent-launcher'; // Open location settings startActivityAsync(ActivityAction.LOCATION_SOURCE_SETTINGS);
应用接口
🌐 API
import * as IntentLauncher from 'expo-intent-launcher';
No API data file found, sorry!