FullstackStation / react-native-svg-animated-linear-gradient

A wrap SVG component for animated linear gradient
MIT License
434 stars 110 forks source link

Is this library work for iOS? #29

Open miedzikd opened 4 years ago

miedzikd commented 4 years ago

Hello :) Thanks for amazing work! Im very happy to use this library... works perfectly on android... but... on iOS only empty place is inserted... I see nothing there....

Maybe this is related to this: I followed this directions to install this library:

npm i react-native-svg-animated-linear-gradient --save
npm i react-native-svg
react-native link react-native-svg

but last command return:

react-native: command not found

I made small research and found that: https://stackoverflow.com/questions/44977693/react-native-link-using-expo

cristianmiranda commented 4 years ago

What version of react are you using? Autolinking should take care of it, I guess you can try skipping that step. https://github.com/react-native-community/cli/blob/master/docs/autolinking.md

miedzikd commented 4 years ago

I using React "16.9.0" with Expo "^36.0.0"

cristianmiranda commented 4 years ago

Have you tried skipping that command? I'd do this just in case:

npm i -s react-native-svg-animated-linear-gradient
npm i -s react-native-svg
cd ios && pod install && cd ..

And then run the app on iOS however you've been running it so far.