我正在使用 Expo 44。该项目在 Android 上运行良好。但对于IOS来说,却给出了一个奇怪的错误:
不变违规:requireNativeComponent:在 UIManager 中找不到“ViewManagerAdapter_ExpoLinearGradient”。
我已经完成了“expo install expo-linear-gradient”和“yarn add expo-linear-gradient”。还添加了 pod:
pod 'ExpoLinearGradient', :path => '../node_modules/expo-linear-gradient/ios'
但这些都没有帮助。有人可以建议解决这个问题的方法吗?