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

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`

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

adb server version mismatch react-native run-android

Here is the solution to the problem commonly faced by many of React Native developers that is “adb server version mismatch react-native run-android”. Problem–> adb server version doesn’t match this client; Killing… The main reason for adb server version mismatch react-native run-android problem is the mismatch of your adb version. You can see the problem here … Read moreadb server version mismatch react-native run-android