gbosetti / trap-mobile

This is a triage frontend mobile application build in IONIC to control the visitors of any facilities with a guard.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

REQUIREMENTS

This application is developed as the frontend of a triage platform, to be used by guards at the entrance of a campus. It was developed using the following configuration:

Ionic:

Ionic CLI : 5.4.16 (/usr/lib/node_modules/ionic) Ionic Framework : ionic1 1.3.4 @ionic/v1-toolkit : 1.0.22

Cordova:

Cordova CLI : 9.0.0 (cordova-lib@9.0.1) Cordova Platforms : android 8.1.0 Cordova Plugins : cordova-plugin-ionic-keyboard 2.2.0, cordova-plugin-ionic-webview 4.2.1, (and 4 other plugins)

Utility:

cordova-res : not installed native-run : not installed

System:

Android SDK Tools : 26.1.1 (/home/gabi/Android/Sdk) NodeJS : v10.20.1 (/usr/bin/node) npm : 6.14.4 OS : Linux 4.15

npm i @ionic/lab --save-dev

Setup

  1. Set up the backend https://github.com/gbosetti/trap-backend

  2. Clone the project and install dependencies:

git clone https://github.com/gbosetti/trap-mobile
cd trap-mobile
npm install
  1. Run the command to start the Ionic app: ionic serve -l

or: ionic cordova run android --device

or: ionic cordova run android -l and visit chrome://inspect/#devices

  1. To deploy: ionic cordova build android --prod

Backend

https://github.com/gbosetti/trap-backend

Demos

https://www.youtube.com/playlist?list=PLHuNJBFXxaLDFt2sIIo-4rQIkes2s7WaN

Signing a release

ionic cordova build android --prod --release
cd ./platforms/android/app/build/outputs/apk/release
keytool -genkey -v -keystore my-release-key.keystore -alias alias_name -keyalg RSA -keysize 2048 -validity 10000
jarsigner -verbose -sigalg SHA1withRSA -digestalg SHA1 -keystore ./my-release-key.keystore ./app-release-unsigned.apk trap
zipalign -v 4 app-release-unsigned.apk trap-triage.apk

About

This is a triage frontend mobile application build in IONIC to control the visitors of any facilities with a guard.

License:Other


Languages

Language:TypeScript 69.3%Language:HTML 16.3%Language:CSS 12.1%Language:JavaScript 2.4%