waidyanatha / mobileSAMBRO

SMABRO mobile application
3 stars 0 forks source link

App hangs on connection timeouts #46

Open frommberger opened 8 years ago

frommberger commented 8 years ago

As it appeared in the Myanmar tests, the app tends to hang. Obviously, this happens due to network timeouts when the connection stalls. This must be carefully tested, and hangs that render the app unresponsive must be avoided.

frommberger commented 8 years ago

Make sure you can reproduce the bug first (try to disconnect data while loading on a slow connection); then compare with the fixed version.

waidyanatha commented 8 years ago

It's not a connection issue; it happens when the Server does not send the complete JSON dataset; the mobile side code is poor in detecting exceptions and adapting. It assume we live in a perfect world.

On Tue, Jul 19, 2016 at 6:06 PM, Lutz notifications@github.com wrote:

Make sure you can reproduce the bug first (try to disconnect data while loading on a slow connection); then compare with the fixed version.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/waidyanatha/mobileSAMBRO/issues/46#issuecomment-233587835, or mute the thread https://github.com/notifications/unsubscribe-auth/AAhMxxYH_7rA0mZMAjOvFubRoJm0P8c6ks5qXKG5gaJpZM4JH37L .

frommberger commented 8 years ago

Are we talking about the same bug here? Doesn't the incomplete data issue in incomplete rendering, instead of a hanging app?

waidyanatha commented 8 years ago

​I though the hanging was due to incomplete rendering and not the connectivity. Was there another reason for the app to hang?​

On Tue, Jul 19, 2016 at 9:33 PM, Lutz notifications@github.com wrote:

Are we talking about the same bug here? Doesn't the incomplete data issue in incomplete rendering, instead of a hanging app?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/waidyanatha/mobileSAMBRO/issues/46#issuecomment-233633617, or mute the thread https://github.com/notifications/unsubscribe-auth/AAhMx-HIEyU3VrVmDygfH7t9R1_eS3GWks5qXNIbgaJpZM4JH37L .