← All field notes
Lost photos in the offline app
- Problem
- Replacing, cleaning up and deleting photos could overlap and remove files that were still in use.
- Fix
- I queued photo writes, kept old files until the new record was saved, and added tests for the failure cases.
- Stack
- SQLite · Expo · Testing