iFixit / iFixitAndroid

Official iFixit Android App
https://play.google.com/store/apps/details?id=com.dozuki.ifixit
GNU General Public License v3.0
162 stars 88 forks source link

Handle lost internet connection during image upload #79

Closed timothyasp closed 11 years ago

timothyasp commented 11 years ago

If the internet connection is lost during image upload, everything goes up in flames. This shouldn't be the case since we have the image stored locally.

marczych commented 11 years ago

This was fixed with a combination of request retrying and dead event retrying. Just tested:

  1. Upload an image on step edit.
  2. Turn Airplane Mode on.
  3. Error dialog says the request failed.
  4. Turn Airplane mode off.
  5. Hit retry.
  6. Image uploads successfully and save button enables.
  7. Hit save.