[GH-ISSUE #8186] Docs: Update Metro configuration for Expo SDK 53+ #11018

Closed
opened 2026-04-13 07:23:34 -05:00 by GiteaMirror · 0 comments
Owner

Originally created by @gabrieleolmi on GitHub (Feb 27, 2026).
Original GitHub issue: https://github.com/better-auth/better-auth/issues/8186

Originally assigned to: @himself65 on GitHub.

The current documentation for Expo integration suggests manually enabling resolver.unstable_enablePackageExports in the metro.config.js file.

However, starting from Expo SDK 53, this feature is enabled by default. Manually setting it is no longer required for projects using the latest SDK version.

Proposed Changes
Update the "Configure Metro Bundler" section to:

  1. Mention that unstable_enablePackageExports is enabled by default in Expo SDK 53 and later.
  2. Clarify that the manual configuration is only necessary for projects on SDK 52 or earlier.

References

Originally created by @gabrieleolmi on GitHub (Feb 27, 2026). Original GitHub issue: https://github.com/better-auth/better-auth/issues/8186 Originally assigned to: @himself65 on GitHub. The current documentation for [Expo integration](https://www.better-auth.com/docs/integrations/expo#configure-metro-bundler) suggests manually enabling `resolver.unstable_enablePackageExports` in the `metro.config.js` file. However, starting from **Expo SDK 53**, this feature is enabled by default. Manually setting it is no longer required for projects using the latest SDK version. **Proposed Changes** Update the "Configure Metro Bundler" section to: 1. Mention that `unstable_enablePackageExports` is enabled by default in Expo SDK 53 and later. 2. Clarify that the manual configuration is only necessary for projects on SDK 52 or earlier. **References** - [Expo SDK 53 Upgrade Guide - Metro Exports](https://github.com/expo/skills/blob/main/plugins/upgrading-expo/skills/upgrading-expo/SKILL.md#metro) - [Better-Auth Expo Docs](https://www.better-auth.com/docs/integrations/expo#configure-metro-bundler)
GiteaMirror added the locked label 2026-04-13 07:23:34 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/better-auth#11018