Skip to main content

Posts

Showing posts from January, 2020

How to set zoom scale in webview in react native

const INJECTEDJAVASCRIPT = `const meta = document.createElement('meta'); meta.setAttribute('content', 'width=device-width, initial-scale=0.5, maximum-scale=0.5, user-scalable=0'); meta.setAttribute('name', 'viewport'); document.getElementsByTagName('head')[0].appendChild(meta); ` < WebView source ={{ html : params . content . rendered }} scalesPageToFit ={ isAndroid () ? false : true } injectedJavaScript ={ INJECTEDJAVASCRIPT } scrollEnabled />

React Native Database – Choosing the right database for your React Native app

Quick Summary :-  React Native, the framework hailed as the best choice for developing React Native apps has some relatively good options for data storage. Let's explore these options in this article. With React Native  being looked up as an ideal choice of developing applications, most of the organizations and developers are relying on the framework to ship high-performant native apps. There is a huge pressure on a React Native developer to deliver offline-first and high performing application that can be scaled whenever needed. Thus, it’s often challenging for developer to choose the right technology stack including the appropriate database for React Native. In this article, we have handpicked everything you need to know in order to select the right database for React Native.  Local React Native Database options  We will first start with local databases. The local data storage options for React Native are listed below (Click on t...

Integrate Touch ID and Face ID to your React Native App

Adding authentication using the user’s Touch ID or the new Face ID is easier than ever in your React Native App. Using Touch ID also known as fingerprint authentication is extremely popular in mobile apps. The Touch ID feature secures the app and makes it a seamless authentication flow for the user. Many banking apps like Bank of America, Discover, Chase, use Touch ID authentication enabling secure and seamless authentication. The users don’t have to type the long passwords every time at login, by allowing them to login with their Touch ID. With the iPhone X we have the provision to use Face ID authentication. Both Touch ID and Face ID authentication have improved the user’s interaction with mobile apps, making them secure. In this post we are going to integrate Touch ID and Face ID authentication using the popular react-native-touch-id library. Installation Installation is fairly simple with the react-native-touch-id library. If you are using yarn run t...