Skip to content

Untested on New Architecture #85

Description

@leotaozeng

What happened?

Running npx expo-doctor@latest shows the following error:

✖ Validate packages against React Native Directory package metadata
The following issues were found when validating your dependencies against React Native Directory:
  Untested on New Architecture: @react-native-ml-kit/text-recognition
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.

Version

@react-native-ml-kit/barcode-scanning: version
@react-native-ml-kit/face-detection: version
@react-native-ml-kit/identify-languages: version
@react-native-ml-kit/image-labeling: version
@react-native-ml-kit/text-recognition: version
@react-native-ml-kit/translate-text: version

Which ML Kit packages do you use?

  • @react-native-ml-kit/barcode-scanning
  • @react-native-ml-kit/face-detection
  • @react-native-ml-kit/identify-languages
  • @react-native-ml-kit/image-labeling
  • @react-native-ml-kit/text-recognition
  • @react-native-ml-kit/translate-text

What platforms are you seeing this issue on?

  • Android
  • iOS

System Information

info Fetching system and libraries information...
System:
OS: macOS 26.4.1
CPU: (14) arm64 Apple M3 Max
Memory: 1.91 GB / 96.00 GB
Shell:
version: "5.9"
path: /bin/zsh
Binaries:
Node:
version: 22.21.0
path: /Users/leo/.local/share/mise/installs/node/22.21.0/bin/node
Yarn: Not Found
npm:
version: 10.9.4
path: /Users/leo/.local/share/mise/installs/node/22.21.0/bin/npm
Watchman:
version: 2026.03.30.00
path: /opt/homebrew/bin/watchman
Managers:
CocoaPods:
version: 1.16.2
path: /opt/homebrew/bin/pod
SDKs:
iOS SDK:
Platforms:
- DriverKit 25.4
- iOS 26.4
- macOS 26.4
- tvOS 26.4
- visionOS 26.4
- watchOS 26.4
Android SDK: Not Found
IDEs:
Android Studio: 2025.2 AI-252.25557.131.2521.14344949
Xcode:
version: 26.4.1/17E202
path: /usr/bin/xcodebuild
Languages:
Java:
version: 22.0.2
path: /usr/bin/javac
Ruby:
version: 2.6.10
path: /usr/bin/ruby
npmPackages:
"@react-native-community/cli": Not Found
react: Not Found
react-native: Not Found
react-native-macos: Not Found
npmGlobalPackages:
"react-native": Not Found
Android:
hermesEnabled: Not found
newArchEnabled: Not found
iOS:
hermesEnabled: Not found
newArchEnabled: Not found

info React Native v0.85.1 is now available (your project is running on v0.83.4).
info Changelog: https://github.com/facebook/react-native/releases/tag/v0.85.1
info Diff: https://react-native-community.github.io/upgrade-helper/?from=0.83.4&to=0.85.1
info For more info, check out "https://reactnative.dev/docs/upgrading?os=macos".

Steps to Reproduce

  1. Create a new Expo project
  2. Install @react-native-ml-kit/text-recognition
  3. Run npx expo-doctor@latest

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions