Knorr
Knorr
Question 2: 1. package.json 将react-native版本修改为0.68以下,例如 "react-native": "0.67.0" 2. 执行yarn 3. 执行 react-native link @ant-design/icons-react-native (此处就会link) 4. pod install 后 run app 5. 将步骤1修改回去, yarn
> Undefined symbols for architecture x86_64: > "___pthread_set_self", referenced from: > _injectEntry in mach_inject_bundle_stub.o > ld: symbol(s) not found for architecture x86_64 > clang: error: linker command failed with exit...
Use React Native inner components, for example, Text, Image, etc. If you use your custom component, you should recursively pass copilot to children. See the example: [GitHub Issue](https://github.com/mohebifar/react-native-copilot/issues/304)
> const CopilotText = walkthroughable(Text); > > const HomeScreen = () => { const { start } = useCopilot(); const ref = useRef(null); > > return ( Hello world! start()}...