ICTatRTI / coconut-mobile-plugin-zanzibar

Plugins added to Coconut Mobile for project specific features
Other
0 stars 0 forks source link

Screen skips on tablet #30

Closed scloo closed 4 years ago

scloo commented 6 years ago

There is a problem on DMSOs’ tablets and the issue is that whenever they try to add a new case or household record the screen skips to the “case on the device” screen which make it difficult for DMSO to add new cases. I hope this is clear if not please let me know so that I use “Join.me” app to clarify the the problem. Humphrey

scloo commented 6 years ago

Tough one to troubleshoot. I could see the issue but could not consistently reproduce it. Occasionally it happens. And there is no error in the console at all whenever that happens.

scloo commented 6 years ago

Added a View Manager to manage the displaying of Backbone view, to minimize memory leak. So far seems to be working. Still testing to make sure everything else is working.

scloo commented 6 years ago

Looks like it is not a memory leak resulted from the Backbone views as I thought was. Instead it is the slow performance on tablet that is causing this issue. On a tablet it took considerable to obtain and fill the stats figures that is on the header. And because of that it just proceed to display the summary view (asynchronous situation?). I have no immediate solution to this. I spent the week trying to refactor the codes but not much success.