Giter Site home page Giter Site logo

Comments (9)

Hermanya avatar Hermanya commented on May 2, 2024 8

I think you need to

yarn add react-native-svg
react-native link react-native-svg

For our testing we use expo, and it comes with react-native-svg out of the box.

from react-native-chart-kit.

jmknoll avatar jmknoll commented on May 2, 2024 1

Adding on to @Hermanya

react-native-svg currently has a bug where automatic linking pulls in libRNSVG-tvOS.a to your Link Binary with Libraries list. Either manually add the project to Xcode, or remove libRNSVG-tvOS after running react-native link react-native-svg

See more here

from react-native-chart-kit.

prasad456 avatar prasad456 commented on May 2, 2024 1

I had fixed this issue by removing pods and run react-native link react-native-svg and then reinstalling the pods for iOS
for Android it works fine from before

from react-native-chart-kit.

noluckjustskill avatar noluckjustskill commented on May 2, 2024

Do not forget rebuild your app: react-native run-android

from react-native-chart-kit.

prasad456 avatar prasad456 commented on May 2, 2024

All working fine with example app, but while integrating to main project displaying this issues

Not Working for me, I have tried all

after link this was adding in podfile
pod 'RNSVG', :path => '../node_modules/react-native-svg'

I have installed previously linear-gradient package and installl pods for react-native-crop-image-picker

does this effects on this package?
please respond me

from react-native-chart-kit.

Hermanya avatar Hermanya commented on May 2, 2024

I don't think it does, if you could make another example project, more similar to your main project, to reproduce this issue. I could take a look.

My suspicion is that your main project might have older versions of dependencies.

from react-native-chart-kit.

prasad456 avatar prasad456 commented on May 2, 2024

@Hermanya

Thanks for the reply, these are my dependencies can you please checkout what are the older versions

"@expo/vector-icons": "^8.0.0",
"email-validator": "^2.0.4",
"moment": "^2.23.0",
"native-base": "^2.8.1",
"react": "16.5.0",
"react-native": "0.57.2",
"react-native-autocomplete-input": "^3.6.0",
"react-native-cardview": "^2.0.2",
"react-native-chart-kit": "^2.0.1",
"react-native-code-input": "^1.0.6",
"react-native-datepicker": "^1.7.2",
"react-native-elements": "^0.19.1",
"react-native-image-crop-picker": "^0.21.3",
"react-native-linear-gradient": "^2.4.3",
"react-native-masked-text": "^1.9.2",
"react-native-pure-chart": "0.0.24",
"react-native-push-notification": "^3.1.2",
"react-native-rating": "^2.0.4",
"react-native-simple-dialogs": "^1.0.0",
"react-native-simple-toast": "0.0.8",
"react-native-splash-screen": "^3.1.1",
"react-native-svg": "^9.0.5",
"react-native-vector-icons": "^6.0.2",
"react-navigation": "^2.17.0"
simulator screen shot - iphone 6 - 2019-01-29 at 11 52 55

from react-native-chart-kit.

fabOnReact avatar fabOnReact commented on May 2, 2024

I think you need to

yarn add react-native-svg
react-native link react-native-svg

For our testing we use expo, and it comes with react-native-svg out of the box.

yes, maybe that is the problem.. you could mention this in the installation guide. I had to install react-native-svg and I am using xcode

from react-native-chart-kit.

Hermanya avatar Hermanya commented on May 2, 2024

updated installation instructions

from react-native-chart-kit.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.