Skip to content

Latest commit

 

History

History
44 lines (31 loc) · 794 Bytes

notes_deploy_apk.md

File metadata and controls

44 lines (31 loc) · 794 Bytes

How to deploy

Commands to generate apk

npm run build
npm i @capacitor/ios @capacitor/android
npm install @capacitor/cli@latest @capacitor/core@latest
npm install capacitor-resources
npx cap add android
npx cap open android
yarn run resources

Si ya existe el android se ha de:

yarn build
npx cap copy android

Para publicar nuevas versiones de producción se ha de buscar en android studio:

- versionName "1.1"

E incrementarlo junto con el versionCode para que nos lo detecte como diferente

Genate commands

Para generar los iconos: https://stackoverflow.com/questions/61648428/how-to-replace-icon-and-splash-in-capacitor

npx cap add ios npx cap open ios

Upgrade dependencies dinamically:

yarn upgrade-interactive --latest