No component found for view with name “ARTShape”

This post has the solution for the problem: No component found for view with name “ARTShape”. This problem can be faced while working with Pie charts or the graphs where you need different shapes. I have faced this issue while working with Pie Chart in React Native. This problem can be faced while working with IOS.

Solution:

To solve this problem you need to link the ART library to your React Native project for IOS. You’ll find the React ART library in node_modules/react-native/Libraries/ART/ART.xcodeproj. To Link, the ART library for the IOS open the ProjectName.xcodeproj in Xcode

You will see Project Structure in Left Menu. Click on the Libraries option to expand.

Navigate to node_modules/react-native/Libraries/ART/ART.xcodeproj and drag ART.xcodeproj into the Libraries

Now Open the ART.xcodeproj and navigate to Products. You will see libART.a. Click on the Project in the left sidebar (PieChartExample in this case), now find Build Phase tab in the workspace area where you can see Link Binary With Libraries. (Please make note that  you have selected the Project and then opening the Build Phase)

Now drag the libART.a file into the Link Binary With Libraries.

That’s it! Now you are good to go. Try to build your project again and I should work now. For more about Linking Libraries, you can visit here.

That was the solution to the problem No component found for view with name “ARTShape”. If you have any doubt or you want to share something about the topic you can comment below or contact us here. There will be more posts coming soon. Stay tuned!

Hope you liked it. 🙂

Error: Invalid URL provided tel:XXXXXXXXX in React Native

If you are working with React Native Phone Call then you can face the same problem Error: Invalid URL provided tel: XXXXXXXXX in the React Native.

Reason:

I know the reason is too silly but This question was asked to me so many times. So finally I decided to make a post on it. This error can be faced when you run the calling example or calling feature on an IOS simulator and the reason is simple IOS simulator does not support calling so it gives this error.