How to automatically sign android applications with the Ionic CLI

You can implement your own build script which copy’s the .properties file.

My build script for the following.

  1. npm install
  2. ionic platform add ios
  3. ionic platform add android
  4. copy the property file to the platform/android folder
  5. ionic build ios --prod --release
  6. ionic build android --prod --release

Because I’m using GitlabCI and TeamCity I just have to push to my master branch and the build server do the rest for me.

2 Likes