Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save hungdev/851d97fd22966902d83585f8cf3fa7f7 to your computer and use it in GitHub Desktop.

Select an option

Save hungdev/851d97fd22966902d83585f8cf3fa7f7 to your computer and use it in GitHub Desktop.
Confic react-native-maps and react-native-charts-wrapper

Do the following to fix this collisions: react-native-maps/react-native-maps#1615 (comment)

Go to the node_modules/react-native-charts-wrapper/iOS
Run: grep -rn “onSelect” .
Replace all instances found of onSelect with onChartSelect
Go to the node_modules/react-native-charts-wrapper/lib
Run: grep -rn “onSelect” .
Replace all instances found of onSelect with onChartSelect

==========

Open node_modules/react-native-charts-wrapper by VsCode

Replace all instances found of onSelect with onChartSelect

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment