How to Create a Navigator without Back Actions in React Native

Update: This tutorial is outdated. I suggest you check out the authentication flow from the official documentation. While creating an authentication flow we usually don’t want the screens to navigate back. In such situations, we want a navigator which resets the navigation history while navigating. In this blog post, I will show you how to…

How to Disable Scrolling on Flatlist in React Native

By default, the behavior of the FlatList component of react native is to scroll. But, in some unusual situations, you may want to disable scrolling in react native FlatList. This blog post goes through how to disable scrolling in FlatList. As you know, FlatList inherits the props of the ScrollView component. Hence you can use…

jre/bin/java Access Denied Android Studio Update Conflict Issue Fix in Ubuntu

Yesterday, I created a new react native project with the latest react native version 0.60 and tried to open it in my Android Studio but I got a response saying you can’t open the project with the current version of Android Studio. So, I decided to update my Android Studio to the latest version –…

How to Make your React Native App Restricted to Portrait Orientation

Some famous apps out there such as Instagram are restricted to portrait orientation. You may also want your react native app to support portrait orientation only. By default, react native works on both orientations- portrait and landscape. Let’s check how to restrict the app to portrait in react native. To make the app portrait only…

How to Check a Device is Tablet or not in React Native

There are tons of mobile devices including smartphones and tablets with different dimensions and resolutions. Hence, sometimes it is important for developers to identify the device. In this blog post, I will tell you how to detect whether a device is a tablet or not in React Native. I prefer to use react native device…

How to Pass Data from One Screen to Another while Navigating in React Native

Update: This is an old post. I have created a new tutorial with typescript. Check out the blog post given here. Navigation is an important aspect of any react native mobile application. While navigating from screen to screen, you may also want to pass data. In this blog post, you can learn how to pass…