Closed ghachey closed 2 years ago
Feedback:
1) This seems mostly working but.... 2) Related to this issue we also needed the same thing in the Pacific Open Education Data app. I even link to it from the issue. https://github.com/ghachey/pacific-open-education-data/issues/4 3) If I change any of the below I need a complete re-installation of the app to make it work. A Force Fetch new settings does not seem to work.
From Omega-R's Marina:
To get the lists of Teachers and Subjects from the server we generate a token. It is generated based on the login and password from Force Fetch. And this token is saved till the app is restarted. So, to make the new Force Fetch settings work and create a new token, we just need to close the app, clear from memory and open it again. Is that critical?
Closing and re-opening the app to get the force fetch to work is acceptable yes.
Some new work will require the app to get data from the EMIS (getting list of schools, list of teachers). For this we need a flexible way to configure how to access the EMIS API. A new setting shall be added as shown below for the Pacific EMIS Education Survey Tool.
This of course will be required in all the relevant firebase projects (i.e. MIEMIS Education Survey Tool, FedEMIS Education Survey Tool)
Similarly, the Pacific Open Education project should have the same settings (refer to its own issue at https://github.com/ghachey/pacific-open-education-data/issues/4)