How to Save and Retrieve JavaScript Objects through AsyncStorage in React Native

AsyncStorage is used to store data in key-value pairs. Plain and small data can be easily stored with AsyncStorage. If you have something big then adding key-value pairs for every bit of information is ineffective. In such cases, you can convert them to JavaScript objects and store them in AsyncStorage. Before saving AsyncStorage you need…

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…

How to Limit Maximum Number of Characters in React Native TextInput

Sometimes you don’t want the user to input many characters through React Native TextInput component. Fortunately, react native TextInput has a prop to limit the characters the user enters. The maxLength property of TextInput limits the number of maximum characters that can be entered. You can use it as given in the code snippet given…

How to Reload Android Emulator for React Native Development

While developing react native apps for the Android platform, you always want to use an Android emulator. In this blog post let’s learn how to reload the Android emulator for react native using keyboard shortcuts. In order to reload the Android simulator just press R twice ad you can see the app reload instantly. If…

How to Take Screenshot from Android Emulator without Opening Android Studio

Yes, you can take a screenshot from the Android emulator even without opening Android Studio. First of all, run your Android emulator. If you want to know how to run an Android emulator without opening Android Studio then check out this blogpost. In order to take a screenshot, you just need to press ctrl +…