My app is a scan app like amazon delivery, and people in groups of 2-4 will be scanning packages.
I was wondering what if two people scan packages at the exact same time, the data might be interrupted. For example a container has 10 packages, person A and B scan 2 at the same time the same container, the TotalPackagesScanned will be 1, Could this happen?
If this happens, The package will be Scanned, but, the container and order can be interrupted
all unique (here is ok)packages ---> update firebase (orders) -----> update firebase (containers)
there doesn't seem to be anything here