Skip to content

Expo SDK 44 ships with React Native 0.64.3 and leaner defaults

updated

Expo has released SDK 44, built on React Native 0.64.3. The release brings new runtime UI APIs to Expo Go, trims default dependencies in managed projects, and includes several deprecations developers should review before upgrading.

Highlights

  • expo-system-ui and expo-navigation-bar in Expo Go. These APIs let apps change the root view background color and configure the Android navigation bar at runtime, and support userInterfaceStyle locking on EAS Build. Previously limited to bare workflow or EAS Build apps, they now work in Expo Go.
  • Fewer default dependencies. Managed projects built on EAS Build no longer install expo-updates, react-native-reanimated, react-native-gesture-handler, react-native-screens, and react-native-safe-area-context by default. Only expo-splash-screen remains. This helps, for example, when using realm (currently incompatible with react-native-reanimated) or opting out of updates by removing expo-updates.
  • Updated Software Mansion libraries: react-native-reanimated@2.3.1 with layout animations, react-native-gesture-handler@2.1 with the new gesture API, and react-native-screens@3.10 with react-freeze integration.

Expo CLI

expo-cli@5.0.2 and higher improves monorepo support, including partial Yarn workspaces support in the default expo/metro-config. expo run:ios gets better Xcode logging and a new --no-build-cache flag. Managed EAS Build now supports userInterfaceStyle, backgroundColor and androidNavigationBar in app.json, plus a new ios.bitcode option. expo build:ios, expo build:android and expo build:status are superseded by eas build but remain until 2024; expo upload:android and expo upload:ios have been removed in favor of eas submit.

EAS Update and EAS Build

EAS Update, Expo's next-generation updates service, enters preview for Production and Enterprise subscribers, offering flexible deployment patterns, Brotli compression and rollbacks. EAS Build and Submit are now generally available, including on the Free plan, with App Store Connect API key support for submissions, a hosted keytool fallback for Android keystores, and a new eas build:inspect command.

Breaking changes and deprecations

  • react-native-gesture-handler v2 requires wrapping the app in <GestureHandlerRootView>.
  • jest-expo no longer depends directly on jest; run expo install jest after upgrading.
  • expo-app-auth and expo-google-app-auth are deprecated in favor of expo-auth-session; expo-google-sign-in is deprecated in favor of expo-auth-session or @react-native-google-signin/google-signin.
  • SDK 40 is no longer supported in Expo Go, and the next release will drop SDK 41 and 42.

Upgrading

Managed projects should install the latest CLI with npm i -g expo-cli, update EAS CLI with npm i -g eas-cli if used, then run expo upgrade and update Expo Go on devices. Standalone apps need a fresh build, such as eas build -p ios or eas build -p android. Bare workflow projects also need Xcode 13 (if they support iOS) and an updated AppDelegate.m, which npx install-expo-modules can migrate automatically.

Snack support for SDK 44 is expected within days, and documentation for creating Expo modules is planned before the new year.

Source: web.archive.org