我正在尝试使用这个包
https://github.com/react-native-community/react-native-linear-gradient
对于 ios,我遵循了这些步骤;
npm i --save react-native-linear-gradient
react native 链接
然后我重新启动我的打包程序并运行 react-native run-ios 应用程序有效。 然后我像这样导入包
import RNAccountKit from 'react-native-facebook-account-kit';
然后应用失败。
这里是问题详情; https://github.com/react-native-community/react-native-linear-gradient/issues/323
有什么想法吗?
最佳答案
不要自动安装,请尝试手动安装,然后重试
关于ios - React Native 线性渐变包在 IOS 上不起作用,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/51465006/