IBM-Cloud / skylink

Skylink is a sample application that connects drones to the cloud with near realtime image analysis leveraging IBM Cloudant, OpenWhisk, IBM Watson, and IBM Bluemix.
https://skylink.mybluemix.net
Apache License 2.0
37 stars 16 forks source link

iOS Client - Sync/replication crashes with big attachments in bad network conditions #7

Closed triceam closed 8 years ago

triceam commented 8 years ago

Something in the replication implementation is causing the app to crash in very slow/interrupted network conditions. If you're on wifi, you won't see it happen. I only ran into this while literally "out in the field" flying, where I only had 2 bars on a 3G network connection.

triceam commented 8 years ago

Fixed by adding image compression before saving. The underlying error is actually somewhere within Cloudant Sync, and related to attachments over 5 MB, but this is no longer impacting the Skylink app.