### Installation and Usage Source: https://docs.expo.dev/versions/latest/sdk/ui/jetpack-compose/column Instructions on how to install the Expo UI package and a basic example of using the Column component. ```APIDOC ## Installation ### Terminal ```bash npx expo install @expo/ui ``` If you are installing this in an existing React Native app, make sure to install `expo` in your project. ## Usage Example ### `ColumnExample.tsx` ```typescript import { Host, Column, Text } from '@expo/ui/jetpack-compose'; import { fillMaxWidth, paddingAll } from '@expo/ui/jetpack-compose/modifiers'; export default function ColumnExample() { return ( First Second Third ); } ``` ### Description The `Column` component places children vertically. Use `verticalArrangement` and `horizontalAlignment` to control spacing and alignment. This example demonstrates a basic usage with spaced items and centered alignment. ``` -------------------------------- ### Install expo-store-review Source: https://docs.expo.dev/versions/latest/sdk/storereview Installs the expo-store-review library using the Expo CLI. Ensure you have Expo installed in your project. ```bash npx expo install expo-store-review ``` -------------------------------- ### Install expo-file-system Source: https://docs.expo.dev/versions/latest/sdk/filesystem Installs the expo-file-system library using the Expo CLI. Ensure you have Expo installed in your project. ```bash npx expo install expo-file-system ``` -------------------------------- ### Getting App Installation Time Source: https://docs.expo.dev/versions/latest/sdk/application Returns a promise that resolves to a Date object representing when the application was installed on the device. ```javascript await Application.getInstallationTimeAsync(); ``` -------------------------------- ### Installation Source: https://docs.expo.dev/versions/latest/sdk/screen-capture Install the expo-screen-capture library using the Expo CLI. ```APIDOC ## Installation Terminal ``` npx expo install expo-screen-capture ``` If you are installing this in an existing React Native app, make sure to install `expo` in your project. ``` -------------------------------- ### Installation Source: https://docs.expo.dev/versions/latest/sdk/sharing Install the expo-sharing library using the Expo CLI. ```APIDOC ## Installation Terminal ```bash npx expo install expo-sharing ``` If you are installing this in an existing React Native app, make sure to install `expo` in your project. ``` -------------------------------- ### Install react-native-webview Source: https://docs.expo.dev/versions/latest/sdk/webview Installs the react-native-webview library using the Expo CLI. Ensure Expo is installed in your project before proceeding. ```bash npx expo install react-native-webview ``` -------------------------------- ### Installation Source: https://docs.expo.dev/versions/latest/sdk/media-library Install the expo-media-library package using the Expo CLI. ```APIDOC ## Installation ### Terminal ```bash npx expo install expo-media-library ``` If you are installing this in an existing React Native app, make sure to install `expo` in your project. ``` -------------------------------- ### Installation Source: https://docs.expo.dev/versions/latest/sdk/blob Install the expo-blob library using the Expo CLI. ```APIDOC ## Installation Terminal ``` npx expo install expo-blob ``` If you are installing this in an existing React Native app, make sure to install `expo` in your project. ``` -------------------------------- ### Install expo-document-picker Source: https://docs.expo.dev/versions/latest/sdk/document-picker Command to install the expo-document-picker library. Ensure 'expo' is installed if integrating into an existing React Native project. ```bash npx expo install expo-document-picker ``` -------------------------------- ### Starting a Live Activity Source: https://docs.expo.dev/versions/latest/sdk/widgets Initiates a Live Activity instance with initial content. The `start` method returns an instance that can be used for subsequent updates or ending the activity. ```APIDOC ## POST /api/live-activities/{activityId}/start ### Description Starts a Live Activity instance with the provided initial content and an optional deep link URL. ### Method POST ### Endpoint /api/live-activities/{activityId}/start ### Parameters #### Path Parameters - **activityId** (string) - Required - The unique identifier for the Live Activity. #### Request Body - **initialContent** (object) - Required - The initial state of the Live Activity. - **deepLinkUrl** (string) - Optional - A URL to navigate to when the activity is tapped. ### Request Example ```json { "initialContent": { "etaMinutes": 15, "status": "Your delivery is on the way" }, "deepLinkUrl": "myapp://deliveries/12345" } ``` ### Response #### Success Response (200) - **instanceId** (string) - The ID of the started Live Activity instance. #### Response Example ```json { "instanceId": "activity-instance-123" } ``` ``` -------------------------------- ### Installation Source: https://docs.expo.dev/versions/latest/sdk/build-properties Install the expo-build-properties plugin using the Expo CLI. ```APIDOC ## Installation Terminal ```bash npx expo install expo-build-properties ``` If you are installing this in an existing React Native app, make sure to install `expo` in your project. ``` -------------------------------- ### Button Usage Examples Source: https://docs.expo.dev/versions/latest/sdk/ui/swift-ui/button Examples demonstrating various ways to use the Button component. ```APIDOC ### Basic Button Example ```swift import { Button } from '@expo/ui/swift-ui'; ); } ``` ``` -------------------------------- ### Installation Source: https://docs.expo.dev/versions/latest/sdk/calendar Install the expo-calendar library using the Expo CLI. ```APIDOC ## Installation Terminal ``` npx expo install expo-calendar ``` If you are installing this in an existing React Native app, make sure to install `expo` in your project. ``` -------------------------------- ### Installation Source: https://docs.expo.dev/versions/latest/sdk/sqlite Install the expo-sqlite library using the Expo CLI. ```APIDOC ## Installation Terminal ``` npx expo install expo-sqlite ``` If you are installing this in an existing React Native app, make sure to install `expo` in your project. ``` -------------------------------- ### Get Document Async Example Source: https://docs.expo.dev/versions/latest/sdk/document-picker Example of using the getDocumentAsync method to display the system UI for choosing a document. The chosen file is copied to the app's cache directory by default. Note web limitations regarding user activation. ```javascript const result = await DocumentPicker.getDocumentAsync(); if (result.type === 'success') { console.log(result.uri); } else { // User cancelled the picker } ``` -------------------------------- ### Installation Source: https://docs.expo.dev/versions/latest/sdk/symbols Instructions on how to install the expo-symbols library using npm or yarn. ```APIDOC ## Installation ```bash npx expo install expo-symbols ``` If you are installing this in an existing React Native app, make sure to install `expo` in your project. ``` -------------------------------- ### Basic Calendar Usage Example Source: https://docs.expo.dev/versions/latest/sdk/calendar Example demonstrating how to request calendar permissions and fetch calendars. ```APIDOC ## Usage Basic Calendar usage Open in Snack ```javascript import { useEffect } from 'react'; import { StyleSheet, View, Text, Button, Platform } from 'react-native'; import * as Calendar from 'expo-calendar'; export default function App() { useEffect(() => { (async () => { const { status } = await Calendar.requestCalendarPermissionsAsync(); if (status === 'granted') { const calendars = await Calendar.getCalendarsAsync(Calendar.EntityTypes.EVENT); console.log('Here are all your calendars:'); console.log({ calendars }); } })(); }, []); return ( Calendar Module Example