iddan / react-native-canvas

A Canvas component for React Native
MIT License
981 stars 172 forks source link

error #311

Closed bit001101 closed 1 year ago

bit001101 commented 1 year ago

hi there, I’ve installed react-native-canvas in my project using vsCode.

first thing: the line - react-native link react-native-webview doesn’t run on terminal

second: I’ve copied the example and it doesn’t run it throws an error of displayName

Can anybody orient me on those issues?

TKS

Cody-walsh commented 1 year ago

I had the same issue with linking in the terminal. after searching online I've found that after a certain version of react native, when installing a library it will auto link. to check that it has been linked just go look at your package.json dependencies and see if react-native-webview is there. after installing it you will need to run "pod install" in the iOS directory of your project and you should be good to go.

BraveEvidence commented 1 year ago

This might help https://www.youtube.com/watch?v=wKr1kxNccgo