How to implement CI/CD for Android apps using Azure Pipeline

Continuous Integration(CI) and Continuous Deployment(CD) play an essential role, especially when working in a team. In our project, we are following Agile methodology & we do multiple releases during the week. To ensure that the build is generated without any error, CI/CD proves advantageous. "There should be two tasks for a human being to perform to deploy software into a development, test, or production environment: to pick the version and environment and to press the “deploy” button." David Farley For every feature, we create a separate pull request. Every time on commit, CI automatically triggers

How To Test API Response With MockWebServer Library The Right Way

Nowadays, writing test cases for every feature of your app has become inevitable! It ensures the app’s correctness, behaviour, and usability at any given moment. For unit & integration testing, Android supports multiple frameworks. Recently we were working on an Android application that was full of API calls. Most of them were nested or getting called at the same time. To achieve maximum code coverage, we decided to write test cases that include API calls. For obvious reasons, it's not a good practice to call the actual API for test cases. After exploring a lot of libraries, we found

Setup React Native Web App with TypeScript and WebPack

In this tutorial we will setup react native web app locally and deploy on Render. Before we start with the react-native-web setup, I assume that you have installed Node.js, Yarn and react-native-cli on your machine. 1. Setup React Native App with TypescriptTo create react native app you need to run following command react-native init ReactNativeWebApp This command will create react native app and your app directory will look like as shown in the following image (image 1.1) image 1.1: Project rootTo add typescript to our app first we need to install react-native-typescript-transformer yarn add --dev react-native-typescript-transformer typescript

Introduction To Android Autofill Framework

The Autofill framework introduced by Google from Android Oreo i.e. 8.0 (API 26) and later. With the help of autofill framework user can store their username, password, email, and credit card number, etc. just like a web browser. Benefits of Autofill Reduced time: Filling form is a time-consuming process; autofill framework helps to saves users from retyping the information. Reduce input errors: Typing is prone to errors, especially in mobile devices. Using this it is not necessary to type information also removes the errors that come with it. Prerequisites OS Version: Android 8.0 or later Autofill Service: