|

How to Integrate ‘Sign in with Google’ in React Native (Android)

Most of the mobile users in this world have atleast one google account. Hence, using Google account to authenticate user is always used in many mobile apps. In this blog post, let’s see how to setup ‘sign in with google’ in react native. First of all, go to Firebase console and add a new project….

APK Upload Failed even after Updating Version Code Google Play Console Error Fix

Recently, my APK upload failed multiple times when I was trying to update one of my react native apps through Google Play Publisher portal. The error says that Upload Failed – You need to use a different version code for your APK or Android App Bundle beacuse you already have one with xx . The…

How to get SHA1 Fingerprint of React Native App using Android Studio

SHA1 fingerprint, the secure hash algorithm, is basically a signature of a sequence of bytes. Sometimes, you need to get SHA1 fingerprint from your react native app. Google services like Firebase always require SHA1 fingerprint of your app. So, Follow the steps given below to get SHA1 fingerprint from your react native app using Android…

How to get SHA1 Fingerprint of React Native App using Android Studio

SHA1 fingerprint, the secure hash algorithm, is basically a signature of a sequence of bytes. Sometimes, you need to get SHA1 fingerprint from your react native app. Google services like Firebase always require SHA1 fingerprint of your app. So, Follow the steps given below to get SHA1 fingerprint from your react native app using Android…

Execution failed for task ‘:app:validateSigningDebug’ React Native Error Fix

I created a new react native project with react native version 0.60.5 and faced a new react native issue when I tried to run the project on my Android emulator. The react native error I faced was Execution failed for task ‘:app:validateSigningDebug’ as given in the screenshot below. As written in the error, I was…

Execution failed for task ‘:app:validateSigningDebug’ React Native Error Fix

I created a new react native project with react native version 0.60.5 and faced a new react native issue when I tried to run the project on my Android emulator. The react native error I faced was Execution failed for task ‘:app:validateSigningDebug’ as given in the screenshot below. As written in the error, I was…

How to use BackHandler with React Navigation in React Native

On Android devices, users prefer the hardware back button to navigate back. Even though the actions of the back button are generally desirable, sometimes you may need to customize the action of the hardware button. In this blog post, Let’s see how to customize the back button actions using BackHandler and react-navigation library. The BackHandler…

‘ERROR: Running multiple emulators with the same AVD is an experimental feature’ Android Emulator Error Fix

As a react native user, I prefer to run android emulator using the command line. Thus, I can avoid opening Android Studio. Sometimes, I can’t run the emulator as I face the following Android emulator error: emulator: ERROR: Running multiple emulators with the same AVD is an experimental feature. Please use -read-only flag to enable…

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 Screen Record and Take Screenshots from Android Emulator without using Android Studio

If your PC has low configurations then opening the Android emulator and Android Studio simultaneously may make it slow. In this blog post, I explain how to take screenshots as well as screen records from an Android emulator without opening Android Studio. First of all, you have to launch the Android emulator using the terminal….

HTTP Requests not Working in Android Pie React Native Issue Fix

Android Pie onwards Google has added a new layer of network security which allows only secured https requests and disable http requests by default. But no worries, you can enable http requests by using network security configuration feature. First of all navigate to YourProject > android > app > src > main > res and…