Swipe Gestures not Working in Android- React Native Gesture Handler

Hello Guys, After the last updates many of React Native developers are facing the issue with the gestures. I am getting many emails regarding that so here I have planned to post the solution for Swipe Gestures not Working in Android- React Native Gesture Handler. As per my experience of React Native development, I usually … Read moreSwipe Gestures not Working in Android- React Native Gesture Handler

React Native Autolinking after React Native 0.60

Hey Guys, as you know React Native 0.60 is announced and there are lots of updates that you can see in the new version of React Native but here I want to highlight the Autolinking in this post which will change the process to linking a library. Here are the main things that React Native … Read moreReact Native Autolinking after React Native 0.60

Warning: Invalid prop ‘value’ of type ‘number’ supplied to ‘TextInput’, expected ‘string’

warning_invalid_prop_value

This post is about the Warning: Invalid prop ‘value’ of type ‘number’ supplied to ‘TextInput’, expected ‘string’. You will see this warning while working with TextInput. If you will see the code of the TextInput you will find we directly pass the value from the state/variable to the value prop.

But the prop value requires … Read moreWarning: Invalid prop ‘value’ of type ‘number’ supplied to ‘TextInput’, expected ‘string’

Warning: Failed child context type: Invalid child context `virtualizedCell.cellKey` of type `number` supplied to `CellRenderer`, expected `string`

This post is about the Warning: Failed child context type: Invalid child context virtualizedCell.cellKey of type number supplied to CellRenderer, expected string If are working with the FlatList then you can see this warning. If you check the code that you have written for the FlatList then you can see something similar to the below code. If … Read moreWarning: Failed child context type: Invalid child context `virtualizedCell.cellKey` of type `number` supplied to `CellRenderer`, expected `string`

Separate Libraries under Lean core Project in React Native Version 0.59

Project Lean Core: For the past several months React Native Core Community has been discussing and making progress on a project called “Lean Core”. Over the years React Native has accumulated a lot of parts that are now outdated, unused or otherwise legacy. Question: So the big point of discussion was “React Native is a … Read moreSeparate Libraries under Lean core Project in React Native Version 0.59

`react-native link` without package name is Deprecated

The post react-native link without package name is Deprecated is regarding the deprecation of react-native link without the package name. If you are using a library with some native functionality then you need to make some changes in the Android and IOS files and that is called linking. There are two ways to do that: … Read more`react-native link` without package name is Deprecated

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. … Read moreNo component found for view with name “ARTShape”

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 … Read moreError: Invalid URL provided tel:XXXXXXXXX in React Native

null is not an object (Evaluating ‘NativeModules[“SQLite”][method]’)

The problem “null is not an object (Evaluating ‘NativeModules[“SQLite”][method]’)” is related to SQLite database. When I made the tutorial Example of SQLite Database in React Native everything was well but after some time when React Native version was updated, I faced this issue. Problem: While working with SQLite in React Native you can face the problem “null … Read morenull is not an object (Evaluating ‘NativeModules[“SQLite”][method]’)

Could not Compile Settings File project/android/settings.gradle

While building and installing the app you can face a compilation app that is  Could not Compile Settings File in project/android/settings.gradle. This problem often comes when you link a project dependency in the windows machine and try to run it on Emulator/Device (especially after linking react-native-gesture-handler). Problem: After linking any dependency when we build the project: Build failed with … Read moreCould not Compile Settings File project/android/settings.gradle