Posts

Showing posts with the label app signing

Build Automation for React-Ionic-Capacitor App using Gulp

Image
Hi Everyone, in this article we are going to automate build process of a React-Ionic-Capacitor app using Gulp. If you would like to know how to create a mobile app with React/Ionic/Capacitor combo feel free to visit my previous article  How to Make a Mobile App with React, Ionic and Capacitor I am going to use the same app codebase from above link for this tutorial. Initially my application look like below : As the first step I am going add few dependencies for this process (1) Gulp (2) Child_process I am also installing gulp as global Now we are going to create a file gulpfile.js in the root folder of the project. Below commands we are going to execute one by one by creating gulp task for each: 1. npm run build : to build the project 2. npm cap sync : to sync project with native code 3. gradlew clean : to clean gradle 4. gradlew assembleDebug : to create debug build 5. gradlew assembleRelease : to create release After those we will create a fina...