Expo SDK 45 ships with React Native 0.68.1 and a new Expo Go UI
Expo has released SDK 45, which bundles React Native 0.68.1 along with a refreshed Expo Go app, module rewrites, build tooling updates and a round of deprecations.
What's new
- Expo Go redesign: a more modern UI, quicker access to an organization's projects, and tighter EAS Update integration, including opening specific updates from a branch.
- Modules: Clipboard and WebBrowser were rewritten on the new Sweet API.
expo-crypto,expo-random,expo-hapticsandexpo-localizationnow use JSI, andexpo-avgained JSI-powered audio frame sampling. - Android permissions: unwanted permissions pulled in by libraries can be blocked via
android.blockedPermissionsinapp.jsonorapp.config.js, which appliestools:node="remove"in the merged manifest. - Runtime version validation: values like "1.10" are rejected so Android config files cannot silently truncate the trailing zero.
- Android toolchain:
compileSdkVersionis bumped to 31, along with Java 11. - React Native 0.68: the first release supporting the New Architecture, though Expo modules with view managers do not support it yet; Expo plans to roll out support this summer.
Tooling
SDK 45 includes a beta of a new versioned local Expo CLI that lives in project dependencies and is described as smaller and faster. The global CLI remains the default for this SDK release. Development builds gain an Extensions tab for testing EAS Updates (upgrade expo-dev-client to 0.9.3), and --dev-client no longer needs to be passed to expo start. EAS Build adds Xcode 13.3 via the macos-monterey-12.3-xcode-13.3 image, build queue progress with a wait-time estimate, and an experimental extra.eas.build.experimental.ios.appExtensions field. A new expo-build-properties config plugin customizes common native project properties. EAS Update is now available to legacy Priority subscribers.
Deprecations and support changes
expo-ads-admob, expo-analytics-amplitude, expo-ads-facebook, expo-facebook, expo-google-sign-in and expo-segment are deprecated in favor of vendor or community libraries that work with EAS Build. Node 12 support is dropped, SDK 41 and 42 are removed from Expo Go, and SDK 43 will be dropped next release. SDK 46 will be the last to support Classic Builds, and iOS 12 support will end with SDK 47.
Known issue
expo-dev-client on Android currently crashes in development when Hermes is enabled (tracked in expo/expo#17339). Expo recommends holding off on upgrading if that combination is in use.
Upgrading
For managed projects, install expo-cli@5.4.3 or later with npm i -g expo-cli, update EAS CLI with npm i -g eas-cli, then run expo upgrade. Custom config plugins depending on @expo/config-plugins below 4.1 may need updates. Bare projects should also move to Xcode 13.3 if they support iOS, apply the React Native Upgrade Helper changes, and update AppDelegate.mm. Snack support and classic build service support are expected shortly after release.
Links
Source: web.archive.org