A common template for all DVSA Ionic5 applications.
- Node
- npm
- Ionic CLI:
npm install -g ionic
- Capacitor
npm install @capacitor/core @capacitor/cli
- Cocoapods
brew install cocoapods
- NOTE: you wil need to obtain
ionic-config.json
and.npmrc
files containing the ionic enterprise licence keys and save to the project root in order to build the app.
npm i
npm run build
ionic capacitor add ios
ionic cap sync
todo- For simulator
ionic cap run ios -l --external
this will open xcode where you can select your device and click play - For browser
ionic serve
- Environment file is currently configured for DES locally, needs to be replaced with app specific values and configured to use Mdm
- Function validateDeviceType() needs to check that the device its running on is supported
- Function logout() in authentication.ts needs to reset state (if app will use a state manager)