gabinete-digital

Gabinete Digital v0.1

node >= 14

Use the package manager npm to install dependencies.

npm ci
npm install
npm install -g @ionic/cli
npm install -g lite-server
npm install -g @angular/cli
npm install -g cordova
npm install -g cordova-res

## memory leak
set NODE_OPTIONS=--max_old_space_size=99999996 &&
npm i cordova-plugin-androidx-adapter --force &&
npm install jetifier --force &&
npx jetify --force

Java version 11

ionic build && npx cap add android && npx cap update

Fix cordova-plugin-camera crash

## uninstall
npx cordova plugin remove cordova-plugin-camera
## install

npx cordova plugin add https://github.com/PieterVanPoyer/cordova-plugin-camera/#bugfix/issue-665-save-instance-restore-bug
ionic serve
ionic serve build --prod
npm run start
# incase you don't have .env file
cp ./.env.example ./.env
# incase you don't have a local build yet
ionic serve build --prod

npm run test
ionic build --prod
cp -r ./www ./serve
npm run dev:share

Open xcode

ionic cap copy && ionic cap update && ionic cap open ios &&

Android

npx cap copy android && ionic cap sync android

git tag stable

For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.