on 9-may:

$ ionic cordova plugin add cordova-plugin-file
$ npm install --save @ionic-native/file

installed


ionic cordova plugin add uk.co.workingedge.cordova.plugin.sqliteporter
npm install --save @ionic-native/sqlite-porter

installed

10-may:--

code committed to trunk:-- 
Changeset:  26 (31ed429d7e17) Merge with default

Changeset:  27 (dd77777b9704) Added file-service.
Changeset: 28 (65e8aaf0980c) Update setting page into ionic 2 manner
Changeset: 29 (e4b0ec09001b) Update Sync-manager

Changeset:  30 (c1ebbf032493) Update code according to default commit 21,22,24,25


ionic cordova plugin add cordova-plugin-network-information
npm install --save @ionic-native/network 
--- installed



 http://192.168.1.57:8041/ADInterface/services/rest/model_adservice/query_data 





9-5 


===May 10, 2018===
today's task:
1. Update service according to default branch new commit into ionic 2 manner
2. Code committed:
    Changeset: 26 (31ed429d7e17) Merge with default
    Changeset: 27 (dd77777b9704) Added file-service.
    Changeset: 28 (65e8aaf0980c) Update setting page into ionic 2 manner
    Changeset: 29 (e4b0ec09001b) Update Sync-manager
    Changeset: 30 (c1ebbf032493) Update code according to default commit 21,22,24,25
3. Install node module to detect network:- cordova-plugin-network-information, @ionic-native/network
4. Working on to check network-status at the time of login in ionicSync-login.ts --in process





9-7
===May 16, 2018===
today's task:
1. Update init method in appInit sevice to load default tables into localstorage
2. update db-service method to check platform is android or browser , if android then use sqlite or on browser use window      method to initialize dbInstace
3. Update setting.html to show default data value and create method to show only name in setting page
4. Working on to update setting configuration --in process




ERROR SyntaxError: Unexpected token o in JSON at position 1 on update setting config
9-7


===May 17, 2018===
today's task:

Changeset:
31 (768f06696f19) Added network-service to check device online or not

Changeset:
32 (b6bc7d21b36f) Update login method into ionic 3

Changeset:
33 (33a6ed01e15f) Update init() of app-init, setting.html, setting.ts to show default config

===May 17, 2018===
today's task:
1. Update in setting page to update default setting configration
2. Resolved error "Unexpected token o in JSON at position" after updating setting config
3. Code committed:
    Changeset: 31 (768f06696f19) Added network-service to check device online or not
    Changeset: 32 (b6bc7d21b36f) Update login method into ionic 3
    Changeset: 33 (33a6ed01e15f) Update init() of app-init, setting.html, setting.ts to show default config
4. Resolved "ERR_NAME_NOT_RESOLVED" error on http post request at login time and committed same
    Changeset: 34 (9a7fba958c3d) Resolved error "ERR_NAME_NOT_RESOLVED" on http post request at login time
5. Working on logout method -- in process






ERR_NAME_NOT_RESOLVED in url call (' ') removed by trim()
Changeset:  34 (9a7fba958c3d) Resolved error "ERR_NAME_NOT_RESOLVED" on http post request at login time  done



 Uncaught (in promise): TypeError: Cannot read property 'data' of undefined

 Added syncManage and setting in side-menu and update logout method
 Added home.module.ts file to update navigation code according to ionic 3


===May 18, 2018===
today's task:
1. Update logout method and added syncManager and setting in side-menu
2. Added home.module.ts file to update navigation code according to ionic 3
3. Update app.component file to check user login status, if login goto home-page or if not then login-page
   code committed:
   1. Changeset:35 (a719b175cf79) Update logout method and check login status in app.component.ts on app initializ
   2. Changeset:36 (c6f29e173cfa) Added home.module.ts file to update navigation according to ionic 3 manner
   3. Changeset:37 (190653752b32) Resolved data undefined on page load in sync-manager
4. Working on to create log file in ionic 2 --in process









// server error :  
        POST http://192.168.1.72:8085/ADInterface/services/rest/model_adservice/run_process 500 (Server Error)

to get ip address: ip addr show
192.168.1.56





Changeset:
35 (a719b175cf79) Update logout method and check login status in app.component.ts on app initializ

Changeset:
36 (c6f29e173cfa) Added home.module.ts file to update navigation according to ionic 3 manner

Changeset:
37 (190653752b32) Resolved data undefined on page load in sync-manager




update logout method and check login status
remove data undefined method in sync-manager


































http://brianflove.com/2016/12/11/anguar-2-unsubscribe-observables/
https://medium.freecodecamp.org/angular-2-authentication-made-easy-with-firebase-246c282d9ef8
https://alligator.io/angular/cloud-firestore-angularfire/
https://medium.com/step-up-labs/our-experience-with-cloud-functions-for-firebase-d206448a8850
https://morphatic.com/2016/06/23/creating-a-filter-pipe-for-angular-2-in-ionic-2/
https://medium.com/@mpodlasin/promises-vs-observables-4c123c51fe13




for plugin-development:--
https://medium.com/@mpodlasin/promises-vs-observables-4c123c51fe13
https://github.com/ionic-team/ionic-module-template
http://www.damirscorner.com/blog/posts/20170407-SharingIonic2CodeBetweenProjects.html
https://github.com/ionic-team/ionic-app-scripts#custom-config-files
https://github.com/benorama/ngrx-demo-apps
https://medium.com/@cyrilletuzi/how-to-build-and-publish-an-angular-module-7ad19c0b4464
https://medium.com/@cyrilletuzi/angular-2-async-local-storage-fd8609fa84e0
https://github.com/cyrilletuzi/angular-async-local-storage/tree/master/src/lib/src


for theme:--
https://www.joshmorony.com/a-guide-to-styling-an-ionic-2-application/








For log file :
    1. https://github.com/apache/cordova-plugin-file#sample
    2. 