所以我尝试使用一个叫做react-native-router-flux的包;
但每次我导入它时:
import { Scene } from 'react-native-router-flux';我得到了一个奇怪的错误:
TypeError: null is not an object (evaluating '_RNGestureHandlerModule.default.Direction') 并且我已经安装了这两个包:
"react-native-gesture-handler": "^1.8.0",
"react-native-router-flux": "^4.2.0",那么它的来源是什么呢?
发布于 2020-11-12 18:59:44
ios文件夹上的pod安装适用于我
cd ios
pod install来源:https://github.com/software-mansion/react-native-gesture-handler/issues/676
https://stackoverflow.com/questions/64802200
复制相似问题