Simperium / simperium-ios

Simperium libraries and samples
MIT License
206 stars 43 forks source link

Reloading Inconsistent Entities #585

Closed jleandroperez closed 4 years ago

jleandroperez commented 4 years ago

Details:

In this PR we're adding an error handling mechanism, capable of detecting Ghost(s) in inconsistent states, and triggering a full entity re-download.

cc @bummytime cc @dmsnell

Closes #584

Testing:

  1. Check out Simplenote iOS
  2. Map Simperium's dependency to commit bbcbc91 (this branch, latest!)
  3. Comment out DiffMatchPach.m L1510 thru L1528
  4. Clean + Rebuild
  5. Log into your account
  6. Add a new note
  7. Insert the following emojis: β˜ΊοΈπŸ––πŸΏ
  8. Insert the following emoji in between: πŸ˜ƒ

Note:

jleandroperez commented 4 years ago

Thank you for testing this one Bummy!!