Month: July 2019

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 – …

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

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 support portrait orientation only. By default, react native works on both orientations- portrait and landscape. Let’s check how to make the app restricted to portrait in react native. To make the app portrait only …

How to Make your React Native App Restricted to Portrait Orientation Read More »

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 a device is tablet or not in React Native. I prefer to use react native device info library …

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

Android APK Build Failed Couldn’t follow Symbolic Link React Native Error Fix

I was trying to build APK file from an old react native project which runs react native version 0.55.4 and the build failed and the following error had shown up in the terminal. FAILURE: Build failed with an exception.What went wrong: Could not list contents of ‘/media/rashid/B0305F9E305F6A7C/MyProject/node_modules/.bin/pbjs’. Couldn’t follow symbolic link. So, how did I …

Android APK Build Failed Couldn’t follow Symbolic Link React Native Error Fix Read More »

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

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 data from one screen to another in react native. React navigation is the most popular react native library for navigation. I …

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

How to Integrate Facebook Phone Number Authentication to React Native App

Last Updated on September 14, 2019. Update: Facebook Account Kit will be deprecated by 9, March, 2019. Check out my blog post about this here. Nowadays, many apps prefer authentication through mobile phone number. In this kind of authentication, the user doesn’t need to remember the password and what all he needs to enter OTP. …

How to Integrate Facebook Phone Number Authentication to React Native App Read More »

How to Hide Keyboard Programmatically in React Native

Last Updated on December 14, 2020. The appearance of Keyboard in your react native app may make behavioral changes in your user interface and hence sometimes we may need to hide the Keyboard to not affect the UI. Hiding or dismissing keyboard programmatically in react native is pretty easy. You just need to import Keyboard …

How to Hide Keyboard Programmatically in React Native Read More »