Packages

@expo/config-types

58.0.3 · 13 Oct 2026MIT24.3M / weekRepositoryHomepagenpmAtom feed

Your version

48.0.0

major3 Feb 2023Where it was published

In short

3 breaking1 removed2 deprecated42 new35 fixed28 changed

  • Breaking

    expo-contacts: Remove deprecated and legacy contact fields constants.

  • Breaking

    expo-keep-awake: KeepAwake.activateKeepAwake has been deprecated in favor of KeepAwake.activateKeepAwakeAsync.

  • Breaking

    expo-linking: Removed the deprecated Linking.removeEventListener.

  • Removed

    expo-image-picker: Removed deprecated fields from pick result type and deprecated UIImagePickerPresentationStyle enum values.

  • Deprecated

    expo-brightness: Deprecate useSystemBrightnessAsync and add it as renamed restoreSystemBrightnessAsync method to avoid violating Rules of Hooks.

  • Deprecated

    expo-random: Deprecate the library in favor of expo-crypto.

Release note

3rd party library updates

Breaking changes

  • Breaking

    expo-contacts: Remove deprecated and legacy contact fields constants.

  • Breaking

    expo-keep-awake: KeepAwake.activateKeepAwake has been deprecated in favor of KeepAwake.activateKeepAwakeAsync.

  • Breaking

    expo-linking: Removed the deprecated Linking.removeEventListener.

New features

  • expo-apple-authentication: Migrated to Expo Modules API and Swift.

  • expo-apple-authentication: Added support for Fabric.

  • expo-av: Added PosterComponent prop to Video component.

  • expo-barcode-scanner: Native module for barcode scanner view is now written in Swift and Kotlin using the new API. (#20441 and

  • expo-blur: Migrated iOS codebase to Swift and the new Expo modules API.

  • expo-brightness: Migrated iOS codebase to use the new Expo modules API.

  • expo-constants: Migrated Android implementation to Expo Modules API.

  • expo-crypto: Added a randomUUID method to get a random UUIDv4 string.

  • expo-crypto: Added a getRandomValues method to fill typed arrays.

  • expo-crypto: Ported over getRandomBytes, getRandomBytesAsync methods from expo-random.

  • expo-crypto: Added a digest method to get a cryptographic digest of a typed array.

  • expo-device: Migrated Android codebase to use the new Expo modules API.

  • expo-device: Native module on iOS is now written in Swift using the Sweet API.

  • expo-document-picker: Migrated to Expo Modules API.

  • expo-gl: Migrated the view manager to the new Expo modules API and thus added support for Fabric.

  • expo-gl: Migrated the view manager to the new Expo modules API and thus added support for Fabric on Android.

  • expo-haptics: Migrated Android codebase to use the new Expo modules API.

  • expo-keep-awake: Added web support.

  • expo-keep-awake: Added KeepAwake.isAvailableAsync which returns false on certain web browsers.

  • expo-keep-awake: Added KeepAwake.addListener to observe state changes on web.

  • expo-intent-launcher: Migrated to Expo Modules API.

  • expo-local-authentication: Native module on iOS is now written in Swift using the Sweet API.

  • expo-image-picker: Add support for granular permissions on Android 13.

  • expo-media-library: Migrated Android codebase to use the new Expo modules API.

  • expo-media-library: Add support for granular permissions on Android 13.

  • expo-modules-core: Added TS definitions for TypedArray and additional union types for Int, Uint and Float TypedArrays.

  • expo-modules-core: Added a new executeOnJavaScriptThread method to appContext to allow for running code blocks on the JS thread.

  • expo-modules-core: Added the Exceptions.MissingActivity on Android.

  • expo-modules-core: Trailing optional arguments can be skipped when calling native functions from JavaScript on iOS.

  • expo-modules-core: Events component can now be initialized with an array of event names (not only variadic arguments).

  • expo-modules-core: Property component can now take the native shared object instance as the first argument.

  • expo-modules-core: Added support for referencing to Property's owner properties using Swift key paths.

  • expo-modules-core: Added support for concurrent (async/await) functions in Swift.

  • expo-modules-core: [iOS] Added experimental support for building the function result from the object definition.

  • expo-modules-core: View-related DSL functions do not require providing the view's type in function parameters on Android.

  • expo-modules-core: Add support for the Long type as function parameters on Android.

  • expo-modules-core: [Android] Added experimental support for building the function result from the object definition.

  • expo-modules-core: Removed boost dependency which needs extra downloading on Android.

  • expo-network: Migrated to Expo Modules API. (#20083 and #20303

  • expo-sharing: Migrated Android implementation to Expo Modules API.

  • expo-sms: Migrated to Expo Modules API. (#19996 and

  • expo-store-review: Migrated Android implementation to Expo Modules API.

  • expo-speech: Added utterance word tracking support for iOS and Android. This allows the ability to highlight each word in an utterance.

  • expo-video-thumbnails: Native module on iOS is now written in Swift using the Sweet API.

  • expo-video-thumbnails: Migrated Android codebase to use the new Expo modules API.

Bug fixes

  • expo-asset: Fix loading Metro web assets from origins other than /.

  • expo-av: Fixed error for duplicated META-INF files when building on Android.

  • expo-av: Fixed build errors when testing on React Native nightly builds.

  • expo-av: Fixed crashes when ProGuard or R8 is enabled on Android.

  • expo-av: Added React Native 0.71 support.

  • expo-av: Fixed HTMLMediaElement.play and HTMLMediaElement.pause calls on the Web aren't properly awaited.

  • expo-av: Added support for React Native 0.71.x. (#20799 #20832

  • expo-av: Fixed JSI audio sampling buffer issues when using SimpleExoPlayer implementation on Android.

  • expo-barcode-scanner: Fix import issue on case-sensitive file systems

  • expo-blur: Add -webkit-backdrop-filter to support blurring on Safari.

  • expo-clipboard: Fixed clipboard listener is called twice on Android.

  • expo-clipboard: Fixed clipboard listener can crash the application during initialization on Android.

  • expo-clipboard: Fixed the ImageFormat or the StringFormat not working in the release builds on Android.

  • expo-constants: Fix the list of platform keys in expo-module.config.json

  • expo-camera: Fix import issue on case-sensitive file systems

  • expo-camera: Fix path where simulator saves photos

  • expo-camera: Fixed Cannot set prop 'barCodeScannerSettings' on view 'class expo.modules.camera.ExpoCameraView' on Android.

  • expo-file-system: Add utf-8 uri support on iOS.

  • expo-gl: Fixed build errors when testing on React Native nightly builds.

  • expo-gl: Fixed error for duplicated META-INF files when building on Android.

  • expo-gl: Added React Native 0.71 support.

  • expo-haptics: Fixed rare crash on iOS when using Feedback Generator's API not on the main thread.

  • expo-image-picker: Fix incorrect asset type for videos on iOS.

  • expo-image-picker: Fix support for animated GIFs on iOS.

  • expo-mail-composer: Fix composeAsync not resolving promise after sending/ discarding email.

  • expo-media-library: Renamed the module on iOS to match the name used on Android.

  • expo-modules-core: Added a list of the acceptable enum values to the conversion error on Android.

  • expo-modules-core: Fixed new NativeEventEmitter() was called with a non-null argument without the required addListener method. warnings on Android with JSC.

  • expo-modules-core: Fixed views are not correctly initialized after reloading on Android.

  • expo-modules-core: Fixed threading crash issue when running with Hermes on iOS.

  • expo-modules-core: Fixed build errors when testing on React Native nightly builds.

  • expo-modules-core: Fixed failed resolution of 'java.nio.file.Path' on Android.

  • expo-modules-core: Fixed libraries using the ViewDefinitionBuilder crashes when ProGuard or R8 is enabled on Android.

  • expo-modules-core: Fixed Either types not supporting non-primitive types on iOS.

  • expo-modules-core: Fixed Function not supporting certain arities on Android.

  • expo-modules-core: Added React Native 0.71 support.

  • expo-modules-core: Fixed the SharedObject initializer being inaccessible due to internal protection level.

  • expo-modules-core: Fixed boost build error on Android.

  • expo-modules-core: Fix view prop setter not being called when its new value is null or undefined. (#20755 & #20766 by @tsapeta & @lukmccall) (#20755, #20766 by @tsapeta, @lukmccall)

  • expo-modules-core: Fixed "Tried to register two views with the same name" error on fast refresh.

  • expo-modules-core: Fix crash when reloading app while expo-av video is playing.

  • expo-location: Removed strict null checks for expo location and avoid crash on android.

  • expo-location: Export types with type-only annotation to fix build when using isolatedModules flag.

  • expo-print: Fix printAsync not reflecting custom width/ height, useMarkupFormatter option preventing custom width/ height/ margin from being reflected.

  • expo-sensors: Export types with type-only annotation to fix build when using isolatedModules flag.

  • expo-web-browser: Add missing peer dependency on url for web.

Others

  • expo-asset: Remove unused web features.

  • expo-application: On Android bump compileSdkVersion and targetSdkVersion to 33.

  • expo-auth-session: Removed usage of the deprecated expo-random package.

  • expo-background-fetch: On Android bump compileSdkVersion and targetSdkVersion to 33.

  • expo-av: On Android bump compileSdkVersion and targetSdkVersion to 33.

  • expo-barcode-scanner: On Android bump compileSdkVersion and targetSdkVersion to 33.

  • expo-branch: On Android bump compileSdkVersion and targetSdkVersion to 33.

  • Deprecated

    expo-brightness: Deprecate useSystemBrightnessAsync and add it as renamed restoreSystemBrightnessAsync method to avoid violating Rules of Hooks.

  • expo-brightness: On Android bump compileSdkVersion and targetSdkVersion to 33.

  • expo-cellular: On Android bump compileSdkVersion and targetSdkVersion to 33.

  • expo-calendar: On Android bump compileSdkVersion and targetSdkVersion to 33.

  • expo-clipboard: On Android bump compileSdkVersion and targetSdkVersion to 33.

  • expo-constants: On Android bump compileSdkVersion and targetSdkVersion to 33.

  • expo-contacts: Simplify exported types.

  • expo-contacts: On Android bump compileSdkVersion and targetSdkVersion to 33.

  • expo-crypto: On Android bump compileSdkVersion and targetSdkVersion to 33.

  • expo-battery: On Android bump compileSdkVersion and targetSdkVersion to 33.

  • expo-device: On Android bump compileSdkVersion and targetSdkVersion to 33.

  • expo-document-picker: Avoid dependency on uuid.

  • expo-document-picker: On Android bump compileSdkVersion and targetSdkVersion to 33.

  • expo-camera: Use correct type for videoStabilizationMode option.

  • expo-camera: On Android bump compileSdkVersion and targetSdkVersion to 33.

  • expo-error-recovery: On Android bump compileSdkVersion and targetSdkVersion to 33.

  • expo-file-system: Extract nested object definitions to the separate types, which adds: DeletingOptions, InfoOptions, RelocatingOptions and MakeDirectoryOptions types.

  • expo-file-system: Simplify the way in which types are exported from the package.

  • expo-file-system: Rename UploadProgressData totalByteSent field to totalBytesSent.

  • expo-file-system: On Android bump compileSdkVersion and targetSdkVersion to 33.

  • expo-font: On Android bump compileSdkVersion and targetSdkVersion to 33.

  • expo-face-detector: On Android bump compileSdkVersion and targetSdkVersion to 33.

  • expo-gl: On Android bump compileSdkVersion and targetSdkVersion to 33.

  • expo-haptics: On Android bump compileSdkVersion and targetSdkVersion to 33.

  • expo-image-manipulator: On Android bump compileSdkVersion and targetSdkVersion to 33.

  • expo-image-loader: On Android bump compileSdkVersion and targetSdkVersion to 33.

  • expo-keep-awake: Define KeepAwakeOptions type, update the doc comments.

  • expo-keep-awake: On Android bump compileSdkVersion and targetSdkVersion to 33.

  • expo-linear-gradient: On Android bump compileSdkVersion and targetSdkVersion to 33.

  • expo-intent-launcher: On Android bump compileSdkVersion and targetSdkVersion to 33.

  • expo-local-authentication: On Android bump compileSdkVersion and targetSdkVersion to 33.

  • expo-linking: Fix link in README that was incorrectly pointing to to expo-asset.

  • expo-image-picker: Avoid dependency on uuid.

  • expo-image-picker: On Android bump compileSdkVersion and targetSdkVersion to 33.

  • expo-localization: On Android bump compileSdkVersion and targetSdkVersion to 33.

  • expo-mail-composer: On Android bump compileSdkVersion and targetSdkVersion to 33.

  • expo-media-library: On Android bump compileSdkVersion and targetSdkVersion to 33.

  • expo-modules-core: Exposed coroutines related packages on Android.

  • expo-modules-core: Rephrased the message of ArgumentCastException to use ordinal numbers.

  • expo-modules-core: [iOS] Make Enumerable protocol implement CaseIterable to get rid of operating on unsafe pointers.

  • expo-modules-core: On Android bump compileSdkVersion and targetSdkVersion to 33.

  • expo-location: On Android bump compileSdkVersion and targetSdkVersion to 33.

  • expo-network: On Android bump compileSdkVersion and targetSdkVersion to 33.

  • expo-print: On Android bump compileSdkVersion and targetSdkVersion to 33.

  • expo-random: On Android bump compileSdkVersion and targetSdkVersion to 33.

  • expo-permissions: On Android bump compileSdkVersion and targetSdkVersion to 33.

  • expo-screen-capture: On Android bump compileSdkVersion and targetSdkVersion to 33.

  • expo-notifications: Update getExpoPushTokenAsync to make projectId required.

  • expo-notifications: On Android bump compileSdkVersion and targetSdkVersion to 33.

  • expo-notifications: Add JSDoc comments, perform type changes related to documentation autogeneration.

  • expo-notifications: Export getExpoPushTokenAsync parameter type.

  • expo-sharing: On Android bump compileSdkVersion and targetSdkVersion to 33.

  • expo-screen-orientation: On Android bump compileSdkVersion and targetSdkVersion to 33.

  • expo-sms: On Android bump compileSdkVersion and targetSdkVersion to 33.

  • expo-sensors: On Android bump compileSdkVersion and targetSdkVersion to 33.

  • expo-store-review: On Android bump compileSdkVersion and targetSdkVersion to 33.

  • expo-secure-store: On Android bump compileSdkVersion and targetSdkVersion to 33.

  • expo-speech: On Android bump compileSdkVersion and targetSdkVersion to 33.

  • expo-sqlite: On Android bump compileSdkVersion and targetSdkVersion to 33.

  • expo-task-manager: On Android bump compileSdkVersion and targetSdkVersion to 33.

  • expo-video-thumbnails: On Android bump compileSdkVersion and targetSdkVersion to 33.

  • expo-web-browser: On Android bump compileSdkVersion and targetSdkVersion to 33.

  • unimodules-app-loader: On Android bump compileSdkVersion and targetSdkVersion to 33.

Notices

  • Removed

    expo-image-picker: Removed deprecated fields from pick result type and deprecated UIImagePickerPresentationStyle enum values.

  • Deprecated

    expo-random: Deprecate the library in favor of expo-crypto.

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.