Skip to content

New Architecture (Expo >=54) support #63

@janek

Description

@janek

When running npmx expo-doctor in an Expo project with "@livekit/react-native-webrtc": "137.0.2":

✖ Validate packages against React Native Directory package metadata
The following issues were found when validating your dependencies against React Native Directory:
  Unsupported on New Architecture: @livekit/react-native, @livekit/react-native-webrtc
  No metadata available: @livekit/react-native-expo-plugin
Advice:
Use libraries that are actively maintained and support the New Architecture. Find alternative libraries with https://reactnative.directory.
Add packages to expo.doctor.reactNativeDirectoryCheck.exclude in package.json to selectively skip validations, if the warning is not relevant.
Update React Native Directory to include metadata for unknown packages. Alternatively, set expo.doctor.reactNativeDirectoryCheck.listUnknownPackages in package.json to false to skip warnings about packages with no metadata, if the warning is not relevant

other than the warning, I was getting an error running android (I'll try to update the issue later with specifics).

I checked https://reactnative.directory/?search=webrtc and this package is listed there as not having support for New Architecture.

Image

Are there plans to update this package to support it?

Since it seems like New Architecture is now the default in Expo and cannot be disabled if using the latest version (54), it looks like this package won't work for most new React Native projects? (I'm new to the ecosystem, so I could be wrong)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions