Skip to content
Back to skills

Expo Knowledge Patch

ASecurity

Expo

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

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-nevaberry-plugins/badge)](https://www.skillsdirectory.com/skills/nevaberry-expo-knowledge-patch-nevaberry-plugins)

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 compatibility guidance

Load this skill when upgrading Expo apps or working on native builds, routing,
Expo UI, EAS, native modules, data, files, media, or platform services.
The references retain release-specific behavior and experimental status.

## Reference index

| Reference | Topics |
| --- | --- |
| [Runtime upgrades and tooling](references/runtime-upgrades-and-tooling.md) | Runtime requirements, Hermes, precompiled builds, config loading, Metro, TypeScript, dependencies, development tools |
| [EAS updates and distribution](references/eas-updates-and-distribution.md) | Update environments, bytecode patches, templates, Expo Go, MCP, diagnostics, remote actions, Convex |
| [Native modules and integration](references/native-modules-and-integration.md) | Module APIs, inline modules, type generation, scaffolding, brownfield, scene life cycle, geometry |
| [Router, UI, and web](references/router-ui-and-web.md) | Navigation migration, tabs, stacks, SSR, loaders, Expo UI, DOM components, adaptive layouts |
| [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, clipboard, cellular, blur, sharing, widgets, orientation, hinge state, assets |

## Runtime and app config migrations

SDK 55 requires the New Architecture: remove `newArchEnabled` from app config.
Its supported Node.js ranges are `^20.19.4`, `^22.13.0`, `^24.3.0`, and `^25.0.0`.
Its iOS builds require Xcode 26 or newer, with 26.2 the EAS default,
and an iOS deployment minimum of 15.1.

SDK 56 uses React Native 0.85 and React 19.2. Native iOS builds require Xcode 26.4,
also the EAS Build and Workflows default when a profile has no `image` specified.
Minimum deployment targets are iOS and tvOS 16.4 and macOS 13.4.
Custom Expo module podspecs need `s.platforms = { :ios => '16.4' }`.

SDK 58 includes React Native 0.88 and is built for iOS 27.
Expo apps use the UIKit scene life cycle to launch on iOS 27.
Migrate customized `AppDelegate.swift` code for changed app delegate callback delivery.

Remove `edgeToEdgeEnabled`: 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.
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.

## Router and dependency migrations

Expo Router ships its own navigation implementation in SDK 56.
Migrate direct `@react-navigation/*` imports in Router apps with:

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

Replace `src` with your source directory. Expo Doctor warns when both routing
libraries are installed.

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

The `expo` package dropped its dependency on `@expo/vector-icons` in SDK 56.
Add that dependency explicitly to keep using it, or run
`npx @react-native-vector-icons/codemod` to migrate to scoped packages such as
`@react-native-vector-icons/material-design-icons`.

DOM components now default to `@expo/dom-webview`.
Remove `react-native-webview` if it was installed only for DOM components,
or keep it and opt out of the new default.

## Media and platform API migrations

| Change | Action |
| --- | --- |
| Expo Go drops `expo-av` | Migrate playback and recording to `expo-video` and `expo-audio`. |
| `VideoView` fullscreen | Replace `allowsFullscreen` with `fullscreenOptions={{ enable: true }}`. |
| Video thumbnails | Migrate `expo-video-thumbnails` to `generateThumbnailsAsync` in `expo-video`. |
| Track bitrate | Replace deprecated `bitrate` with `averageBitrate` and `peakBitrate`. |
| Android blur | Wrap background content in `BlurTargetView`; rename `experimentalBlurMethod` to `blurMethod`. |
| Clipboard changes | The listener payload's deprecated `content` property is removed; read text with `getStringAsync()` after a change event. |
| Carrier data | `expo-cellular` removes deprecated carrier constants; iOS carrier methods return `null`. |

Remove calls to deprecated no-op navigation bar background, border, behavior,
position, and button-style APIs, and status bar `backgroundColor`, `translucent`,
and `networkActivityIndicatorVisible` APIs.

In SDK 56, use the new `NavigationBar` component from `expo-navigation-bar`,
for example `<NavigationBar style="auto" hidden={false} />`.
Both bar components merge instances in mount order and expose `setStyle()` and
`setHidden()`. Both config plugins accept options such as
`{ "style": "light", "hidden": false }`.

## Data and file migrations

In SDK 56, `File` and `Directory` return promises from `copy()` and `move()`.
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 in SDK 56; the original APIs are deprecated.
The earlier query and `SharedObject` editing APIs use `expo-calendar/next`,
`expo-contacts/next`, and `expo-media-library/next` in SDK 55.

For `expo-sqlite` on Android and iOS, use native `ArrayBuffer` in place of
`JavaScriptArrayBuffer` for blob columns, statement bind parameters, and session changesets.

`globalThis.fetch` uses `expo/fetch` in SDK 56.
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.

## Hermes, native builds, and updates

SDK 55's Hermes v1 opt-in requires building React Native from source and pinning
the compiler. See the runtime reference for the exact config and npm/Yarn settings.
Defer that opt-in for Android monorepos until the linked React Native issue is resolved.

Hermes v1 is on by default in SDK 56. Opt out with `useHermesV1: false` in
`expo-build-properties`. 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.

Supported Expo modules use prebuilt XCFrameworks by default in local and EAS iOS
builds in SDK 56. Set `EXPO_USE_PRECOMPILED_MODULES=0` in the relevant build
environment to build them from source.
Experimental Android codegen precompiled headers are enabled with
`android.usePrecompiledHeaders` in `expo-build-properties`.

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

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

SDK 55 can apply bytecode patches to the installed Hermes bundle with
`expo.updates.enableBsdiffPatchSupport` set to `true` in app config.
EAS Update bytecode diffing is enabled by default in SDK 56; set
`expo.updates.enableBsdiffPatchSupport` to `false` to opt out.
The EAS Update Details page shows patch availability for each platform in a published update group.

## Config, Metro, and development tools

`app.config.ts` uses the project's TypeScript installation for transpilation.
Dynamic config follows Node.js module loading and experimentally accepts
`.mjs`, `.cjs`, `.cts`, and `.mts`.
Typed package config plugins can be imported from `expo-<name>/plugin` in `app.config.ts`.
The `plugins` list accepts local `.ts` paths, and Expo can load `.mjs` and `.cjs` plugins.

`expo.experiments.autolinkingModuleResolution` defaults to `true` in monorepos.
`EXPO_USE_FAST_RESOLVER` is obsolete because Metro has a single resolver implementation.
SDK 56 enables on-demand filesystem discovery, including resolution beyond
`watchFolders`; opt out with `onDemandFilesystem: false`.
Metro defaults to the Node.js watcher and crawler; use `resolver.useWatchman: true`
to select Watchman. `import.meta` support is automatic.

New templates and `npx expo install --fix` select TypeScript 6.0.3 in SDK 56.
To retain a different version, add `typescript` to `expo.install.exclude` in `package.json`.
For experimental native Log Box, set `EXPO_UNSTABLE_LOG_BOX=1` and rebuild the
native development app. Web enables the new UI by default.

## Expo UI and Router features

SwiftUI and Jetpack Compose APIs are stable in SDK 56; universal Expo UI web
support is experimental. Expo UI is included in Expo Go and the default template.
Check replacement prop compatibility before changing imports to community replacements.
The router/UI reference retains the SwiftUI component renames and Compose modifiers API.

Use `useNativeState` for SwiftUI or Compose state from JavaScript.
Both platforms' `TextField` can take that state as `value` and a `WorkletCallback`
as `onValueChange` for synchronous controlled input.

On web, enabling `unstable_useServerRendering` streams server-rendered output in SDK 56.
Export `generateMetadata` for the initial page load; use `<Head>` after hydration.
`createStaticLoader` passes only route params. `createServerLoader` always supplies
a `request` and throws if used during static generation.
Export `SuspenseFallback` from a `_layout` route to override loading UI;
the fallback can receive route parameters.

## iOS scenes and adaptive layouts

The iOS 27 SDK makes iPhone apps resizable even with `requireFullScreen` enabled.
iOS 27 may ignore `ScreenOrientation.lockAsync()` while the app is resizable.
Replace native module reads of `UIScreen.main` geometry with scene-aware helpers
in `expo-modules-core`; use `SceneGeometry.anchorPopover` for regular-width popovers.

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 needed, including inside scroll views.
Use window size for custom layouts adapting to folding and split view.

`expo-hinge` exposes hinge angle and closed, partially open, or fully open state
on foldables running iOS 27.1 or later or Android 11 or later.
SwiftUI's `onHingeChange` modifier handles changes on an individual view;
a handler created with `useWorkletCallback` runs on the UI thread.

## EAS and connector workflows

The EAS reference covers connector authorization, Team admin enablement, and
the shared MCP allowance per billing account: Free includes usage; paid plans have higher limits.
Remote actions include production iOS builds, TestFlight submission, deploy workflows,
App Store reviews, Google Play ANRs, and previewing an App Store review reply before public posting.

With an Expo project open in a coding agent, the connector can search Expo docs
and install version-compatible packages.
Screenshots, tap automation, React Native DevTools, and the Expo Router sitemap
require a dev server running alongside the simulator.
Expo MCP can retrieve TestFlight crashes and feedback when an App Store Connect
key is associated with the Expo account.
EAS Build diagnostics include per-step `xcodebuild` and Gradle timings.

Files in this skill

  • SKILL.md9.2 KB
  • coverage.json513 B
  • references/data-files-and-networking.md2.5 KB
  • references/eas-updates-and-distribution.md2.2 KB
  • references/media-devices-and-platform-services.md3.3 KB
  • references/native-modules-and-integration.md3.8 KB
  • references/router-ui-and-web.md5 KB
  • references/runtime-upgrades-and-tooling.md4 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.