I made a diary app.
Airtable is used as a cloud storage tool, Cloudinary is used to store pictures, and an offline mode is provided so that it can work normally when there is no internet. But now there is a problem. If one of the photos is added in the offline mode, all subsequent data will be added to that photo during synchronization. Only the part of the photo has this problem. Others such as mood or diary content All can be stored normally.
How to solve this problem?
*There are some Chinese characters in the code, if there is any part that you don’t understand, you can ask me