Skip to content
Back to skills

Expo Knowledge Patch

ASecurity

Expo

  • 25 stars
  • 0 votes
  • 0 copies
  • 7 views
  • Added September 5, 2026
developmentjavascripttypescriptgojavaswiftkotlinsqlreactnoderails

Works with

  • cli
  • api
  • mcp

Security analysis

A100/100

Pro scans all 8 files and shows the line behind each finding

Scanned December 1, 2026

npx -y skills add Nevaberry/nevaberry-plugins --skill expo-knowledge-patch --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Expo Knowledge Patch?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Expo Knowledge Patch
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/nevaberry-expo-knowledge-patch/badge)](https://www.skillsdirectory.com/skills/nevaberry-expo-knowledge-patch)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: expo-knowledge-patch
description: Expo
version: "SDK 58"
license: MIT
metadata:
  author: Nevaberry
---


# Expo Knowledge Patch

Load this skill when upgrading an Expo app, migrating changed APIs, configuring
native builds or EAS, or working with Expo Router, Expo UI, and Expo modules.
Use the topic references for complete guidance, examples, and release attribution.

## Reference index

| Reference | Topics |
| --- | --- |
| [Runtime Upgrades and Tooling](references/runtime-upgrades-and-tooling.md) | Runtime requirements, Hermes, precompiled builds, config plugins, Metro, TypeScript, development tools |
| [EAS Updates and Distribution](references/eas-updates-and-distribution.md) | Update environments, bytecode patches, Expo Go, Convex, build diagnostics, MCP authorization and actions |
| [Native Modules and Integration](references/native-modules-and-integration.md) | UIKit scenes, geometry, Swift and Kotlin modules, type generation, scaffolding, brownfield hosts |
| [Router, UI, and Web](references/router-ui-and-web.md) | Navigation migration, tabs, stacks, safe areas, Expo UI, adaptive layouts, rendering, loaders, DOM components |
| [Data, Files, and Networking](references/data-files-and-networking.md) | Object APIs, file operations and transfers, SQLite, fetch, encryption, authentication |
| [Media, Devices, and Platform Services](references/media-devices-and-platform-services.md) | Audio, video, system bars, notifications, sharing, widgets, orientation, hinge state, haptics, assets |

## Breaking changes and deprecations

### Native architecture and build requirements

SDK 55 requires the New Architecture: remove `newArchEnabled` from app config.
For SDK 56, native iOS builds require Xcode 26.4; minimum deployment targets are
iOS and tvOS 16.4 and macOS 13.4. Set `s.platforms = { :ios => '16.4' }` in
custom Expo module podspecs.
See the runtime reference for Node.js ranges and EAS build image defaults.

### iOS scenes and resizing

Expo apps use the UIKit scene life cycle to launch on iOS 27. If you customize
`AppDelegate.swift`, migrate it for the changed delivery of app delegate callbacks.
Replace `UIScreen.main` geometry reads in native modules with the scene-aware
helpers in `expo-modules-core`; use `SceneGeometry.anchorPopover` on regular-width displays.
The iOS 27 SDK makes iPhone apps resizable even with `requireFullScreen` enabled.
iOS 27 may ignore `ScreenOrientation.lockAsync()` while the app is resizable.

### Required EAS Update environment

Pass `--environment` on every `eas update` invocation, including CI:

```sh
eas update --environment production
```

### Router migration

Expo Router ships its own navigation implementation. Migrate direct
`@react-navigation/*` imports in Router apps with the codemod below, replacing
`src` with your source directory. Expo Doctor warns when both routing libraries are installed.

```sh
npx expo-codemod sdk-56-expo-router-react-navigation-replace src
```

Rename headless tabs' `reset` prop to `resetOnFocus`.
Replace removed `ExpoRequest` and `ExpoResponse` exports from `expo-router/server`
with standard `Request` and `Response` types.

### Android edge-to-edge and system bars

Remove `edgeToEdgeEnabled` from app config: edge-to-edge is mandatory when
targeting Android 16 or newer. Move bar configuration to the
`expo-navigation-bar` and `expo-status-bar` config plugins.
Remove calls to deprecated no-op navigation bar background, border, behavior,
position, and button-style APIs and status bar `backgroundColor`, `translucent`,
and `networkActivityIndicatorVisible` APIs.
The bar components merge instances in mount order and expose `setStyle()` and `setHidden()`.

### Notifications, clipboard, and carrier data

Move the removed `notification` app config field to the `expo-notifications`
config plugin to avoid a prebuild error. Android push notification calls throw
in Expo Go and require a development build.
The clipboard change listener's deprecated `content` property is removed;
read text with `getStringAsync()` after a change event.
`expo-cellular` removes deprecated carrier constants; carrier methods on iOS return `null`.

### Audio and video migration

Expo Go drops `expo-av`; migrate playback and recording to `expo-video` and `expo-audio`.
Replace `VideoView`'s `allowsFullscreen` with `fullscreenOptions={{ enable: true }}`.
Move thumbnail generation from `expo-video-thumbnails` to `generateThumbnailsAsync`
in `expo-video`. Use `averageBitrate` and `peakBitrate` instead of deprecated `bitrate`.

### Files, object APIs, and SQLite

`File.copy()`, `File.move()`, `Directory.copy()`, and `Directory.move()` return promises.
Use `await file.move(destination, { overwrite: true })` to replace an existing destination;
use `copySync()` or `moveSync()` when the operation must complete synchronously.
The redesigned object APIs in `expo-calendar`, `expo-contacts`, and
`expo-media-library` are stable; the original APIs are deprecated.
On Android and iOS, use native `ArrayBuffer` instead of `JavaScriptArrayBuffer`
for `expo-sqlite` blob columns, statement bind parameters, and session changesets.

### UI and dependency migrations

The SwiftUI beta replaced `DateTimePicker` with `DatePicker`, `Switch` with `Toggle`,
and `CircularProgress` and `LinearProgress` with `ProgressView`.
For Android blur, wrap background content in `BlurTargetView` and rename
`BlurView`'s `experimentalBlurMethod` prop to `blurMethod`.
The `expo` package dropped its `@expo/vector-icons` dependency. Add it explicitly
to keep using it, or run `npx @react-native-vector-icons/codemod` to migrate to scoped packages.
DOM components use `@expo/dom-webview` by default. Remove `react-native-webview`
if installed only for DOM components, or keep it and opt out of the new default.

## Build and tooling quick reference

### Hermes and precompiled builds

Hermes v1 is on by default in SDK 56; set `useHermesV1: false` in
`expo-build-properties` to opt out. Importing `react-native-reanimated` with Hermes v1
can increase memory use even if the app never calls it; enable worklets bundle mode
to work around that regression. The runtime reference also covers the earlier opt-in.
EAS Update bytecode diffing is enabled by default in SDK 56; set
`expo.updates.enableBsdiffPatchSupport` to `false` to opt out.
Supported Expo modules use prebuilt XCFrameworks by default in local and EAS iOS builds.
Set `EXPO_USE_PRECOMPILED_MODULES=0` in the relevant build environment to build them from source.
Android codegen precompiled headers are experimental; enable them with
`android.usePrecompiledHeaders` in `expo-build-properties`.

### Config, Metro, and TypeScript

`app.config.ts` uses the project's TypeScript installation for transpilation.
Import typed Expo config plugins from `expo-<name>/plugin`; `plugins` accepts local `.ts` paths.
Metro's on-demand filesystem discovery resolves beyond `watchFolders`, including
Bun or pnpm global virtual stores; use `onDemandFilesystem: false` to opt out.
Metro defaults to the Node.js watcher and crawler; use `resolver.useWatchman: true`
for Watchman. `import.meta` support is automatic, and `EXPO_USE_FAST_RESOLVER` is obsolete.
New templates and `npx expo install --fix` select TypeScript 6.0.3. To retain
a different version, add `typescript` to `expo.install.exclude` in `package.json`.

### Native modules and brownfield apps

Inline Swift or Kotlin Expo modules can live alongside app JavaScript or TypeScript;
with inline modules configured, prebuild sets up building and autolinking.
The native integration reference covers the three watchable `expo-type-information`
commands, `addPlatformSupport`, and local module scaffolding with `--barrel`.
`expo-brownfield` packages an Expo app as an Android AAR or iOS XCFramework so
the host team can integrate without a Node.js environment, with bidirectional messaging.
Its experimental `ios.multipleFrameworks: true` option embeds multiple isolated
Expo apps in one iOS host. Pass `turboModuleClasses` to
`ReactNativeHostManager.initialize` to expose host TurboModules to the embedded app.

## Feature quick reference

### Native UI and adaptive layouts

SwiftUI and Jetpack Compose APIs are stable, and Expo UI is included in Expo Go
and the default project template. Universal `Host`, `TextInput`, `Slider`, and
`BottomSheet` components can share layouts across Android, iOS, and web; web support is experimental.
Use `useNativeState` for SwiftUI or Compose state from JavaScript. `TextField`
accepts that state as `value` and a `WorkletCallback` as `onValueChange` for synchronous controlled input.
Check replacement prop compatibility before switching to Expo UI community component imports.
SwiftUI `ArrangementView` arranges primary and secondary views side by side or as
an overlay as fold and device pose change; use window size for custom adaptive layouts.

### Navigation rails and hinge events

iOS can place native bars in a vertical rail on either edge with Router's `Stack`
or `NativeTabs`, or SwiftUI navigation through Expo UI's `Host`.
Run `npx expo install react-native-safe-area-context` and apply horizontal insets
with `SafeAreaView` where content needs them, including inside scroll views.
`expo-hinge` exposes hinge angle and state via `useHinge()`, `getHinge()`, and
`addHingeListener()` on foldables with iOS 27.1 or later or Android 11 or later.
Attach SwiftUI's `onHingeChange` to an individual view; a handler created with
`useWorkletCallback` runs on the UI thread.

### Web rendering and loaders

On web, enabling `unstable_useServerRendering` streams server-rendered output.
Export `generateMetadata` for the initial page load; use `<Head>` for updates after hydration.
`createStaticLoader` passes only route params. `createServerLoader` always supplies
a `request` and throws during static generation. Export `SuspenseFallback` from
a `_layout` route to override its default loading UI; it can receive route parameters.
The Router reference retains the alpha SSR and experimental data-loader guidance.

### Fetch, files, and media

`globalThis.fetch` uses `expo/fetch`; set `EXPO_PUBLIC_USE_RN_FETCH=1` in `.env`
to restore React Native's fetch. Expo fetch supports `AbortSignal.timeout()` and
`AbortSignal.any()`, plus Brotli, gzip, and zstd response decompression on Android.
`File.downloadFileAsync()` accepts an `AbortSignal` and reports progress;
`file.createUploadTask()` supports progress and cancellation, and
`File.createDownloadTask()` supports resumable downloads.
`File.watch()` and `Directory.watch()` provide experimental change notifications.
Use `useAudioStream` in `expo-audio` for real-time microphone buffers.
Stable `expo-widgets` widgets and Live Activities have full environment access
and can render without pre-rendering.

### EAS and Expo MCP

`eas integrations:convex:connect` installs `convex` and provisions or links a
Convex project with a development deployment; the EAS reference details the environment variables.
The EAS Build dashboard shows per-step `xcodebuild` and Gradle timings.
Expo MCP can start production iOS builds, check status, submit the latest iOS build
to TestFlight, run deploy workflows, inspect logs, and read store diagnostics.
Retrieving TestFlight crashes and feedback requires an App Store Connect key associated with the Expo account.
Screenshots, tap automation, React Native DevTools, and the Router sitemap require
a dev server running alongside the simulator. See the EAS reference for connector
setup, organization approval, shared plan limits, and public review-reply previews.

Files in this skill

  • SKILL.md9.1 KB
  • coverage.json514 B
  • references/data-files-and-networking.md2.4 KB
  • references/eas-updates-and-distribution.md1.8 KB
  • references/media-devices-and-platform-services.md2.9 KB
  • references/native-modules-and-integration.md3.5 KB
  • references/router-ui-and-web.md4.4 KB
  • references/runtime-upgrades-and-tooling.md4.6 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in development →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.