Posts

Showing posts with the label jarSign

Automate Android APK Signing using Gulp for React Capacitor App (KeyStore, JarSigner, KeyTool)

Image
Hello , in this article we are going to discuss how we can automate android APK signing process using gulp. If you would like to know how we can automate build process of react-capacitor app you may check   Build Automation for React-Ionic-Capacitor App using Gulp We are going to use same app mentioned above, to create a signed APK. You can check  Ionicframework Playstore deployment  page to basic steps that are involved in this process. As a first step we are going to create the KeyStore file, this step should not be included in automation process as it should be done only once. So let's create. We will use command :  keytool -genkey -v -keystore my-release-key.keystore -alias alias_name -keyalg RSA -keysize 2048 -validity 10000 You may change alias name, keystore filename etc as you wish. Once you put the command in command promt or terminal it will ask few details : Password, First Name/Last Name, As you can see keystore file has been saved in pr...