Category: Mobile
NodeJs ZLIB – Zip and Unzip files using Nodejs
Compression and decompression of files also mean to zip or unzip files using Nodejs. It is implemented in Nodejs using the Zlib module. We can access Zlib using the following command. const zlib = require(‘zlib’); Zip and Unzip of files
Tab view in React-Native
It provides various packages to create tabs like views in the application. So react-native-tab-view is one of them. This component is implemented using the react-native-pager-view which is another component that allows the user to swipe left or right throughout the
React-Native-Fast-Image Introduction
For the most part, React Native’s Image component handles image caching in the same way as browsers do. If the server is returning proper cache-control headers for images you’ll generally get the sort of built-in caching behavior you’d have in
Service layer in Angular
Angular service is very useful to organize business logic or data in the different components of an application. The methods written in the service file can be invoked from different typescript files of a component. The controller is responsible for
Hooks in React
Hooks are the new feature of the react. They let you use the state and other features of React without creating a class. They are mainly used to handle state and other side effects in react functional components. Side effects
Deploying a React App on Linux based Server
Step 1. Creating a React App Install Create React App with the following command: npm install -g create-react-app Run this command to create a new app called my-reactapp: npx create-react-app my-reactapp Step 2. Reconfigure package.json. Go to the specified directory
Rename package name in React-native
In react-native, To create a new application we use the following command: react-native init MyApp This command will create a package name with com.myapp. Sometimes, if your application is created with the wrong package name or bundle id or you
Increase React Native App Performance
React Native apps have numerous benefits like they are fast, cost-efficient, and offer a nearly native look. But, when it is not done properly, it can lead to performance issues. So, while making you react to native applications, developers need
How to get phone contacts in the react-native application
To get phone contacts in the react-native application, it provides a package called react-native-contacts. This package provides you with all the contacts and their info from your mobile device. Installation: npm install react-native-contacts –save For ios: cd ios && pod