remove console.log in react native

How to Remove console.log from Production in React Native

When you are developing a react native app, it’s usual to use console.log function for debugging purposes. Extensive use of console.log may make your app slow. Hence, it would be good to remove console.log from production. There are libraries such as redux logger which uses console.log. Manually removing console.log is not easy. Luckily, there’s a …

How to Remove console.log from Production in React Native Read More »

Expiring Daemon because JVM heap space is exhausted

How to Fix ‘Expiring Daemon because JVM heap space is exhausted’ React Native Error

When you integrate heavy third-party libraries such as OneSignal, there are chances you face Expiring Daemon because JVM heap space is exhausted error. This error occurs when you try to run your react native project on Android devices. The issue is Android-specific and it’s happening because allocated JVM memory is not enough to build your …

How to Fix ‘Expiring Daemon because JVM heap space is exhausted’ React Native Error Read More »

unrecognized command start react native

How to Fix Unrecognized command “start” React Native Error

Nowadays, I face very few issues regarding react native command line. But recently when I executed the react-native start command on the terminal I got the following error. Apparently, this wasn’t a react native issue. It was a mistake from me. I should have executed the npx react-native start command from the project folder and …

How to Fix Unrecognized command “start” React Native Error Read More »

react native payment gateway

How to Integrate RazorPay Payment Gateway in React Native

Razorpay is a popular payment gateway among developers, especially in India. In this react native tutorial, let’s check how to add the Razorpay payment gateway in your react native project. I assume you have an account with Razorpay. Get test API keys from Settings > API Keys. Real money is not used when you use …

How to Integrate RazorPay Payment Gateway in React Native Read More »

wireless debugging react native android

How to do Wireless Debugging in React Native with Android Devices

Usually, we run react native apps on real Android devices using the USB debugging method. The main issue with this method is that you need your device connected through a USB cable all the time. In this blog post, let’s how to debug or run your react native apps over a wireless network (WiFi). First …

How to do Wireless Debugging in React Native with Android Devices Read More »

Text response react native fetch

How to Handle Text API Response using Fetch in React Native

We get API response mostly in JSON format. It’s due to the simplicity and popularity of JSON. Sometimes, developers prefer to give API response in raw text. In this blog post, let’s check how to handle text response using Fetch in react native. React Native provides Fetch API for our networking needs. Fetch returns promise …

How to Handle Text API Response using Fetch in React Native Read More »

react native flatlist warning

How to Fix Failed child context type: Invalid child context Warning in React Native

When you use components such as FlatList, you may get few warnings in react native. Even though these warnings may not appear as crucial it’s always better to fix those warnings. One such warning you may come across is given below. Warning: Failed child context type: Invalid child context virtualizedCell.cellKey of type number supplied to …

How to Fix Failed child context type: Invalid child context Warning in React Native Read More »

More than one file was found with OS independent path ‘lib/x86/libc++_shared.so’ React Native Error Fix

It’s usual to encounter unprecedented errors when you are using so many third-party libraries in your react native project. Recently I faced a build error when I tried to run a react native android app. Following is the error shown in the terminal. Execution failed for task ‘:app:mergeDebugNativeLibs’.A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacadeMore than one …

More than one file was found with OS independent path ‘lib/x86/libc++_shared.so’ React Native Error Fix Read More »

How to Capture Digital Signature in React Native

Nowadays, everything happens digitally. Sometimes, we may need to capture the signatures of users digitally for our applications. We can capture the signature in react native with the help of a third-party library named react native signature canvas. The react native signature canvas provides a canvas component where the user can put the signature. So, …

How to Capture Digital Signature in React Native Read More »