Skip to content

Conversation

@renanmav
Copy link

@renanmav renanmav commented Oct 22, 2024

}
"react-native": "*",
"expo": "*",
"expo-modules-core": "*"
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unsure if expo-modules-core needs to be listed as a peer dependency, gotta checkout expo docs!

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, expo-modules-core should not be listed as peer dependency and also imports like requireNativeModule, which used to be imported from expo-modules-core should be imported from expo. It used to be from expo-modules-core, but that changed since SDK 51 I think.

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I checked, the implementation is definitely outdated:

import { requireNativeModule } from "expo-modules-core";

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants