Synchronization conflicts in native app

Hello,   I am working on a offline first native app. In my domain model, I have 2 entities, called 'Intervention' and 'Service'. An intervention can have 1 or more services. Here is my problem :   On mobile, when 2 users are working on the same intervention but on 2 different services, when they synchronize their data with the server, they overwrite the data of the other user who worked on the other prestation. How can I solve this problem?   Thanks for your help.
0 answers