react-native-svg-animated-linear-gradient icon indicating copy to clipboard operation
react-native-svg-animated-linear-gradient copied to clipboard

Is this library work for iOS?

Open miedzikd opened this issue 5 years ago • 3 comments

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

miedzikd avatar Mar 07 '20 19:03 miedzikd

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

cristianmiranda avatar Mar 28 '20 20:03 cristianmiranda

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

miedzikd avatar Mar 29 '20 12:03 miedzikd

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.

cristianmiranda avatar Mar 29 '20 15:03 cristianmiranda