在他们的文档中:https ://docs.expo.dev/bare/installing-unimodules/
This library is deprecated!
As of Expo SDK 43, react-native-unimodules is deprecated in favor of the expo package. Please
refer to the Installing Expo modules guide.
目前我正在将 React Native Unimodules 用于带有 expo-camera@^11.2.2 的 React Native CLI,它适用于我的两个应用程序,但如果我将 expo-camera 升级到最新版本,我会得到
Found some duplicated unimodule packages. Installed the ones with the highest version number.
由于我使用的是 React Native CLI,我很困惑是否应该迁移到 expo-module 以使用最新版本的 expo-camera 还是仅用于 Expo CLI?