Cordova Genarate Android App Bundle code example

Example: Cordova Genarate Android App Bundle

1 - run:
      name: Build android!
      command: 'ionic cordova build android --prod --release'

2  - run:
      name: Build an app bundle
      command: 'cd /Users/test_user/project/platforms/android && ./gradlew bundle'
3 - run:
      name: Signing an app bundle
      command: jarsigner -verbose -sigalg SHA1withRSA -digestalg SHA1 -keystore /Users/test_user/project/sign/my_key.keystore /Users/test_user/project/platforms/android/app/build/outputs/bundle/release/app.aab todoapp -storepass my_password

Tags:

Misc Example