Skip to content

React Native Zip Archive - Migration to New Architecture #330

@sultanmyrza

Description

@sultanmyrza

Description

When running the command:

eas build --local --platform android --profile preview

I encountered the following warning:

[RUN_EXPO_DOCTOR] Advice: Use 'npx expo install --check' to review and upgrade your dependencies.
[RUN_EXPO_DOCTOR] The following issues were found when validating your dependencies against React Native Directory:
[RUN_EXPO_DOCTOR] Untested on New Architecture: react-native-zip-archive

Temporary Solution

As a temporary workaround, based on https://docs.expo.dev/guides/new-architecture/#third-party-libraries-and-the-new-architecture I added the following configuration to my package.json:

"expo": {
  "doctor": {
    "reactNativeDirectoryCheck": {
      "exclude": ["react-native-zip-archive"],
      "listUnknownPackages": false
    }
  }
}

This change suppresses the warning, but it is not a long-term solution.

Request for Migration

A better approach would be to migrate react-native-zip-archive to the New Architecture. Migrating Your React Native Library to the New Architecture.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions