Skip to content

[metro-file-map] Don't miss changes made while the file map starts (watch before crawl) - #54143

Merged
robhogan merged 2 commits into
mainfrom
@robhogan/metro-file-map-watcher-startup
Nov 25, 2026
Merged

robhogan merged 2 commits into
mainfrom
@robhogan/metro-file-map-watcher-startup

Conversation

@robhogan

@robhogan robhogan commented Nov 24, 2026 •

Copy link
Copy Markdown
Contributor

Why

Currently, a file change made while the project is being crawled may be missed permanently, because watching only starts after crawling has finished and cache has been written.

On macOS there's a second, smaller window: fs.watch returns before its FSEvents stream is live, so a change made just after startup can be missed too.

This new structure also the base for porting addRoot cleanly, which Metro 0.88 needs.

Upstream What Expo
react/metro#2054 Do not miss files changed while the file map builds -
react/metro#2003 Fix NativeWatcher missing changes made straight after startup -
react/metro#2294 (open) Use the default health check prefix in place of an empty one -

How

This ports both. With the node crawler, which is Expo's default, the watcher backends (NativeWatcher on macOS, FallbackWatcher elsewhere) now start before the crawl, and their events are buffered and replayed once the file map starts watching.

With Watchman, the subscription is made since the crawl's clock, which covers the same window, and a failed Watchman crawl starts the node backends before falling back.

A backend that isn't live on start (isLiveOnStart(), false only for NativeWatcher) has each root's watch confirmed with a health check file before it's relied on, warning if it can't be. This uses the configured health check prefix even when periodic health checks are off, which they are by default, so the crawl now always ignores files with that prefix, as upstream does.

Test Plan

  • Unit tests (791 passed, 1 skipped).
  • Upstream's Watcher tests are ported, and its WatchmanWatcher tests for subscribing since a crawl clock. Upstream's index-test cases aren't, as the fork has no FileMap unit test, so passing the crawl's clocks from FileMap to the watcher is covered only by reading.
  • Upstream's watch-integration-test.js (from metro-file-map: Track only directories and symlinks in FallbackWatcher react/metro#2107) is ported as the fork's first end-to-end watch test. It drives FileMap in watch mode over a real directory, with a new case that adds a file while the cache is written. That case fails without this change on macOS and passes with it.
  • On macOS, FileMap over real directories: changes made while the cache is written (a file deleted, modified, created, created and deleted, and a directory renamed) all converge, with the node crawler and with Watchman, including two roots under one Watchman watch root and a failed Watchman crawl falling back. end() at any point during startup leaves no watch handles or health check files behind.

Benchmark (AI-driven), against #54047, with the same app, harness and machines as #54047's: Metro's DependencyGraph with @expo/metro-file-map swapped in as Expo CLI does (on-demand filesystem off, no Watchman), 34,488 files, interleaved rounds, Node 24.21.0. 8 rounds on Linux and Windows. The macOS figures are 15 rounds with upstream's path.basename check, as a rerun with this one was too noisy to use.

Platform Metric #54047 This PR [95% CI]
macOS Cold start 83ms -4.5% [-8.4, -1.0]
macOS Warm start 97ms -7.3% [-9.0, -5.8]
macOS Watch-mode start, warm cache 98ms +6.4% [+3.8, +8.8]
macOS Watch-mode start, cold cache 83ms +12.5% [+6.7, +17.3]
Linux Cold start 301ms +3.1% [+0.5, +5.0]
Linux Warm start 343ms +2.7% [+2.2, +3.7]
Linux Watch-mode start, warm cache 678ms +1.6% [-1.0, +1.7]
Linux Watch-mode start, cold cache 636ms -1.3% [-3.0, +0.4]
Windows Cold start 169ms +2.7% [+1.5, +3.8]
Windows Warm start 198ms +2.9% [+1.5, +4.4]
Windows Watch-mode start, warm cache 731ms -0.2% [-2.1, +0.4]
Windows Watch-mode start, cold cache 694ms +0.1% [-1.8, +0.8]

On macOS, watch-mode starts pay for confirming the NativeWatcher watch (6-10ms, in line with upstream's measurement) - note that's a flat cost, not a function of project size. On Linux and Windows, starts without watching pay for the health check ignore in the crawl (5-9ms).

@expo-bot

Copy link
Copy Markdown
Collaborator

Bug fix · 85% confidence

Preliminary assessment based on the supplied report; claims have not been verified.

  • Impact: Per the author, changes made while the file map builds (and on macOS, just after startup) are no longer missed until Metro restarts.
  • Scope: Metro file map in watch mode on dev hosts. The author ran real-directory checks on macOS only, with node crawler and Watchman; Linux/Windows figures are startup benchmarks.
  • Platforms: Unknown
  • Labels: None added

@robhogan
robhogan added this pull request to stack #54144 November 24, 2026 14:41
@robhogan robhogan changed the title [metro-file-map] Don't miss changes made while the file map starts [metro-file-map] Don't miss changes made while the file map starts (watch before crawl) Nov 24, 2026
@robhogan
robhogan requested a review from kitten November 24, 2026 14:54
@robhogan
robhogan marked this pull request as ready for review November 24, 2026 14:54
robhogan added a commit that referenced this pull request Nov 24, 2026
# Why

Metro 0.88 calls two `FileMap` methods the fork doesn't have. `addRoot(dir)` adds `metro-runtime` and its `@babel/runtime` as roots once the file map is built, so that `emptyModulePath`'s new default, `metro:runtime/modules/empty-module`, is in the file map wherever `metro-runtime` is installed. `getRoots()` is called for every asset transform and URL it maps. Without them, `ready()` fails on the first, and the first asset throws on the second. Nothing else in the file map contract changed in 0.88.

| Upstream | What | Expo |
|---|---|---|
| react/metro#2064 | Add `FileMap.addRoot` | - |
| react/metro#2020 | Add `FileMap.getRoots` | - |
| react/metro#2093 | Fix root normalization and symlinked roots in `addRoot` | - |

# How

This ports them method by method from Metro 0.88.0, which upstream `main` hasn't changed since. `addRoot` resolves symlinks in the given path, does nothing for a root that is already a root or within one, and otherwise watches the root, then crawls it with the node crawler (`subpath` set), applies the result as a startup crawl does, and emits one `'change'` for its files. `Watcher.watchRoot` starts a backend for the root, confirming its watch as #54143 does for the initial roots. Added roots aren't persisted, so a later start drops their files from the cache, plugins included. `#changeQueue` becomes a field, as upstream, so that an added root's crawl is serialized with watcher events.

The on-demand filesystem needs one fork-only change. Resolving the new root's symlinks is a lookup, which fills the root's top level on demand before it's crawled. Those files then compare as unchanged in the crawl, so plugins and the `'change'` event never see them, and later misses under the root still read the disk. `TreeFS.setRoots` (upstream's name on robhogan/is-mapped) is called whenever the roots change. It stops the on-demand filesystem filling under a new root and drops what it filled there, without notifying listeners, which were never told of those files, so the crawl reports them.

# Test Plan

- Unit tests (810 passed, 2 skipped).
- Upstream's `addRoot-test` is ported, with fork-only cases for the on-demand filesystem: files it filled under a new root are reported as added, it doesn't fill paths under an added root, and it still fills paths outside every root. The first two fail without `setRoots`.
- One ported case is skipped: a configured root given through a symlink keeps its files in a start from the cache. The fork saves only files under the roots as given, so Watchman's listing of such a root under its real path isn't saved. This predates this change, and fixing it changes what the on-demand filesystem fills, so it's left for a follow-up.
Base automatically changed from @robhogan/metro-file-map-lazy-stat-port to main November 25, 2026 16:41
# Why

A file changed while `expo start` builds its file map is missed until Metro restarts. The watcher only starts after the crawl, the cache write and plugin setup, so anything changed in that window never reaches the file map. On macOS there's a second, smaller window: `fs.watch` returns before its FSEvents stream is live, so a change made just after startup can be missed too.

It's also the base for porting `addRoot`, which Metro 0.88 needs, since upstream's `addRoot` builds on the watcher structure introduced here.

| Upstream | What | Expo |
|---|---|---|
| react/metro#2054 | Do not miss files changed while the file map builds | - |
| react/metro#2003 | Fix `NativeWatcher` missing changes made straight after startup | - |

# How

This ports both. With the node crawler, which is Expo's default, the watcher backends (`NativeWatcher` on macOS, `FallbackWatcher` elsewhere) now start before the crawl, and their events are buffered and replayed once the file map starts watching. With Watchman, the subscription is made `since` the crawl's clock, which covers the same window, and a failed Watchman crawl starts the node backends before falling back.

A backend that isn't live on start (`isLiveOnStart()`, false for `NativeWatcher`) has each root's watch confirmed with a health check file before it's relied on, warning if it can't be. This uses the configured health check prefix even when periodic health checks are off, which they are by default, so the crawl now always ignores files with that prefix, as upstream does. It matches the prefix from the last separator instead of calling `path.basename`, which halves the check's cost on Linux and Windows. Upstream measured the confirmation at about 10ms on a warm watch-mode start on macOS.

The upstream hunks for `addRoot` and the replaceable crawler drop out, as the fork has neither.

# Test Plan

- Unit tests (791 passed, 1 skipped).
- Upstream's `Watcher` tests are ported, and its `WatchmanWatcher` tests for subscribing `since` a crawl clock. Upstream's `index-test` cases aren't, as the fork has no `FileMap` unit test, so passing the crawl's clocks from `FileMap` to the watcher is covered only by reading.
- Upstream's `watch-integration-test.js` (from react/metro#2107) is ported as the fork's first end-to-end watch test. It drives `FileMap` in watch mode over a real directory, with a new case that adds a file while the cache is written. That case fails without this change on macOS and passes with it.
- On macOS, `FileMap` over real directories: changes made while the cache is written (a file deleted, modified, created, created and deleted, and a directory renamed) all converge, with the node crawler and with Watchman, including two roots under one Watchman watch root and a failed Watchman crawl falling back. `end()` at any point during startup leaves no watch handles or health check files behind.

Benchmark (AI-driven), against #54047, with the same app, harness and machines as #54047's: Metro's `DependencyGraph` with `@expo/metro-file-map` swapped in as Expo CLI does (on-demand filesystem off, no Watchman), 34,488 files, interleaved rounds, Node 24.21.0. 8 rounds on Linux and Windows. The macOS figures are 15 rounds with upstream's `path.basename` check, as a rerun with this one was too noisy to use.

| Platform | Metric | #54047 | This PR [95% CI] |
|---|---|---|---|
| macOS | Cold start | 83ms | -4.5% [-8.4, -1.0] |
| macOS | Warm start | 97ms | -7.3% [-9.0, -5.8] |
| macOS | Watch-mode start, warm cache | 98ms | +6.4% [+3.8, +8.8] |
| macOS | Watch-mode start, cold cache | 83ms | +12.5% [+6.7, +17.3] |
| Linux | Cold start | 301ms | +3.1% [+0.5, +5.0] |
| Linux | Warm start | 343ms | +2.7% [+2.2, +3.7] |
| Linux | Watch-mode start, warm cache | 678ms | +1.6% [-1.0, +1.7] |
| Linux | Watch-mode start, cold cache | 636ms | -1.3% [-3.0, +0.4] |
| Windows | Cold start | 169ms | +2.7% [+1.5, +3.8] |
| Windows | Warm start | 198ms | +2.9% [+1.5, +4.4] |
| Windows | Watch-mode start, warm cache | 731ms | -0.2% [-2.1, +0.4] |
| Windows | Watch-mode start, cold cache | 694ms | +0.1% [-1.8, +0.8] |

On macOS, watch-mode starts pay for confirming the `NativeWatcher` watch (6-10ms, in line with upstream's measurement). On Linux and Windows, starts without watching pay for the health check ignore in the crawl (5-9ms). With `path.basename` it was +4-6%. The faster macOS starts without watching are not explained by this change.
@robhogan
robhogan force-pushed the @robhogan/metro-file-map-watcher-startup branch from 4489903 to 1b457ab Compare November 25, 2026 16:41
@expo-bot

Copy link
Copy Markdown
Collaborator

The Pull Request introduced fingerprint changes against the base commit: ebb0f7f

Fingerprint diff
[
  {
    "op": "changed",
    "beforeSource": {
      "type": "dir",
      "filePath": "../../packages/expo",
      "reasons": [
        "expoAutolinkingIos",
        "expoAutolinkingAndroid",
        "expoConfigPlugins",
        "expoConfigPlugins",
        "rncoreAutolinkingAndroid",
        "rncoreAutolinkingIos"
      ],
      "hash": "e20d7d978b97e87ea38e324219241662e8065824"
    },
    "afterSource": {
      "type": "dir",
      "filePath": "../../packages/expo",
      "reasons": [
        "expoAutolinkingIos",
        "expoAutolinkingAndroid",
        "expoConfigPlugins",
        "expoConfigPlugins",
        "rncoreAutolinkingAndroid",
        "rncoreAutolinkingIos"
      ],
      "hash": "533f5a3322b9b7b1eae8fdd3efab755cea814942"
    }
  },
  {
    "op": "changed",
    "beforeSource": {
      "type": "dir",
      "filePath": "../../packages/expo-gl",
      "reasons": [
        "expoAutolinkingIos",
        "expoAutolinkingAndroid"
      ],
      "hash": "5c20069ad1a40ac305d2d5afaf19f7741e27e023"
    },
    "afterSource": {
      "type": "dir",
      "filePath": "../../packages/expo-gl",
      "reasons": [
        "expoAutolinkingIos",
        "expoAutolinkingAndroid"
      ],
      "hash": "6319f96340a15713d8709ab74bebed97b9143d4d"
    }
  }
]

Generated by PR labeler 🤖

@robhogan
robhogan merged commit 5054f20 into main Nov 25, 2026
32 checks passed
@robhogan
robhogan deleted the @robhogan/metro-file-map-watcher-startup branch November 25, 2026 16:55
robhogan added a commit that referenced this pull request Nov 25, 2026
…atch before crawl) (#54143)

# Why

Currently, a file change made while the project is being crawled may be
missed permanently, because watching only starts after crawling has
finished and cache has been written.

On macOS there's a second, smaller window: `fs.watch` returns before its
FSEvents stream is live, so a change made just after startup can be
missed too.

This new structure also the base for porting `addRoot` cleanly, which
Metro 0.88 needs.

| Upstream | What | Expo |
|---|---|---|
| react/metro#2054 | Do not miss files changed
while the file map builds | - |
| react/metro#2003 | Fix `NativeWatcher` missing
changes made straight after startup | - |
| react/metro#2294 (open) | Use the default
health check prefix in place of an empty one | - |

# How

This ports both. With the node crawler, which is Expo's default, the
watcher backends (`NativeWatcher` on macOS, `FallbackWatcher` elsewhere)
now start before the crawl, and their events are buffered and replayed
once the file map starts watching.

With Watchman, the subscription is made `since` the crawl's clock, which
covers the same window, and a failed Watchman crawl starts the node
backends before falling back.

A backend that isn't live on start (`isLiveOnStart()`, false only for
`NativeWatcher`) has **each root's watch confirmed with a health check
file before it's relied on**, warning if it can't be. This uses the
configured health check prefix even when periodic health checks are off,
which they are by default, so the crawl now always ignores files with
that prefix, as upstream does.

# Test Plan

- Unit tests (791 passed, 1 skipped).
- Upstream's `Watcher` tests are ported, and its `WatchmanWatcher` tests
for subscribing `since` a crawl clock. Upstream's `index-test` cases
aren't, as the fork has no `FileMap` unit test, so passing the crawl's
clocks from `FileMap` to the watcher is covered only by reading.
- Upstream's `watch-integration-test.js` (from
react/metro#2107) is ported as the fork's first
end-to-end watch test. It drives `FileMap` in watch mode over a real
directory, with a new case that adds a file while the cache is written.
That case fails without this change on macOS and passes with it.
- On macOS, `FileMap` over real directories: changes made while the
cache is written (a file deleted, modified, created, created and
deleted, and a directory renamed) all converge, with the node crawler
and with Watchman, including two roots under one Watchman watch root and
a failed Watchman crawl falling back. `end()` at any point during
startup leaves no watch handles or health check files behind.

Benchmark (AI-driven), against #54047, with the same app, harness and
machines as #54047's: Metro's `DependencyGraph` with
`@expo/metro-file-map` swapped in as Expo CLI does (on-demand filesystem
off, no Watchman), 34,488 files, interleaved rounds, Node 24.21.0. 8
rounds on Linux and Windows. The macOS figures are 15 rounds with
upstream's `path.basename` check, as a rerun with this one was too noisy
to use.

| Platform | Metric | #54047 | This PR [95% CI] |
|---|---|---|---|
| macOS | Cold start | 83ms | -4.5% [-8.4, -1.0] |
| macOS | Warm start | 97ms | -7.3% [-9.0, -5.8] |
| macOS | Watch-mode start, warm cache | 98ms | +6.4% [+3.8, +8.8] |
| macOS | Watch-mode start, cold cache | 83ms | +12.5% [+6.7, +17.3] |
| Linux | Cold start | 301ms | +3.1% [+0.5, +5.0] |
| Linux | Warm start | 343ms | +2.7% [+2.2, +3.7] |
| Linux | Watch-mode start, warm cache | 678ms | +1.6% [-1.0, +1.7] |
| Linux | Watch-mode start, cold cache | 636ms | -1.3% [-3.0, +0.4] |
| Windows | Cold start | 169ms | +2.7% [+1.5, +3.8] |
| Windows | Warm start | 198ms | +2.9% [+1.5, +4.4] |
| Windows | Watch-mode start, warm cache | 731ms | -0.2% [-2.1, +0.4] |
| Windows | Watch-mode start, cold cache | 694ms | +0.1% [-1.8, +0.8] |

On macOS, watch-mode starts pay for confirming the `NativeWatcher` watch
(6-10ms, in line with upstream's measurement) - note that's a flat cost,
not a function of project size. On Linux and Windows, starts without
watching pay for the health check ignore in the crawl (5-9ms).

(cherry picked from commit 5054f20)
robhogan added a commit to react/metro that referenced this pull request Nov 26, 2026
…ty one (#2294)

`FileMap` treats every file whose name starts with `watcher.healthCheck.filePrefix` as a health check file. It's left out of the crawl, and a watcher event for one is taken as a health check rather than a change:

https://github.com/react/metro/blob/e4b598a0103cb8a9600d7a0008db451d4b673338/packages/metro-file-map/src/Watcher.js#L217-L219

Every name starts with `''`, so `filePrefix: ''` drops every file from the crawl and every change in watch mode, and Metro can't resolve anything. That's been the case since at least 0.80, whether or not health checks are enabled.

An empty prefix can't work as a prefix, and `FileMap` needs one anyway, because it writes health check files at startup to confirm that a watcher backend such as `NativeWatcher` is live, even with health checks disabled. This uses the default, `.metro-health-check`, in its place. Rejecting `''` would also be safe, since no working config can use it, but I think a config that sets it to "turn off" health checks should just work.

Expo's fork of `metro-file-map` takes the same fix in expo/expo#54143.

Changelog:
```
 - **[Fix]**: Treat an empty `watcher.healthCheck.filePrefix` as the default, instead of ignoring every file
```

Test plan:
New unit test, failing without this change (the crawl finds no files).
kitten pushed a commit that referenced this pull request Nov 26, 2026
This PR was opened by the [Changesets
release](https://github.com/changesets/action) GitHub action. When
you're ready to do a release, you can merge this and publish to npm
yourself or [setup this action to publish
automatically](https://github.com/changesets/action#with-publishing). If
you're not ready to do a release yet, that's fine, whenever you add more
changesets to sdk-58, this PR will be updated.


# Releases
## @expo/fingerprint@0.22.0

### Minor Changes

- Sort sources, directory entries, and autolinking arrays by code point
instead of the system locale, so the fingerprint is the same on every
machine. Fingerprints change once on upgrade for most projects.
([#53968](#53968) by
[@expo-tuft](https://github.com/apps/expo-tuft))
## expo@58.1.0

### Minor Changes

- [iOS] A module built from its checked-in Package.swift can depend on
the `ExpoModulesWorkletsHeaders` package at
`../ExpoModulesWorkletsHeaders`. The SwiftPM plugin emits that package
over the `ExpoModulesWorkletsHeaders.xcframework` from
`expo-modules-core`, together with the `ExpoModulesCoreHeaders` package
it depends on. ([#53323](#53323) by
[@chrfalch](https://github.com/chrfalch))

### Patch Changes

- Prevent false fatal errors when loading split chunks that have not
been preloaded. ([#54284](#54284) by
[@kitten](https://github.com/kitten))
- Fix `expo/fetch` handling of failures after response headers arrive.
On iOS, `Response.body` reports failures that occur before the first
read. On Android, `Response.body`, `text()`, and `arrayBuffer()` reject
when the connection fails partway through the body.
([#49324](#49324) by
[@garfieldnate](https://github.com/garfieldnate))
- Fix `expo/fetch` returning an empty or partial body from `text()` or
`arrayBuffer()` when `response.body` is read while that call waits.
`response.body` is now locked during the read, as the Fetch spec
requires. ([#53320](#53320) by
[@vonovak](https://github.com/vonovak))
- Accept patch releases of `@shopify/flash-list` (`~2.3.2` instead of
`2.3.2`), so `npx expo install --fix` no longer downgrades projects that
use `2.3.3`. ([#52961](#52961) by
[@saviocmc](https://github.com/saviocmc))
- Updated dependencies.
([#50939](#50939),
[#54140](#54140),
[#54284](#54284),
[#53831](#53831),
[#54163](#54163),
[#53887](#53887),
[#53019](#53019),
[#53393](#53393),
[#54051](#54051),
[#47993](#47993),
[#48232](#48232),
[#54321](#54321),
[#53322](#53322),
[#53454](#53454),
[#50106](#50106),
[#53675](#53675),
[#53665](#53665),
[#53968](#53968),
[#52948](#52948),
[#53917](#53917),
[#53392](#53392),
[#53731](#53731),
[#53860](#53860),
[#54179](#54179),
[#52851](#52851),
[#50966](#50966),
[#52592](#52592))
  - expo-modules-core@58.2.0
  - @expo/config-plugins@58.0.14
  - @expo/cli@58.1.22
  - expo-file-system@58.0.15
  - @expo/fingerprint@0.22.0
  - @expo/metro-config@58.0.24
  - @expo/config@58.0.13
  - babel-preset-expo@58.0.27
  - @expo/local-build-cache-provider@58.0.13
## expo-app-metrics@58.1.0

### Minor Changes

- Store no data when the `expo-observe` config plugin sets the `consent`
option to `'not-granted'`.
([#53709](#53709) by
[@Ubax](https://github.com/Ubax))
- Apply the consent value from `Observe.setConsent`. A saved value
overrides the `consent` option of the `expo-observe` config plugin on
later launches. Without consent, startup metrics stay in memory until a
grant saves them. ([#53710](#53710) by
[@Ubax](https://github.com/Ubax))
- [Internal] Add `reportFeedback` to record user feedback as an
`expo.feedback` log event.
([#53261](#53261) by
[@Ubax](https://github.com/Ubax))

### Patch Changes

- [iOS] Fixed `clearStoredEntries` doing nothing. It now deletes the
stored metrics, logs, spans, crash reports, and pending fatal errors,
while sessions that are still running keep recording.
([#51003](#51003) by
[@jiunshinn](https://github.com/jiunshinn))
- [iOS] Attribute native crash reports to the session of the crashed
process on iOS 17 and later. Before, all crashes in one MetricKit
payload went to the same session, and only the first crash was kept. A
crash of a launch that never stored a session, for example a launch that
failed before the app's code ran, now gets a new session with the app
version, build number and OS version of that launch. The metrics
database is recreated once after the update, so data that was not yet
sent is lost. ([#53973](#53973) by
[@tsapeta](https://github.com/tsapeta))
- [iOS] Fix the main session being marked inactive when the metrics
database opened in a later second than the session started.
([#54066](#54066) by
[@Ubax](https://github.com/Ubax))
- Redact credentials and signed query parameters in the redirect URLs of
network trace spans, the same as in `url.full`.
([#53688](#53688) by
[@tsapeta](https://github.com/tsapeta))
## expo-dev-launcher@58.1.0

### Minor Changes

- Sign in to the launcher on a simulator or an emulator from the
`__expo_device_code`, `__expo_device_match`, and `__expo_device_client`
launch URL params. ([#53977](#53977) by
[@gabrieldonadel](https://github.com/gabrieldonadel))
## expo-modules-core@58.2.0

### Minor Changes

- [iOS] Ship an `ExpoModulesWorkletsHeaders.xcframework` with the iOS
prebuilds. A module built from its checked-in Package.swift can depend
on the `ExpoModulesWorkletsHeaders` product to compile against
`ExpoModulesWorklets`.
([#53322](#53322) by
[@chrfalch](https://github.com/chrfalch))
- [Android] Add the `legacyAppContext` and `legacyAppContextOrNull`
extensions, which give an Expo Modules API 2.0 module or shared object
the `AppContext` of the app.
([#53860](#53860) by
[@lukmccall](https://github.com/lukmccall))

### Patch Changes

- [Android] Fixed a race in `SharedObjectRegistry` where a live shared
object passed to an async function could be reported as already released
(`UsingReleasedSharedObjectException`) while another thread added or
released a shared object.
([#50939](#50939) by
[@edwardsmatt](https://github.com/edwardsmatt))
- [iOS] Fix a crash when several concurrent functions read
`appContext.fileSystem` or `appContext.permissions` for the first time
at once, such as parallel `openDatabaseAsync` calls in `expo-sqlite`.
([#54321](#54321) by
[@intergalacticspacehighway](https://github.com/intergalacticspacehighway))
- [iOS] Fixed SwiftUI views (such as `@expo/ui`'s `Host`) rendering
nothing when mounted outside any view controller, for example inside
react-native-screens' `FullWindowOverlay`.
([#50966](#50966) by
[@finn-pleo](https://github.com/finn-pleo))
- Updated dependencies.
([#54091](#54091))
  - expo-modules-jsi@58.0.24
## expo-observe@58.1.0

### Minor Changes

- Keep Observe inactive when the config plugin sets the `consent` option
to `'not-granted'`. Observe then sends no data.
([#53709](#53709) by
[@Ubax](https://github.com/Ubax))
- Add a config plugin with a `consent` option. Prebuild writes the
consent value to `AndroidManifest.xml` and `Info.plist`.
([#53878](#53878) by
[@Ubax](https://github.com/Ubax))
- Add `Observe.reportFeedback` to send user feedback.
([#53261](#53261) by
[@Ubax](https://github.com/Ubax))
- Add `Observe.setConsent` to change the consent value at runtime. A
grant starts collection, and a revoke stops collection and deletes the
Observe data stored on the device.
([#53710](#53710) by
[@Ubax](https://github.com/Ubax))

### Patch Changes

- Add experimental navigation total blocking time (`tbt`) metric,
enabled with `experimental_totalBlockingTime`.
([#51505](#51505) by
[@Ubax](https://github.com/Ubax))
- Warn in development on iOS when the app privacy manifest has no user
content entry for `Observe.reportFeedback`.
([#53284](#53284) by
[@Ubax](https://github.com/Ubax))
- Add `ignoredMetrics` and `ignoredEvents` configure options to skip
selected metrics and events during dispatch.
([#52524](#52524) by
[@Ubax](https://github.com/Ubax))
- Send at most 128 attributes for each log event, and keep the `expo.*`
attributes first, so the server does not drop them.
([#53615](#53615) by
[@Ubax](https://github.com/Ubax))
- Updated dependencies.
([#51003](#51003),
[#53973](#53973),
[#54066](#54066),
[#53709](#53709),
[#53710](#53710),
[#53688](#53688),
[#53261](#53261))
  - expo-app-metrics@58.1.0
## @expo/cli@58.1.22

### Patch Changes

- Prevent false fatal errors when loading split chunks that have not
been preloaded. ([#54284](#54284) by
[@kitten](https://github.com/kitten))
- Detect Factory Droid, Grok Bot, Claude Cowork, and Muse in CLI
telemetry. ([#53831](#53831) by
[@davidmokos](https://github.com/davidmokos))
- Fix dev-server calling `/_expo/debugger` against the external
`REACT_NATIVE_PACKAGER_HOSTNAME` or `EXPO_PACKAGER_PROXY_URL` host
instead of its local socket.
([#54163](#54163) by
[@harpreetkbadhan](https://github.com/harpreetkbadhan))
- Fix `expo lint` and `expo run` failing right after installing a
missing package. ([#53887](#53887) by
[@ramonclaudio](https://github.com/ramonclaudio))
- Treat non-boolean `CI` values, like `CI=yes`, as false instead of
failing. ([#53019](#53019) by
[@ramonclaudio](https://github.com/ramonclaudio))
- [Internal] Include the parent CLI command in telemetry to distinguish
nested command invocations.
([#53393](#53393) by
[@davidmokos](https://github.com/davidmokos))
- Use `.cjs` filenames for CommonJS server output in projects with
`"type": "module"`. ([#54051](#54051)
by [@kitten](https://github.com/kitten))
- Improve source maps for exported API routes, server rendering, React
Server Components, and native bundles. Fix missing maps and incorrect
source paths, and consistently honor options to omit source code from
maps. ([#52948](#52948) by
[@kitten](https://github.com/kitten))
- [Internal] Read `useWatchman` as upstream Metro does, now that
`@expo/metro-config` defaults it to `false`.
([#53731](#53731) by
[@robhogan](https://github.com/robhogan))
- In `expo serve`, load exported CommonJS server modules independently
of the project module type and improve error handling.
([#52851](#52851) by
[@kitten](https://github.com/kitten))
- Updated dependencies.
([#54140](#54140),
[#54051](#54051),
[#47993](#47993),
[#48232](#48232),
[#52948](#52948),
[#53392](#53392),
[#53731](#53731),
[#54148](#54148),
[#53732](#53732),
[#53805](#53805),
[#54047](#54047),
[#53238](#53238),
[#53249](#53249),
[#54143](#54143),
[#54179](#54179),
[#52592](#52592))
  - @expo/config-plugins@58.0.14
  - @expo/router-server@58.0.24
  - @expo/metro-config@58.0.24
  - @expo/metro-file-map@58.0.7
  - @expo/config@58.0.13
  - @expo/inline-modules@0.2.11
  - @expo/prebuild-config@58.0.21
## @expo/config@58.0.13

### Patch Changes

- Updated dependencies.
([#54140](#54140),
[#47993](#47993),
[#48232](#48232),
[#54179](#54179),
[#52592](#52592))
  - @expo/config-plugins@58.0.14
## @expo/config-plugins@58.0.14

### Patch Changes

- Preserve Android string escape sequences, empty values, and quoted
whitespace when reading and rewriting XML resources. Discard NUL
characters while preserving the surrounding text.
([#54140](#54140) by
[@kitten](https://github.com/kitten))
- Warn about non-string values in `locales` JSON files.
([#47993](#47993) by
[@soreavis](https://github.com/soreavis))
- [Android] Mark the `expo_runtime_version` string resource as
`translatable="false"`, so localization tooling and Android Lint treat
it as the technical identifier it is rather than user-facing copy.
([#48232](#48232) by
[@ahmdshrif](https://github.com/ahmdshrif))
- Fix Android locale strings losing quotes and interpreting literal
backslashes as escape sequences.
([#54179](#54179) by
[@kitten](https://github.com/kitten))
- Keep XML formatting from mutating Android string resources and adding
extra escapes on repeated writes.
([#52592](#52592) by
[@tedy69](https://github.com/tedy69))
## @expo/inline-modules@0.2.11

### Patch Changes

- Updated dependencies.
([#54140](#54140),
[#47993](#47993),
[#48232](#48232),
[#54179](#54179),
[#52592](#52592))
  - @expo/config-plugins@58.0.14
## @expo/local-build-cache-provider@58.0.13

### Patch Changes

- Updated dependencies.
  - @expo/config@58.0.13
## @expo/metro-config@58.0.24

### Patch Changes

- Improve source maps for exported API routes, server rendering, React
Server Components, and native bundles. Fix missing maps and incorrect
source paths, and consistently honor options to omit source code from
maps. ([#52948](#52948) by
[@kitten](https://github.com/kitten))
- Fix `new SharedWorker(new URL(...))` creating a dedicated `Worker`
instead of a `SharedWorker` on web.
([#53392](#53392) by
[@Gabrola](https://github.com/Gabrola))
- [Internal] `getDefaultConfig` sets `resolver.useWatchman` to `false`
in place of `null`. ([#53731](#53731)
by [@robhogan](https://github.com/robhogan))
- Updated dependencies.
  - @expo/config@58.0.13
## @expo/metro-file-map@58.0.7

### Patch Changes

- [Internal] Port `FileMap.addRoot()` and `getRoots()` from upstream
Metro, which Metro 0.88 calls.
([#54148](#54148) by
[@robhogan](https://github.com/robhogan))
- Fix symlinks repointed while Metro isn't running (for example by `pnpm
install`) resolving to their previous target. Symlinks are now stat'd
and read when the file map is built, as in upstream Metro.
([#53732](#53732) by
[@robhogan](https://github.com/robhogan))
- Port `FallbackWatcher`, the default watcher on Linux and Windows, from
upstream Metro. It starts without a stat per file or a 1s delay on
Windows, closes every watch under a deleted directory, and has the file
map recrawl a directory when Windows doesn't name what changed.
([#53805](#53805) by
[@robhogan](https://github.com/robhogan))
- Without Watchman, files are now stat'd only once Metro derives data
from them, and a start stats only those files. This fixes plugin data
(e.g. dependencies) that could go stale when a file was edited while
Metro wasn't running, and recrawls that could miss changes to files that
had not been stat'd yet.
([#54047](#54047) by
[@robhogan](https://github.com/robhogan))
- Process files synchronously in-band, as upstream `metro-file-map`
does. This makes lazy SHA-1 computation and worker-thread crawls faster.
For `unstable_fileMapPlugins` workers, `getContent()` returns a `Buffer`
again rather than a promise, matching upstream.
([#53238](#53238) by
[@robhogan](https://github.com/robhogan))
- [Internal] Port `TreeFS` from upstream Metro's `main`, with
`getSerializableState()` from react/metro#2219, keeping the on-demand
filesystem, lazy symlink reads and snapshot root filtering.
([#53249](#53249) by
[@robhogan](https://github.com/robhogan))
- Fix files changed while Metro starts being missed until a restart. On
macOS, also fix changes made straight after startup sometimes being
missed. ([#54143](#54143) by
[@robhogan](https://github.com/robhogan))
- [Internal] Read `useWatchman` as upstream Metro does, now that
`@expo/metro-config` defaults it to `false`.
([#53731](#53731) by
[@robhogan](https://github.com/robhogan))
## @expo/prebuild-config@58.0.21

### Patch Changes

- Updated dependencies.
([#54140](#54140),
[#47993](#47993),
[#48232](#48232),
[#54179](#54179),
[#52592](#52592))
  - @expo/config-plugins@58.0.14
  - @expo/config@58.0.13
## @expo/router-server@58.0.24

### Patch Changes

- Use `.cjs` filenames for CommonJS server output in projects with
`"type": "module"`. ([#54051](#54051)
by [@kitten](https://github.com/kitten))
## create-expo@5.1.10

### Patch Changes

- Preserve empty values, repeated spaces, and XML-forbidden characters
in Android template display names. Discard NUL characters while
preserving the surrounding text.
([#54140](#54140) by
[@kitten](https://github.com/kitten))
- Treat non-boolean `CI` values, like `CI=yes`, as false instead of
failing. ([#53019](#53019) by
[@ramonclaudio](https://github.com/ramonclaudio))
## expo-app-intents@0.5.19

### Patch Changes

- Updated dependencies.
([#53984](#53984),
[#51972](#51972),
[#54090](#54090),
[#54068](#54068),
[#53781](#53781),
[#53765](#53765),
[#53399](#53399),
[#47930](#47930),
[#54014](#54014),
[#52653](#52653),
[#53573](#53573),
[#53767](#53767),
[#51607](#51607),
[#52899](#52899),
[#53294](#53294),
[#54060](#54060))
  - @expo/ui@58.0.30
## expo-auth-session@58.0.20

### Patch Changes

- Updated dependencies.
([#54151](#54151))
  - expo-crypto@58.0.9
## expo-codemod@58.0.2

### Patch Changes

- Fix the React Navigation codemod skipping supported imports in files
that also contain unsupported imports.
([#48941](#48941) by
[@ahmdshrif](https://github.com/ahmdshrif))
- Fix `sdk-56-expo-router-react-navigation-replace` silently skipping
named re-exports (`export { A } from '@react-navigation/...'`), which
are now rewritten like named imports. Re-export styles that cannot be
rewritten (`export *`, `export * as ns from`, `export v from`, `export {
default as X } from`), `jest` module calls (`mock`, `doMock`, `unmock`,
`setMock`, `requireActual`, `requireMock`, `createMockFromModule`), and
inline `import("...")` types outside call type arguments referencing
`@react-navigation/*` modules are reported for manual migration.
([#48942](#48942) by
[@ahmdshrif](https://github.com/ahmdshrif))
## expo-crypto@58.0.9

### Patch Changes

- [Android] Fix AES-GCM decryption returning extra zero bytes on devices
that overestimate the required output size.
([#54151](#54151) by
[@huamurui](https://github.com/huamurui))
## expo-dev-client@58.0.22

### Patch Changes

- Updated dependencies.
([#53977](#53977))
  - expo-dev-launcher@58.1.0
## expo-doctor@1.21.9

### Patch Changes

- Fix dependency checks failing with `EBADDEVENGINES` in projects whose
`devEngines.packageManager` is not npm.
([#53443](#53443) by
[@Sun-Wukhan](https://github.com/Sun-Wukhan))
- Treat non-boolean `CI` values, like `CI=yes`, as false instead of
failing. ([#53019](#53019) by
[@ramonclaudio](https://github.com/ramonclaudio))
## expo-file-system@58.0.15

### Patch Changes

- [iOS] Fix the app never calling the system completion handler of
`handleEventsForBackgroundURLSession`, for `expo-file-system` background
downloads and for background sessions of other modules.
([#53454](#53454) by
[@zocario](https://github.com/zocario))
- [iOS] Fix a crash when a `DownloadTask` or `UploadTask` is cancelled
or garbage-collected at the moment its request completes.
([#50106](#50106) by
[@isaacrowntree](https://github.com/isaacrowntree))
- [Android] Fix `copy()` and `move()` with `overwrite: true` deleting
the source when the destination is a SAF (`content://`) document that is
the source or contains it. These calls now throw instead.
([#53675](#53675) by
[@barthap](https://github.com/barthap))
- Fix `copy()` and `move()` with `overwrite: true` deleting the source
when the destination resolves to the source or to a directory that
contains it. These calls now throw instead.
([#53665](#53665) by
[@barthap](https://github.com/barthap))
- [iOS] Fix upload task and download task progress sending `bytesSent`,
`bytesWritten` and `totalBytes` as `bigint` instead of `number`.
([#53917](#53917) by
[@tareksabry1337](https://github.com/tareksabry1337))
## expo-glass-effect@58.0.6

### Patch Changes

- [iOS] Add a checked-in Package.swift so that the Expo SwiftPM plugin
builds the module directly from it.
([#53210](#53210) by
[@chrfalch](https://github.com/chrfalch))
## expo-image@58.0.19

### Patch Changes

- [iOS] Keep the rendered image when the view's size changes and the
image is still suitable for display at the new size. Also round the
downscaled image size to the nearest pixel. This helps scaled images
keep their aspect ratio as best as possible.
([#52424](#52424) by
[@ide](https://github.com/ide))
- [iOS] Decode AVIF with libdav1d instead of libaom in the precompiled
framework, to match source builds and reduce memory use.
([#52640](#52640) by
[@alanjhughes](https://github.com/alanjhughes))
## expo-location@58.0.23

### Patch Changes

- [Android] Fix a `ConcurrentModificationException` crash in the motion
activity receiver and stop `removeWatchAsync` from requiring the
location permission. ([#53919](#53919)
by [@HubertBer](https://github.com/HubertBer))
- Add a `timeout` option to `getMotionActivityAsync` that rejects with
`ERR_LOCATION_MOTION_ACTIVITY_TIMEOUT` when no activity update arrives
in time. ([#53920](#53920) by
[@HubertBer](https://github.com/HubertBer))
- [next][iOS] Send `null` instead of omitting the unavailable `Position`
fields in task and watcher payloads.
([#53093](#53093) by
[@Wenszel](https://github.com/Wenszel))
## expo-modules-jsi@58.0.24

### Patch Changes

- Fix a deadlock on iOS when a JavaScript error clears the React Native
scheduler queues on the main thread, during an event that a native view
dispatches with `experimental_flushSync`. A promise or callback that is
dropped on the main thread now schedules the release of its state from
another thread, as it already did on the JavaScript thread.
([#54091](#54091) by
[@intergalacticspacehighway](https://github.com/intergalacticspacehighway))
## expo-network@58.0.6

### Patch Changes

- [Android] Emit a network state event when the OS blocks or unblocks
the app's network access (`onBlockedStatusChanged`). On Android 15 and
newer, a backgrounded app now receives `isConnected: false` while the OS
blocks it and `isConnected: true` when the app returns to the
foreground. ([#52815](#52815) by
[@Subhash-Dhandhukiya](https://github.com/Subhash-Dhandhukiya))
## expo-notifications@58.1.10

### Patch Changes

- [iOS] `requestPermissionsAsync` now resolves with the denied status,
instead of rejecting with `ERR_PERMISSIONS_REQUEST_NOTIFICATIONS`, when
the user denies the prompt in an iOS app on an Apple Silicon Mac
("Designed for iPad").
([#52828](#52828) by
[@LizunovSergey](https://github.com/LizunovSergey))
## expo-router@58.0.33

### Patch Changes

- Use the label of `Stack.Toolbar.Button` and `Stack.Toolbar.Menu` as
the TalkBack description on Android when `accessibilityLabel` is not
set. ([#54293](#54293) by
[@Ubax](https://github.com/Ubax))
- Fix `router.navigate()` between routes of a layout with multiple
dynamic segments, such as `[org]/[project]`.
([#51571](#51571) by
[@Arthur031221](https://github.com/Arthur031221))
- [iOS] `Link.Trigger` is now in the accessibility tree when the link
has a `Link.Preview` or a `Link.Menu`. The children of `Link.AppleZoom`
and `Link.AppleZoomTarget` are now in the accessibility tree too.
([#54297](#54297) by
[@Ubax](https://github.com/Ubax))
- [iOS] Fix `accessibilityLabel` and `accessibilityHint` not being
applied to `Stack.Toolbar.Button` in the bottom toolbar.
([#54294](#54294) by
[@Ubax](https://github.com/Ubax))
- On iOS, `disabled` now disables the bottom toolbar button that opens a
`Stack.Toolbar.Menu`. ([#54295](#54295)
by [@Ubax](https://github.com/Ubax))
- Use the text of a hidden `NativeTabs.Trigger.Label` as the
accessibility label of the tab on Android and iOS.
([#54292](#54292) by
[@Ubax](https://github.com/Ubax))
- `NativeTabs` shows a `Trigger` wrapped in `Protected` when its guard
passes, and hides that tab when the guard fails.
([#51802](#51802) by
[@maaz-bin-hassan](https://github.com/maaz-bin-hassan))
- Throw an error when an external URL is passed as `redirectTo` for
`Protected`. ([#53841](#53841) by
[@Ubax](https://github.com/Ubax))
- Fix unhandled `REMOVE_ROUTES` warning when a stack with
`Stack.Protected` unmounts during startup.
([#53415](#53415) by
[@Ubax](https://github.com/Ubax))
- Fix an infinite loop when a `Stack.Protected` guard falls back to a
route from the `redirects` config.
([#53632](#53632) by
[@Ubax](https://github.com/Ubax))
- [iOS] Fix a `Link.Trigger` child disappearing when it remounts inside
a `Link` with `Link.Menu` or `Link.Preview`.
([#50736](#50736) by
[@oscnord](https://github.com/oscnord))
- Made `@react-native-masked-view/masked-view` an optional peer
dependency. Install it to keep the masked back button label on iOS in
`expo-router/js-stack`.
([#53733](#53733) by
[@theeket](https://github.com/theeket))
- Use the redirect of the outermost failing guard for nested protected
routes. ([#53450](#53450) by
[@Ubax](https://github.com/Ubax))
- Keep the module-level `router` and `useNavigationContainerRef()`
working after an Android Activity relaunch.
([#53447](#53447) by
[@Ubax](https://github.com/Ubax))
- Port React Navigation accessibility fixes: use `aria-current` for the
focused drawer item on web, expose the disabled state of
`PlatformPressable`, and fix a JS stack screen that ignored touches
after a route below a transparent modal was removed.
([#54296](#54296) by
[@Ubax](https://github.com/Ubax))
- Fix a redirect loop when a protected route without `redirectTo` shares
its URL with the fallback route.
([#53426](#53426) by
[@Ubax](https://github.com/Ubax))
- Match redirect and rewrite sources against the full path in the app,
the same as the server. Use a catch-all source such as `/old/[...path]`
to redirect child paths.
([#53634](#53634) by
[@Ubax](https://github.com/Ubax))
- [iOS] `SplitView` now applies the left and right safe area insets to
its columns, main content, and inspector when it shows more than one
column. Set `horizontalSafeAreaInsets` to change this.
([#52391](#52391) by
[@Ubax](https://github.com/Ubax))
- Add the `unstable_requiredScreensBelow` prop to `Stack.Screen` to add
screens below a screen when a deep link or a navigation adds it to the
stack. ([#51695](#51695) by
[@Ubax](https://github.com/Ubax))
- [web] Make the "Go back" control on the default 404 screen work with
the keyboard and screen readers.
([#54291](#54291) by
[@Ubax](https://github.com/Ubax))
- Updated dependencies.
([#53210](#53210))
  - expo-glass-effect@58.0.6
## expo-sharing@58.0.24

### Patch Changes

- [iOS] Fix a crash on iPad when `shareAsync()` is called while an
earlier share sheet is still on screen.
([#54075](#54075) by
[@beqramo](https://github.com/beqramo))
- Updated dependencies.
([#54140](#54140),
[#47993](#47993),
[#48232](#48232),
[#54179](#54179),
[#52592](#52592))
  - @expo/config-plugins@58.0.14
## expo-splash-screen@58.0.15

### Patch Changes

- Updated dependencies.
([#54140](#54140),
[#47993](#47993),
[#48232](#48232),
[#54179](#54179),
[#52592](#52592))
  - @expo/config-plugins@58.0.14
## @expo/ui@58.0.30

### Patch Changes

- [Android] Add `contentWindowInsets` to `ModalBottomSheet` and the
community `BottomSheet`, so a sheet's content can scroll under the
navigation bar. ([#53984](#53984) by
[@andreialecu](https://github.com/andreialecu))
- [Android] Fix bottom sheet modals closing when the snap point count
changes. ([#51972](#51972) by
[@tacheraSasi](https://github.com/tacheraSasi))
- [Android] Fix `maxLength` in `TextField` and the universal `TextInput`
keeping half of an emoji, or a letter without its combining mark, when
the text reaches the limit.
([#54090](#54090) by
[@intergalacticspacehighway](https://github.com/intergalacticspacehighway))
- [Android] Mark the selected option in the `Picker` menu with a check
and a highlighted container.
([#54068](#54068) by
[@miniware9](https://github.com/miniware9))
- [Android] Fix time pickers ignoring `variant="input"` and
`display="spinner"`, and add `variant` to `TimePickerDialog`.
([#53781](#53781) by
[@expo-bot](https://github.com/expo-bot))
- [Android] Fix time pickers showing a 24-hour clock on devices set to a
12-hour clock. When `is24Hour` is not set, the Jetpack Compose
`DateTimePicker` and `TimePickerDialog` and the community
`DateTimePicker` now follow the device's 12-hour or 24-hour setting, as
`@react-native-community/datetimepicker` does. Set `is24Hour` to `true`
to keep the 24-hour clock.
([#53765](#53765) by
[@miniware9](https://github.com/miniware9))
- Add a `modifiers` prop to the community `BottomSheet`.
([#53399](#53399) by
[@dileepapeiris](https://github.com/dileepapeiris))
- [Android] Add the `primaryEditable` and `secondaryEditable` anchor
types to the `menuAnchor` modifier. An editable text field, such as an
autocomplete, then keeps its cursor and keyboard input while the menu is
open. ([#47930](#47930) by
[@yassine-drafate](https://github.com/yassine-drafate))
- [iOS] Fix `maxLength` in `TextField`, `SecureField` and the universal
`TextInput` counting characters rather than UTF-16 code units, which let
ten 👍 into a field with `maxLength={10}`. iOS now counts UTF-16 code
units, as Android, web and React Native's `TextInput` do, and cuts text
between characters. ([#54014](#54014)
by [@miniware9](https://github.com/miniware9))
- [iOS] Add the `renderingMode` modifier for `Image`. With
`renderingMode('template')`, an image fills its opaque pixels with the
foreground style, as SF Symbols do.
([#52653](#52653) by
[@matiaspan](https://github.com/matiaspan))
- Fix TypeScript rejecting a `PlatformColor` as the text color of the
universal `Text`, `TextInput`, and `Collapsible`. The `color` of
`UniversalTextStyle` is now a `ColorValue`.
([#53573](#53573) by
[@miniware9](https://github.com/miniware9))
- [Web] Fix a universal `TextInput` that did not show a `set()` write to
its `value` state when the React Compiler compiled the component that
created the state. `useNativeState` on web now returns a new object each
time its value changes.
([#53767](#53767) by
[@expo-bot](https://github.com/expo-bot))
- [web] Fix a React Native `Modal` opened from `BottomSheet` content
rendering under the sheet and ignoring clicks.
([#51607](#51607) by
[@expo-bot](https://github.com/expo-bot))
- [Android] Fix `Icon` and `Image` drawing a vector drawable resource
shifted or clipped when it uses `<group>` transforms, clip paths or
gradients. Drawables referenced by resource name are now inflated by
Compose. ([#52899](#52899) by
[@MarkusWendorf](https://github.com/MarkusWendorf))
- [iOS] Fix the community `BottomSheet` moving to the wrong detent for a
frame when its `index` and `snapPoints` change together.
([#53294](#53294) by
[@Hassan1305](https://github.com/Hassan1305))
- [iOS] Make `Toggle` public like `Button`, and return the value of its
`onIsOnChange` callback.
([#54060](#54060) by
[@iftype](https://github.com/iftype))
## expo-updates@58.0.23

### Patch Changes

- [Android] Create the embedded fingerprint and manifest on every build,
so a repeat release build does not embed a stale runtime version after a
native change. ([#53906](#53906) by
[@sivefunc](https://github.com/sivefunc))
## expo-widgets@58.0.30

### Patch Changes

- Updated dependencies.
([#53984](#53984),
[#51972](#51972),
[#54090](#54090),
[#54068](#54068),
[#53781](#53781),
[#53765](#53765),
[#53399](#53399),
[#47930](#47930),
[#54014](#54014),
[#52653](#52653),
[#53573](#53573),
[#53767](#53767),
[#51607](#51607),
[#52899](#52899),
[#53294](#53294),
[#54060](#54060))
  - @expo/ui@58.0.30
## jest-expo@58.0.16

### Patch Changes

- Add `setConsent` to the `ExpoObserve` mock.
([#53710](#53710) by
[@Ubax](https://github.com/Ubax))
## patch-project@58.0.22

### Patch Changes

- Updated dependencies.
([#54140](#54140),
[#47993](#47993),
[#48232](#48232),
[#54179](#54179),
[#52592](#52592))
  - @expo/config-plugins@58.0.14
  - @expo/config@58.0.13
## expo-template-bare-minimum@58.0.36

### Patch Changes

- [iOS] Remove the unused `FB_SONARKIT_ENABLED` preprocessor define from
the Xcode project. ([#53748](#53748) by
[@chrfalch](https://github.com/chrfalch))
- Updated dependencies.
([#54284](#54284),
[#49324](#49324),
[#53323](#53323),
[#53320](#53320),
[#52961](#52961))
  - expo@58.1.0
## expo-template-blank@58.0.36

### Patch Changes

- Updated dependencies.
([#54284](#54284),
[#49324](#49324),
[#53323](#53323),
[#53320](#53320),
[#52961](#52961))
  - expo@58.1.0
## expo-template-blank-typescript@58.0.36

### Patch Changes

- Updated dependencies.
([#54284](#54284),
[#49324](#49324),
[#53323](#53323),
[#53320](#53320),
[#52961](#52961))
  - expo@58.1.0
## expo-template-default@58.0.36

### Patch Changes

- Updated dependencies.
([#53984](#53984),
[#51972](#51972),
[#54293](#54293),
[#51571](#51571),
[#54284](#54284),
[#49324](#49324),
[#53210](#53210),
[#54297](#54297),
[#54294](#54294),
[#53323](#53323),
[#54090](#54090),
[#54068](#54068),
[#53781](#53781),
[#53765](#53765),
[#53399](#53399),
[#47930](#47930),
[#54014](#54014),
[#52653](#52653),
[#53573](#53573),
[#53767](#53767),
[#51607](#51607),
[#53320](#53320),
[#52961](#52961),
[#52424](#52424),
[#52640](#52640),
[#54295](#54295),
[#54292](#54292),
[#51802](#51802),
[#53841](#53841),
[#53415](#53415),
[#53632](#53632),
[#50736](#50736),
[#53733](#53733),
[#53450](#53450),
[#53447](#53447),
[#54296](#54296),
[#53426](#53426),
[#53634](#53634),
[#52391](#52391),
[#51695](#51695),
[#54291](#54291),
[#52899](#52899),
[#53294](#53294),
[#54060](#54060))
  - @expo/ui@58.0.30
  - expo-router@58.0.33
  - expo@58.1.0
  - expo-glass-effect@58.0.6
  - expo-image@58.0.19
  - expo-splash-screen@58.0.15
## expo-template-tabs@58.0.36

### Patch Changes

- Updated dependencies.
([#54293](#54293),
[#51571](#51571),
[#54284](#54284),
[#49324](#49324),
[#54297](#54297),
[#54294](#54294),
[#53323](#53323),
[#53320](#53320),
[#52961](#52961),
[#54295](#54295),
[#54292](#54292),
[#51802](#51802),
[#53841](#53841),
[#53415](#53415),
[#53632](#53632),
[#50736](#50736),
[#53733](#53733),
[#53450](#53450),
[#53447](#53447),
[#54296](#54296),
[#53426](#53426),
[#53634](#53634),
[#52391](#52391),
[#51695](#51695),
[#54291](#54291))
  - expo-router@58.0.33
  - expo@58.1.0
  - expo-splash-screen@58.0.15
## babel-preset-expo@58.0.27

No changes in this release.
## expo-standard-web-crypto@58.0.7

No changes in this release.

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants