add google service and build configuration
@ -0,0 +1,118 @@
|
||||
{
|
||||
"prepare_queue": {
|
||||
"installed": [],
|
||||
"uninstalled": []
|
||||
},
|
||||
"config_munge": {
|
||||
"files": {}
|
||||
},
|
||||
"installed_plugins": {
|
||||
"call-number": {
|
||||
"PACKAGE_NAME": "io.ionic.starter"
|
||||
},
|
||||
"cordova-android-support-gradle-release": {
|
||||
"ANDROID_SUPPORT_VERSION": "27.+",
|
||||
"PACKAGE_NAME": "io.ionic.starter"
|
||||
},
|
||||
"cordova-opentok-android-permissions": {
|
||||
"PACKAGE_NAME": "io.ionic.starter"
|
||||
},
|
||||
"cordova-plugin-android-permissions": {
|
||||
"PACKAGE_NAME": "io.ionic.starter"
|
||||
},
|
||||
"cordova-plugin-appavailability": {
|
||||
"PACKAGE_NAME": "io.ionic.starter"
|
||||
},
|
||||
"cordova-plugin-apprate": {
|
||||
"PACKAGE_NAME": "io.ionic.starter"
|
||||
},
|
||||
"cordova-plugin-badge": {
|
||||
"PACKAGE_NAME": "io.ionic.starter"
|
||||
},
|
||||
"cordova-plugin-ble-central": {
|
||||
"PACKAGE_NAME": "io.ionic.starter"
|
||||
},
|
||||
"cordova-plugin-camera": {
|
||||
"PACKAGE_NAME": "io.ionic.starter"
|
||||
},
|
||||
"cordova-plugin-device": {
|
||||
"PACKAGE_NAME": "io.ionic.starter"
|
||||
},
|
||||
"cordova-plugin-fingerprint-aio": {
|
||||
"PACKAGE_NAME": "io.ionic.starter"
|
||||
},
|
||||
"cordova-plugin-globalization": {
|
||||
"PACKAGE_NAME": "io.ionic.starter"
|
||||
},
|
||||
"cordova-plugin-inappbrowser": {
|
||||
"PACKAGE_NAME": "io.ionic.starter"
|
||||
},
|
||||
"cordova-plugin-ionic-keyboard": {
|
||||
"PACKAGE_NAME": "io.ionic.starter"
|
||||
},
|
||||
"cordova-plugin-ionic-webview": {
|
||||
"ANDROID_SUPPORT_ANNOTATIONS_VERSION": "27.+",
|
||||
"PACKAGE_NAME": "io.ionic.starter"
|
||||
},
|
||||
"cordova-plugin-local-notification": {
|
||||
"PACKAGE_NAME": "io.ionic.starter"
|
||||
},
|
||||
"cordova-plugin-mauron85-background-geolocation": {
|
||||
"GOOGLE_PLAY_SERVICES_VERSION": "16.0.0",
|
||||
"ANDROID_SUPPORT_LIBRARY_VERSION": "26+",
|
||||
"ICON": "@mipmap/icon",
|
||||
"SMALL_ICON": "@mipmap/icon",
|
||||
"ACCOUNT_NAME": "@string/app_name",
|
||||
"ACCOUNT_LABEL": "@string/app_name",
|
||||
"ACCOUNT_TYPE": "$PACKAGE_NAME.account",
|
||||
"CONTENT_AUTHORITY": "$PACKAGE_NAME",
|
||||
"PACKAGE_NAME": "io.ionic.starter"
|
||||
},
|
||||
"cordova-plugin-nativestorage": {
|
||||
"PACKAGE_NAME": "io.ionic.starter"
|
||||
},
|
||||
"cordova-plugin-sms-receive": {
|
||||
"PACKAGE_NAME": "io.ionic.starter"
|
||||
},
|
||||
"cordova-plugin-splashscreen": {
|
||||
"PACKAGE_NAME": "io.ionic.starter"
|
||||
},
|
||||
"cordova-plugin-statusbar": {
|
||||
"PACKAGE_NAME": "io.ionic.starter"
|
||||
},
|
||||
"cordova-plugin-themeablebrowser": {
|
||||
"PACKAGE_NAME": "io.ionic.starter"
|
||||
},
|
||||
"cordova-plugin-whitelist": {
|
||||
"PACKAGE_NAME": "io.ionic.starter"
|
||||
},
|
||||
"cordova-sms-plugin": {
|
||||
"PACKAGE_NAME": "io.ionic.starter"
|
||||
},
|
||||
"cordova-sqlite-storage": {
|
||||
"PACKAGE_NAME": "io.ionic.starter"
|
||||
},
|
||||
"cordova-support-google-services": {
|
||||
"PACKAGE_NAME": "io.ionic.starter"
|
||||
},
|
||||
"cordova.plugins.diagnostic": {
|
||||
"ANDROID_SUPPORT_VERSION": "28.+",
|
||||
"PACKAGE_NAME": "io.ionic.starter"
|
||||
},
|
||||
"phonegap-plugin-barcodescanner": {
|
||||
"ANDROID_SUPPORT_V4_VERSION": "27.+",
|
||||
"PACKAGE_NAME": "io.ionic.starter"
|
||||
},
|
||||
"uk.co.workingedge.phonegap.plugin.launchnavigator": {
|
||||
"PACKAGE_NAME": "io.ionic.starter"
|
||||
}
|
||||
},
|
||||
"dependent_plugins": {
|
||||
"cordova-plugin-actionsheet": {
|
||||
"PACKAGE_NAME": "io.ionic.starter"
|
||||
},
|
||||
"cordova-plugin-dialogs": {
|
||||
"PACKAGE_NAME": "io.ionic.starter"
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,289 @@
|
||||
{
|
||||
"cordova-plugin-whitelist": {
|
||||
"source": {
|
||||
"type": "registry",
|
||||
"id": "cordova-plugin-whitelist@^1.3.3"
|
||||
},
|
||||
"is_top_level": true,
|
||||
"variables": {}
|
||||
},
|
||||
"cordova-plugin-statusbar": {
|
||||
"source": {
|
||||
"type": "registry",
|
||||
"id": "cordova-plugin-statusbar@^2.4.2"
|
||||
},
|
||||
"is_top_level": true,
|
||||
"variables": {}
|
||||
},
|
||||
"cordova-plugin-device": {
|
||||
"source": {
|
||||
"type": "registry",
|
||||
"id": "cordova-plugin-device@^2.0.2"
|
||||
},
|
||||
"is_top_level": true,
|
||||
"variables": {}
|
||||
},
|
||||
"cordova-plugin-splashscreen": {
|
||||
"source": {
|
||||
"type": "registry",
|
||||
"id": "cordova-plugin-splashscreen@^5.0.2"
|
||||
},
|
||||
"is_top_level": true,
|
||||
"variables": {}
|
||||
},
|
||||
"cordova-plugin-ionic-webview": {
|
||||
"source": {
|
||||
"type": "registry",
|
||||
"id": "cordova-plugin-ionic-webview@^3.1.2"
|
||||
},
|
||||
"is_top_level": true,
|
||||
"variables": {
|
||||
"ANDROID_SUPPORT_ANNOTATIONS_VERSION": "27.+"
|
||||
}
|
||||
},
|
||||
"cordova-plugin-ionic-keyboard": {
|
||||
"source": {
|
||||
"type": "registry",
|
||||
"id": "cordova-plugin-ionic-keyboard@^2.1.3"
|
||||
},
|
||||
"is_top_level": true,
|
||||
"variables": {}
|
||||
},
|
||||
"cordova-plugin-mauron85-background-geolocation": {
|
||||
"source": {
|
||||
"type": "registry",
|
||||
"id": "cordova-plugin-mauron85-background-geolocation@alpha"
|
||||
},
|
||||
"is_top_level": true,
|
||||
"variables": {
|
||||
"GOOGLE_PLAY_SERVICES_VERSION": "16.0.0",
|
||||
"ANDROID_SUPPORT_LIBRARY_VERSION": "26+",
|
||||
"ICON": "@mipmap/icon",
|
||||
"SMALL_ICON": "@mipmap/icon",
|
||||
"ACCOUNT_NAME": "@string/app_name",
|
||||
"ACCOUNT_LABEL": "@string/app_name",
|
||||
"ACCOUNT_TYPE": "$PACKAGE_NAME.account",
|
||||
"CONTENT_AUTHORITY": "$PACKAGE_NAME"
|
||||
}
|
||||
},
|
||||
"cordova-sqlite-storage": {
|
||||
"source": {
|
||||
"type": "registry",
|
||||
"id": "cordova-sqlite-storage@^3.2.0"
|
||||
},
|
||||
"is_top_level": true,
|
||||
"variables": {}
|
||||
},
|
||||
"cordova-plugin-nativestorage": {
|
||||
"source": {
|
||||
"type": "registry",
|
||||
"id": "cordova-plugin-nativestorage@^2.3.2"
|
||||
},
|
||||
"is_top_level": true,
|
||||
"variables": {}
|
||||
},
|
||||
"cordova-plugin-ble-central": {
|
||||
"source": {
|
||||
"type": "registry",
|
||||
"id": "cordova-plugin-ble-central@^1.2.2"
|
||||
},
|
||||
"is_top_level": true,
|
||||
"variables": {}
|
||||
},
|
||||
"cordova-plugin-compat": {
|
||||
"source": {
|
||||
"type": "registry",
|
||||
"id": "cordova-plugin-compat@^1.2.0"
|
||||
},
|
||||
"is_top_level": false,
|
||||
"variables": {}
|
||||
},
|
||||
"uk.co.workingedge.phonegap.plugin.launchnavigator": {
|
||||
"source": {
|
||||
"type": "registry",
|
||||
"id": "uk.co.workingedge.phonegap.plugin.launchnavigator@3"
|
||||
},
|
||||
"is_top_level": true,
|
||||
"variables": {}
|
||||
},
|
||||
"cordova-plugin-actionsheet": {
|
||||
"source": {
|
||||
"type": "registry",
|
||||
"id": "cordova-plugin-actionsheet@^2.2.2"
|
||||
},
|
||||
"is_top_level": false,
|
||||
"variables": {}
|
||||
},
|
||||
"cordova-plugin-themeablebrowser": {
|
||||
"source": {
|
||||
"type": "registry",
|
||||
"id": "cordova-plugin-themeablebrowser@^0.2.18"
|
||||
},
|
||||
"is_top_level": true,
|
||||
"variables": {}
|
||||
},
|
||||
"cordova-plugin-globalization": {
|
||||
"source": {
|
||||
"type": "registry",
|
||||
"id": "cordova-plugin-globalization@^1.11.0"
|
||||
},
|
||||
"is_top_level": true,
|
||||
"variables": {}
|
||||
},
|
||||
"cordova-plugin-android-permissions": {
|
||||
"source": {
|
||||
"type": "registry",
|
||||
"id": "cordova-plugin-android-permissions@^1.0.0"
|
||||
},
|
||||
"is_top_level": true,
|
||||
"variables": {}
|
||||
},
|
||||
"cordova-plugin-sms-receive": {
|
||||
"source": {
|
||||
"type": "registry",
|
||||
"id": "cordova-plugin-sms-receive@^1.0.2"
|
||||
},
|
||||
"is_top_level": true,
|
||||
"variables": {}
|
||||
},
|
||||
"cordova-plugin-local-notification": {
|
||||
"source": {
|
||||
"type": "registry",
|
||||
"id": "cordova-plugin-local-notification@^0.9.0-beta.2"
|
||||
},
|
||||
"is_top_level": true,
|
||||
"variables": {}
|
||||
},
|
||||
"cordova-plugin-badge": {
|
||||
"source": {
|
||||
"type": "registry",
|
||||
"id": "cordova-plugin-badge@^0.8.8"
|
||||
},
|
||||
"is_top_level": true,
|
||||
"variables": {}
|
||||
},
|
||||
"call-number": {
|
||||
"source": {
|
||||
"type": "registry",
|
||||
"id": "mx.ferreyra.callnumber@0.0.2"
|
||||
},
|
||||
"is_top_level": true,
|
||||
"variables": {}
|
||||
},
|
||||
"cordova-plugin-fingerprint-aio": {
|
||||
"source": {
|
||||
"type": "registry",
|
||||
"id": "cordova-plugin-fingerprint-aio@^1.7.0"
|
||||
},
|
||||
"is_top_level": true,
|
||||
"variables": {
|
||||
"FACEID_USAGE_DESCRIPTION": "User Authentication"
|
||||
}
|
||||
},
|
||||
"cordova.plugins.diagnostic": {
|
||||
"source": {
|
||||
"type": "registry",
|
||||
"id": "cordova.plugins.diagnostic@^4.0.12"
|
||||
},
|
||||
"is_top_level": true,
|
||||
"variables": {
|
||||
"ANDROID_SUPPORT_VERSION": "28.+"
|
||||
}
|
||||
},
|
||||
"phonegap-plugin-barcodescanner": {
|
||||
"source": {
|
||||
"type": "registry",
|
||||
"id": "phonegap-plugin-barcodescanner@^8.1.0"
|
||||
},
|
||||
"is_top_level": true,
|
||||
"variables": {
|
||||
"ANDROID_SUPPORT_V4_VERSION": "27.+"
|
||||
}
|
||||
},
|
||||
"cordova-plugin-camera": {
|
||||
"source": {
|
||||
"type": "registry",
|
||||
"id": "cordova-plugin-camera@^4.0.3"
|
||||
},
|
||||
"is_top_level": true,
|
||||
"variables": {}
|
||||
},
|
||||
"cordova-android-support-gradle-release": {
|
||||
"source": {
|
||||
"type": "registry",
|
||||
"id": "cordova-android-support-gradle-release@^2.1.0"
|
||||
},
|
||||
"is_top_level": true,
|
||||
"variables": {
|
||||
"ANDROID_SUPPORT_VERSION": "27.+"
|
||||
}
|
||||
},
|
||||
"cordova-opentok-android-permissions": {
|
||||
"source": {
|
||||
"type": "registry",
|
||||
"id": "cordova-opentok-android-permissions@^1.0.1"
|
||||
},
|
||||
"is_top_level": true,
|
||||
"variables": {}
|
||||
},
|
||||
"cordova-plugin-appavailability": {
|
||||
"source": {
|
||||
"type": "registry",
|
||||
"id": "cordova-plugin-appavailability@^0.4.2"
|
||||
},
|
||||
"is_top_level": true,
|
||||
"variables": {}
|
||||
},
|
||||
"cordova-support-google-services": {
|
||||
"source": {
|
||||
"type": "registry",
|
||||
"id": "cordova-support-google-services@^1.1.0"
|
||||
},
|
||||
"is_top_level": true,
|
||||
"variables": {}
|
||||
},
|
||||
"phonegap-plugin-push": {
|
||||
"source": {
|
||||
"type": "registry",
|
||||
"id": "phonegap-plugin-push@^2.2.3"
|
||||
},
|
||||
"is_top_level": true,
|
||||
"variables": {
|
||||
"GOOGLE_PLAY_SERVICES_VERSION": "16.0.0",
|
||||
"FCM_VERSION": "15.0.0",
|
||||
"ANDROID_SUPPORT_V13_VERSION": "27.+"
|
||||
}
|
||||
},
|
||||
"cordova-plugin-apprate": {
|
||||
"source": {
|
||||
"type": "registry",
|
||||
"id": "cordova-plugin-apprate@^1.4.0"
|
||||
},
|
||||
"is_top_level": true,
|
||||
"variables": {}
|
||||
},
|
||||
"cordova-plugin-dialogs": {
|
||||
"source": {
|
||||
"type": "registry",
|
||||
"id": "cordova-plugin-dialogs"
|
||||
},
|
||||
"is_top_level": false,
|
||||
"variables": {}
|
||||
},
|
||||
"cordova-plugin-inappbrowser": {
|
||||
"source": {
|
||||
"type": "registry",
|
||||
"id": "cordova-plugin-inappbrowser@^3.0.0"
|
||||
},
|
||||
"is_top_level": true,
|
||||
"variables": {}
|
||||
},
|
||||
"cordova-sms-plugin": {
|
||||
"source": {
|
||||
"type": "registry",
|
||||
"id": "cordova-sms-plugin@1.0.0"
|
||||
},
|
||||
"is_top_level": true,
|
||||
"variables": {}
|
||||
}
|
||||
}
|
||||
@ -0,0 +1 @@
|
||||
to add ios - ionic cordova platform add ios
|
||||
@ -0,0 +1 @@
|
||||
to add ios - ionic cordova platform add ios
|
||||
@ -0,0 +1,40 @@
|
||||
{
|
||||
"project_info": {
|
||||
"project_number": "608631731238",
|
||||
"firebase_url": "https://mohemm-cs.firebaseio.com",
|
||||
"project_id": "mohemm-cs",
|
||||
"storage_bucket": "mohemm-cs.appspot.com"
|
||||
},
|
||||
"client": [
|
||||
{
|
||||
"client_info": {
|
||||
"mobilesdk_app_id": "1:608631731238:android:3a8384007f8700ec",
|
||||
"android_client_info": {
|
||||
"package_name": "com.cloudsolutions.mohemm"
|
||||
}
|
||||
},
|
||||
"oauth_client": [
|
||||
{
|
||||
"client_id": "608631731238-83a5qndedia496ssa6ekkd3db5jo8khr.apps.googleusercontent.com",
|
||||
"client_type": 3
|
||||
}
|
||||
],
|
||||
"api_key": [
|
||||
{
|
||||
"current_key": "AIzaSyB5zpz9vC2NOxsU1dPr0TK0dVaMY5D4Mjg"
|
||||
}
|
||||
],
|
||||
"services": {
|
||||
"appinvite_service": {
|
||||
"other_platform_oauth_client": [
|
||||
{
|
||||
"client_id": "608631731238-83a5qndedia496ssa6ekkd3db5jo8khr.apps.googleusercontent.com",
|
||||
"client_type": 3
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
"configuration_version": "1"
|
||||
}
|
||||
@ -0,0 +1,164 @@
|
||||
@echo start installing required native and 3rd party plugins
|
||||
|
||||
@echo to update angular -> npm install -g @angular/cli
|
||||
@echo to update ionic -> npm install -g ionic
|
||||
|
||||
@echo add browser, android , ios platforms commit non required
|
||||
@echo to add browser -> call ionic cordova platform add browser
|
||||
@echo to add ios -> call ionic cordova platform add ios
|
||||
|
||||
call ionic cordova platform add android
|
||||
|
||||
|
||||
@echo copying android FCM google servcie file
|
||||
call cp ./google-services.json ./platforms/android/
|
||||
|
||||
call npm i @angular/animations
|
||||
call npm i @swimlane/ngx-charts --save
|
||||
|
||||
@echo primeng framework [angular]
|
||||
|
||||
call npm install primeng --save
|
||||
call npm install primeicons --save
|
||||
|
||||
@echo add css links for primeng in global.scss
|
||||
@echo @import "../node_modules/primeng/resources/themes/nova-light/theme.css";
|
||||
@echo @import "../node_modules/primeng/resources/primeng.min.css";
|
||||
@echo @import "../node_modules/primeicons/primeicons.css";
|
||||
|
||||
@echo install chartjs as dependency for primeng chartjs
|
||||
call npm install chart.js --save
|
||||
@echo add reference in [angular.json] in [scripts] array add (node_modules/chart.js/dist/Chart.js)
|
||||
|
||||
|
||||
@echo calendar https://mattlewis92.github.io/angular-calendar/#/kitchen-sink
|
||||
call npm install --save @ng-bootstrap/ng-bootstrap
|
||||
call npm install --save angular-calendar date-fns
|
||||
|
||||
@echo install android support gradle release because of barcode scanner to install missing android attributes
|
||||
call ionic cordova plugin add cordova-android-support-gradle-release --fetch
|
||||
|
||||
@echo push notifications
|
||||
call ionic cordova plugin add phonegap-plugin-push --variable GOOGLE_PLAY_SERVICES_VERSION="16.0.0" --variable FCM_VERSION="15.0.0"
|
||||
call npm install @ionic-native/push
|
||||
|
||||
|
||||
@echo sqlite storage
|
||||
call ionic cordova plugin add cordova-sqlite-storage
|
||||
call npm install @ionic-native/sqlite
|
||||
|
||||
|
||||
@echo native storage
|
||||
call ionic cordova plugin add cordova-plugin-nativestorage
|
||||
call npm install @ionic-native/native-storage
|
||||
|
||||
|
||||
@echo bluetooth ble centeral //check interface assets/js/bletooth.js
|
||||
call ionic cordova plugin add cordova-plugin-ble-central
|
||||
call npm install @ionic-native/ble
|
||||
|
||||
|
||||
@echo launch navigator
|
||||
@echo warning : for now we stick with launch navigator 3 since 5 has issue
|
||||
REM call ionic cordova plugin add uk.co.workingedge.phonegap.plugin.launchnavigator --variable GOOGLE_API_KEY_FOR_ANDROID="AIzaSyC-XbzwGMyAVCnspof0cqiO4iLfKmeEYVA"
|
||||
call ionic cordova plugin add uk.co.workingedge.phonegap.plugin.launchnavigator@3
|
||||
call npm install @ionic-native/launch-navigator
|
||||
|
||||
@echo themeablebrowser
|
||||
|
||||
call ionic cordova plugin add cordova-plugin-themeablebrowser
|
||||
call npm install @ionic-native/themeable-browser
|
||||
|
||||
@echo in app browser
|
||||
call ionic cordova plugin add cordova-plugin-inappbrowser
|
||||
call npm install @ionic-native/in-app-browser
|
||||
|
||||
@echo globalization
|
||||
|
||||
call ionic cordova plugin add cordova-plugin-globalization
|
||||
call npm install @ionic-native/globalization
|
||||
|
||||
|
||||
@echo android permissions plugin
|
||||
call ionic cordova plugin add cordova-plugin-android-permissions
|
||||
call npm install @ionic-native/android-permissions
|
||||
|
||||
@echo sms reader https://www.npmjs.com/package/cordova-plugin-sms-receive
|
||||
call npm i cordova-plugin-sms-receive
|
||||
call cordova plugin add cordova-plugin-sms-receive
|
||||
|
||||
@echo device information
|
||||
call ionic cordova plugin add cordova-plugin-device
|
||||
call npm install @ionic-native/device
|
||||
|
||||
@echo local notifications
|
||||
call ionic cordova plugin add cordova-plugin-local-notification
|
||||
call npm install @ionic-native/local-notifications
|
||||
|
||||
@echo call phone number
|
||||
call ionic cordova plugin add call-number
|
||||
call npm install @ionic-native/call-number
|
||||
|
||||
@echo badge
|
||||
call ionic cordova plugin add cordova-plugin-badge
|
||||
call npm install @ionic-native/badge
|
||||
|
||||
|
||||
|
||||
@echo biometric features
|
||||
call ionic cordova plugin add cordova-plugin-fingerprint-aio --variable FACEID_USAGE_DESCRIPTION="User Authentication"
|
||||
call npm install @ionic-native/fingerprint-aio
|
||||
|
||||
@echo install diagnostic
|
||||
call ionic cordova plugin add cordova.plugins.diagnostic
|
||||
call npm install @ionic-native/diagnostic
|
||||
|
||||
@echo install background-geolocation
|
||||
call ionic cordova plugin add cordova-plugin-mauron85-background-geolocation@alpha --variable GOOGLE_PLAY_SERVICES_VERSION="16.0.0"
|
||||
call npm install @ionic-native/background-geolocation
|
||||
|
||||
|
||||
@echo install barcode plugin
|
||||
call ionic cordova plugin add phonegap-plugin-barcodescanner
|
||||
call npm install @ionic-native/barcode-scanner
|
||||
|
||||
@echo install camera plugin
|
||||
call ionic cordova plugin add cordova-plugin-camera
|
||||
call npm install @ionic-native/camera
|
||||
|
||||
@echo install keyboard plugin
|
||||
call ionic cordova plugin add cordova-plugin-ionic-keyboard
|
||||
call npm install @ionic-native/keyboard
|
||||
|
||||
@echo install opentok required permissions
|
||||
call ionic cordova plugin add cordova-opentok-android-permissions
|
||||
|
||||
@echo install health plugin
|
||||
call ionic cordova plugin add cordova-plugin-health --variable HEALTH_READ_PERMISSION="App needs read access to read heart rate" --variable HEALTH_WRITE_PERMISSION="App needs write access for heart rate" --variable GMS_VERSION="16.0.1"
|
||||
call npm install @ionic-native/health
|
||||
|
||||
@echo install App Availability Plugin
|
||||
call ionic cordova plugin add cordova-plugin-appavailability
|
||||
call npm install @ionic-native/app-availability
|
||||
|
||||
@echo install rate plugin
|
||||
call ionic cordova plugin add cordova-plugin-apprate
|
||||
call npm install @ionic-native/app-rate
|
||||
|
||||
@echo reinitializing git repository
|
||||
@echo git init
|
||||
@echo git remote add origin https://enas_yaghi@hmg.git.cloudforge.com/patientappionic.git
|
||||
@echo git push -f origin master
|
||||
|
||||
|
||||
@echo update project from package.js change if necessary
|
||||
@echo to install all dependencies in package.json
|
||||
|
||||
@echo npm cache clean --force
|
||||
@echo exact version -> npm install --save --save-exact react
|
||||
@echo latest versions based on package.json rules -> npm install
|
||||
|
||||
@echo to build or serve for (( production ))
|
||||
@echo export NODE_OPTIONS=--max-old-space-size=4096
|
||||
@echo ionic cordova build android --release --aot --minifyjs --optimizejs --minifycss
|
||||
@echo ionic cordova build ios --release --aot --minifyjs --optimizejs --minifycss
|
||||
@ -0,0 +1,167 @@
|
||||
#!/bin/sh
|
||||
|
||||
echo start installing required native and 3rd party plugins
|
||||
|
||||
echo to update angular -> npm install -g @angular/cli
|
||||
echo to update ionic -> npm install -g ionic
|
||||
|
||||
echo add browser, android , ios platforms commit non required
|
||||
echo to add browser -> call ionic cordova platform add browser
|
||||
echo to add ios -> call ionic cordova platform add ios
|
||||
|
||||
ionic cordova platform add android
|
||||
|
||||
echo copying android FCM google servcie file
|
||||
cp ./google-services.json ./platforms/android/
|
||||
|
||||
npm i @angular/animations
|
||||
npm i @swimlane/ngx-charts --save
|
||||
|
||||
echo primeng framework [angular]
|
||||
|
||||
npm install primeng --save
|
||||
npm install primeicons --save
|
||||
|
||||
echo add css links for primeng in global.scss
|
||||
echo @import "../node_modules/primeng/resources/themes/nova-light/theme.css";
|
||||
echo @import "../node_modules/primeng/resources/primeng.min.css";
|
||||
echo @import "../node_modules/primeicons/primeicons.css";
|
||||
|
||||
echo install chartjs as dependency for primeng chartjs
|
||||
npm install chart.js --save
|
||||
# echo add reference in [angular.json] in [scripts] array add (node_modules/chart.js/dist/Chart.js)
|
||||
|
||||
|
||||
echo calendar https://mattlewis92.github.io/angular-calendar/#/kitchen-sink
|
||||
npm install --save @ng-bootstrap/ng-bootstrap
|
||||
npm install --save angular-calendar date-fns
|
||||
|
||||
echo install android support gradle release because of barcode scanner to install missing android attributes
|
||||
ionic cordova plugin add cordova-android-support-gradle-release --fetch
|
||||
|
||||
|
||||
echo push notifications
|
||||
ionic cordova plugin add phonegap-plugin-push --variable GOOGLE_PLAY_SERVICES_VERSION="16.0.0" --variable FCM_VERSION="15.0.0"
|
||||
npm install @ionic-native/push
|
||||
|
||||
|
||||
echo sqlite storage
|
||||
ionic cordova plugin add cordova-sqlite-storage
|
||||
npm install @ionic-native/sqlite
|
||||
|
||||
|
||||
echo native storage
|
||||
ionic cordova plugin add cordova-plugin-nativestorage
|
||||
npm install @ionic-native/native-storage
|
||||
|
||||
|
||||
echo bluetooth ble centeral //check interface assets/js/bletooth.js
|
||||
ionic cordova plugin add cordova-plugin-ble-central
|
||||
npm install @ionic-native/ble
|
||||
|
||||
|
||||
echo launch navigator
|
||||
echo warning : for now we stick with launch navigator 3 since 5 has issue
|
||||
# call ionic cordova plugin add uk.co.workingedge.phonegap.plugin.launchnavigator --variable GOOGLE_API_KEY_FOR_ANDROID="AIzaSyC-XbzwGMyAVCnspof0cqiO4iLfKmeEYVA"
|
||||
ionic cordova plugin add uk.co.workingedge.phonegap.plugin.launchnavigator@3
|
||||
npm install @ionic-native/launch-navigator
|
||||
|
||||
echo themeablebrowser
|
||||
|
||||
ionic cordova plugin add cordova-plugin-themeablebrowser
|
||||
npm install @ionic-native/themeable-browser
|
||||
|
||||
echo in app browser
|
||||
ionic cordova plugin add cordova-plugin-inappbrowser
|
||||
npm install @ionic-native/in-app-browser
|
||||
|
||||
|
||||
echo globalization
|
||||
|
||||
ionic cordova plugin add cordova-plugin-globalization
|
||||
npm install @ionic-native/globalization
|
||||
|
||||
|
||||
echo android permissions plugin
|
||||
ionic cordova plugin add cordova-plugin-android-permissions
|
||||
npm install @ionic-native/android-permissions
|
||||
|
||||
echo sms reader https://www.npmjs.com/package/cordova-plugin-sms-receive
|
||||
npm i cordova-plugin-sms-receive
|
||||
cordova plugin add cordova-plugin-sms-receive
|
||||
|
||||
echo device information§
|
||||
ionic cordova plugin add cordova-plugin-device
|
||||
npm install @ionic-native/device
|
||||
|
||||
echo local notifications
|
||||
ionic cordova plugin add cordova-plugin-local-notification
|
||||
npm install @ionic-native/local-notifications
|
||||
|
||||
echo call phone number
|
||||
ionic cordova plugin add call-number
|
||||
npm install @ionic-native/call-number
|
||||
|
||||
echo badge
|
||||
ionic cordova plugin add cordova-plugin-badge
|
||||
npm install @ionic-native/badge
|
||||
|
||||
|
||||
echo biometric features
|
||||
ionic cordova plugin add cordova-plugin-fingerprint-aio --variable FACEID_USAGE_DESCRIPTION="User Authentication"
|
||||
npm install @ionic-native/fingerprint-aio
|
||||
|
||||
echo install diagnostic
|
||||
ionic cordova plugin add cordova.plugins.diagnostic
|
||||
npm install @ionic-native/diagnostic
|
||||
|
||||
echo install background-geolocation
|
||||
ionic cordova plugin add cordova-plugin-mauron85-background-geolocation@alpha --variable GOOGLE_PLAY_SERVICES_VERSION="16.0.0"
|
||||
npm install @ionic-native/background-geolocation
|
||||
|
||||
echo install barcode plugin
|
||||
ionic cordova plugin add phonegap-plugin-barcodescanner
|
||||
npm install @ionic-native/barcode-scanner
|
||||
|
||||
echo install camera plugin
|
||||
ionic cordova plugin add cordova-plugin-camera
|
||||
npm install @ionic-native/camera
|
||||
|
||||
echo install keyboard plugin
|
||||
ionic cordova plugin add cordova-plugin-ionic-keyboard
|
||||
npm install @ionic-native/keyboard
|
||||
|
||||
echo install opentok required permissions
|
||||
ionic cordova plugin add cordova-opentok-android-permissions
|
||||
|
||||
echo install health plugin
|
||||
ionic cordova plugin add cordova-plugin-health --variable HEALTH_READ_PERMISSION="App needs read access to read heart rate" --variable HEALTH_WRITE_PERMISSION="App needs write access for heart rate" --variable GMS_VERSION="16.0.1"
|
||||
npm install @ionic-native/health
|
||||
|
||||
echo install App Availability Plugin
|
||||
ionic cordova plugin add cordova-plugin-appavailability
|
||||
npm install @ionic-native/app-availability
|
||||
|
||||
echo install rate plugin
|
||||
ionic cordova plugin add cordova-plugin-apprate
|
||||
npm install @ionic-native/app-rate
|
||||
|
||||
|
||||
echo reinitializing git repository
|
||||
echo git init
|
||||
echo git remote add origin https://enas_yaghi@hmg.git.cloudforge.com/patientappionic.git
|
||||
echo git push -f origin master
|
||||
|
||||
|
||||
echo update project from package.js change if necessary
|
||||
echo to install all dependencies in package.json
|
||||
|
||||
echo npm cache clean --force
|
||||
echo exact version -> npm install --save --save-exact react
|
||||
echo latest versions based on package.json rules -> npm install
|
||||
|
||||
echo to build or serve for (( production ))
|
||||
echo export NODE_OPTIONS=--max-old-space-size=4096
|
||||
echo ionic serve --prod -> for serving in production
|
||||
echo ionic cordova build android --release --aot --minifyjs --optimizejs --minifycss
|
||||
echo ionic cordova build ios --release --aot --minifyjs --optimizejs --minifycss
|
||||
@ -0,0 +1 @@
|
||||
latest versions based on package.json rules - install
|
||||
@ -0,0 +1,40 @@
|
||||
{
|
||||
"project_info": {
|
||||
"project_number": "608631731238",
|
||||
"firebase_url": "https://mohemm-cs.firebaseio.com",
|
||||
"project_id": "mohemm-cs",
|
||||
"storage_bucket": "mohemm-cs.appspot.com"
|
||||
},
|
||||
"client": [
|
||||
{
|
||||
"client_info": {
|
||||
"mobilesdk_app_id": "1:608631731238:android:3a8384007f8700ec",
|
||||
"android_client_info": {
|
||||
"package_name": "com.cloudsolutions.mohemm"
|
||||
}
|
||||
},
|
||||
"oauth_client": [
|
||||
{
|
||||
"client_id": "608631731238-83a5qndedia496ssa6ekkd3db5jo8khr.apps.googleusercontent.com",
|
||||
"client_type": 3
|
||||
}
|
||||
],
|
||||
"api_key": [
|
||||
{
|
||||
"current_key": "AIzaSyB5zpz9vC2NOxsU1dPr0TK0dVaMY5D4Mjg"
|
||||
}
|
||||
],
|
||||
"services": {
|
||||
"appinvite_service": {
|
||||
"other_platform_oauth_client": [
|
||||
{
|
||||
"client_id": "608631731238-83a5qndedia496ssa6ekkd3db5jo8khr.apps.googleusercontent.com",
|
||||
"client_type": 3
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
"configuration_version": "1"
|
||||
}
|
||||
@ -0,0 +1,156 @@
|
||||
@echo start installing required native and 3rd party plugins
|
||||
|
||||
@echo to update angular -> npm install -g @angular/cli
|
||||
@echo to update ionic -> npm install -g ionic
|
||||
|
||||
@echo add browser, android , ios platforms commit non required
|
||||
@echo to add browser -> call ionic cordova platform add browser
|
||||
@echo to add ios -> call ionic cordova platform add ios
|
||||
|
||||
call ionic cordova platform add android
|
||||
|
||||
|
||||
@echo copying android FCM google servcie file
|
||||
call cp ./google-services.json ./platforms/android/
|
||||
|
||||
call npm i @angular/animations
|
||||
call npm i @swimlane/ngx-charts --save
|
||||
|
||||
@echo primeng framework [angular]
|
||||
|
||||
call npm install primeng --save
|
||||
call npm install primeicons --save
|
||||
|
||||
@echo add css links for primeng in global.scss
|
||||
@echo @import "../node_modules/primeng/resources/themes/nova-light/theme.css";
|
||||
@echo @import "../node_modules/primeng/resources/primeng.min.css";
|
||||
@echo @import "../node_modules/primeicons/primeicons.css";
|
||||
|
||||
@echo install chartjs as dependency for primeng chartjs
|
||||
call npm install chart.js --save
|
||||
@echo add reference in [angular.json] in [scripts] array add (node_modules/chart.js/dist/Chart.js)
|
||||
|
||||
|
||||
@echo calendar https://mattlewis92.github.io/angular-calendar/#/kitchen-sink
|
||||
call npm install --save @ng-bootstrap/ng-bootstrap
|
||||
call npm install --save angular-calendar date-fns
|
||||
|
||||
@echo install android support gradle release because of barcode scanner to install missing android attributes
|
||||
call ionic cordova plugin add cordova-android-support-gradle-release --fetch
|
||||
|
||||
@echo push notifications
|
||||
call ionic cordova plugin add phonegap-plugin-push --variable GOOGLE_PLAY_SERVICES_VERSION="16.0.0" --variable FCM_VERSION="15.0.0"
|
||||
call npm install @ionic-native/push
|
||||
|
||||
|
||||
@echo sqlite storage
|
||||
call ionic cordova plugin add cordova-sqlite-storage
|
||||
call npm install @ionic-native/sqlite
|
||||
|
||||
|
||||
@echo native storage
|
||||
call ionic cordova plugin add cordova-plugin-nativestorage
|
||||
call npm install @ionic-native/native-storage
|
||||
|
||||
|
||||
@echo bluetooth ble centeral //check interface assets/js/bletooth.js
|
||||
call ionic cordova plugin add cordova-plugin-ble-central
|
||||
call npm install @ionic-native/ble
|
||||
|
||||
|
||||
@echo launch navigator
|
||||
@echo warning : for now we stick with launch navigator 3 since 5 has issue
|
||||
REM call ionic cordova plugin add uk.co.workingedge.phonegap.plugin.launchnavigator --variable GOOGLE_API_KEY_FOR_ANDROID="AIzaSyC-XbzwGMyAVCnspof0cqiO4iLfKmeEYVA"
|
||||
call ionic cordova plugin add uk.co.workingedge.phonegap.plugin.launchnavigator@3
|
||||
call npm install @ionic-native/launch-navigator
|
||||
|
||||
@echo themeablebrowser
|
||||
|
||||
call ionic cordova plugin add cordova-plugin-themeablebrowser
|
||||
call npm install @ionic-native/themeable-browser
|
||||
|
||||
@echo in app browser
|
||||
call ionic cordova plugin add cordova-plugin-inappbrowser
|
||||
call npm install @ionic-native/in-app-browser
|
||||
|
||||
@echo globalization
|
||||
|
||||
call ionic cordova plugin add cordova-plugin-globalization
|
||||
call npm install @ionic-native/globalization
|
||||
|
||||
|
||||
@echo android permissions plugin
|
||||
call ionic cordova plugin add cordova-plugin-android-permissions
|
||||
call npm install @ionic-native/android-permissions
|
||||
|
||||
@echo sms reader https://www.npmjs.com/package/cordova-plugin-sms-receive
|
||||
call npm i cordova-plugin-sms-receive
|
||||
call cordova plugin add cordova-plugin-sms-receive
|
||||
|
||||
@echo device information
|
||||
call ionic cordova plugin add cordova-plugin-device
|
||||
call npm install @ionic-native/device
|
||||
|
||||
@echo local notifications
|
||||
call ionic cordova plugin add cordova-plugin-local-notification
|
||||
call npm install @ionic-native/local-notifications
|
||||
|
||||
@echo call phone number
|
||||
call ionic cordova plugin add call-number
|
||||
call npm install @ionic-native/call-number
|
||||
|
||||
@echo badge
|
||||
call ionic cordova plugin add cordova-plugin-badge
|
||||
call npm install @ionic-native/badge
|
||||
|
||||
|
||||
|
||||
@echo biometric features
|
||||
call ionic cordova plugin add cordova-plugin-fingerprint-aio --variable FACEID_USAGE_DESCRIPTION="User Authentication"
|
||||
call npm install @ionic-native/fingerprint-aio
|
||||
|
||||
@echo install diagnostic
|
||||
call ionic cordova plugin add cordova.plugins.diagnostic
|
||||
call npm install @ionic-native/diagnostic
|
||||
|
||||
|
||||
@echo install barcode plugin
|
||||
call ionic cordova plugin add phonegap-plugin-barcodescanner
|
||||
call npm install @ionic-native/barcode-scanner
|
||||
|
||||
@echo install camera plugin
|
||||
call ionic cordova plugin add cordova-plugin-camera
|
||||
call npm install @ionic-native/camera
|
||||
|
||||
@echo install keyboard plugin
|
||||
call ionic cordova plugin add cordova-plugin-ionic-keyboard
|
||||
call npm install @ionic-native/keyboard
|
||||
|
||||
@echo install opentok required permissions
|
||||
call ionic cordova plugin add cordova-opentok-android-permissions
|
||||
|
||||
@echo install App Availability Plugin
|
||||
call ionic cordova plugin add cordova-plugin-appavailability
|
||||
call npm install @ionic-native/app-availability
|
||||
|
||||
@echo install rate plugin
|
||||
call ionic cordova plugin add cordova-plugin-apprate
|
||||
call npm install @ionic-native/app-rate
|
||||
|
||||
@echo reinitializing git repository
|
||||
@echo git init
|
||||
@echo git remote add origin https://enas_yaghi@hmg.git.cloudforge.com/patientappionic.git
|
||||
@echo git push -f origin master
|
||||
|
||||
|
||||
@echo update project from package.js change if necessary
|
||||
@echo to install all dependencies in package.json
|
||||
|
||||
@echo npm cache clean --force
|
||||
@echo exact version -> npm install --save --save-exact react
|
||||
@echo latest versions based on package.json rules -> npm install
|
||||
|
||||
@echo to build or serve for (( production ))
|
||||
@echo export NODE_OPTIONS=--max-old-space-size=4096
|
||||
@echo ionic cordova build android --release --aot --minifyjs --optimizejs --minifycss
|
||||
@echo ionic cordova build ios --release --aot --minifyjs --optimizejs --minifycss
|
||||
@ -1,5 +1,7 @@
|
||||
{
|
||||
"name": "Mohem",
|
||||
"integrations": {},
|
||||
"integrations": {
|
||||
"cordova": {}
|
||||
},
|
||||
"type": "angular"
|
||||
}
|
||||
|
||||
@ -0,0 +1 @@
|
||||
latest versions based on package.json rules - install
|
||||
@ -0,0 +1,8 @@
|
||||
These are Cordova resources. You can replace icon.png and splash.png and run
|
||||
`ionic cordova resources` to generate custom icons and splash screens for your
|
||||
app. See `ionic cordova resources --help` for details.
|
||||
|
||||
Cordova reference documentation:
|
||||
|
||||
- Icons: https://cordova.apache.org/docs/en/latest/config_ref/images.html
|
||||
- Splash Screens: https://cordova.apache.org/docs/en/latest/reference/cordova-plugin-splashscreen/
|
||||
|
After Width: | Height: | Size: 2.8 KiB |
|
After Width: | Height: | Size: 1.1 KiB |
|
After Width: | Height: | Size: 1.8 KiB |
|
After Width: | Height: | Size: 4.2 KiB |
|
After Width: | Height: | Size: 7.6 KiB |
|
After Width: | Height: | Size: 12 KiB |
|
After Width: | Height: | Size: 13 KiB |
|
After Width: | Height: | Size: 3.7 KiB |
|
After Width: | Height: | Size: 6.9 KiB |
|
After Width: | Height: | Size: 39 KiB |
|
After Width: | Height: | Size: 58 KiB |
|
After Width: | Height: | Size: 87 KiB |
|
After Width: | Height: | Size: 13 KiB |
|
After Width: | Height: | Size: 3.5 KiB |
|
After Width: | Height: | Size: 7.0 KiB |
|
After Width: | Height: | Size: 38 KiB |
|
After Width: | Height: | Size: 54 KiB |
|
After Width: | Height: | Size: 80 KiB |
@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<network-security-config>
|
||||
<domain-config cleartextTrafficPermitted="true">
|
||||
<domain>localhost</domain>
|
||||
</domain-config>
|
||||
</network-security-config>
|
||||
|
After Width: | Height: | Size: 59 KiB |
|
After Width: | Height: | Size: 59 KiB |
|
After Width: | Height: | Size: 1.2 KiB |
|
After Width: | Height: | Size: 3.5 KiB |
|
After Width: | Height: | Size: 10 KiB |
|
After Width: | Height: | Size: 1.9 KiB |
|
After Width: | Height: | Size: 4.6 KiB |
|
After Width: | Height: | Size: 2.4 KiB |
|
After Width: | Height: | Size: 5.9 KiB |
|
After Width: | Height: | Size: 11 KiB |
|
After Width: | Height: | Size: 2.8 KiB |
|
After Width: | Height: | Size: 7.6 KiB |
|
After Width: | Height: | Size: 3.2 KiB |
|
After Width: | Height: | Size: 8.1 KiB |
|
After Width: | Height: | Size: 16 KiB |
|
After Width: | Height: | Size: 818 B |
|
After Width: | Height: | Size: 2.2 KiB |
|
After Width: | Height: | Size: 3.8 KiB |
|
After Width: | Height: | Size: 2.1 KiB |
|
After Width: | Height: | Size: 5.6 KiB |
|
After Width: | Height: | Size: 31 KiB |
|
After Width: | Height: | Size: 40 KiB |
|
After Width: | Height: | Size: 44 KiB |
|
After Width: | Height: | Size: 44 KiB |
|
After Width: | Height: | Size: 100 KiB |
|
After Width: | Height: | Size: 158 KiB |
|
After Width: | Height: | Size: 22 KiB |
|
After Width: | Height: | Size: 97 KiB |
|
After Width: | Height: | Size: 153 KiB |
|
After Width: | Height: | Size: 22 KiB |
|
After Width: | Height: | Size: 18 KiB |
|
After Width: | Height: | Size: 77 KiB |
|
After Width: | Height: | Size: 7.0 KiB |
|
After Width: | Height: | Size: 77 KiB |
@ -0,0 +1,40 @@
|
||||
{
|
||||
"project_info": {
|
||||
"project_number": "608631731238",
|
||||
"firebase_url": "https://mohemm-cs.firebaseio.com",
|
||||
"project_id": "mohemm-cs",
|
||||
"storage_bucket": "mohemm-cs.appspot.com"
|
||||
},
|
||||
"client": [
|
||||
{
|
||||
"client_info": {
|
||||
"mobilesdk_app_id": "1:608631731238:android:3a8384007f8700ec",
|
||||
"android_client_info": {
|
||||
"package_name": "com.cloudsolutions.mohemm"
|
||||
}
|
||||
},
|
||||
"oauth_client": [
|
||||
{
|
||||
"client_id": "608631731238-83a5qndedia496ssa6ekkd3db5jo8khr.apps.googleusercontent.com",
|
||||
"client_type": 3
|
||||
}
|
||||
],
|
||||
"api_key": [
|
||||
{
|
||||
"current_key": "AIzaSyB5zpz9vC2NOxsU1dPr0TK0dVaMY5D4Mjg"
|
||||
}
|
||||
],
|
||||
"services": {
|
||||
"appinvite_service": {
|
||||
"other_platform_oauth_client": [
|
||||
{
|
||||
"client_id": "608631731238-83a5qndedia496ssa6ekkd3db5jo8khr.apps.googleusercontent.com",
|
||||
"client_type": 3
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
"configuration_version": "1"
|
||||
}
|
||||
@ -0,0 +1,3 @@
|
||||
{
|
||||
"lockfileVersion": 1
|
||||
}
|
||||