I'm wanting to have a bit more control over how merge conflicts are handled with a project that uses the Realtime Database, and was wondering if it's possible to use Cloud Functions to handle them?
I'm specifically addressing a situation where one device was offline when a change was made, then a second (online) device makes a change, and then the first device comes back online. I am not using persistence since I already store all user data offline in a SQLite database, and want to be able to reconcile the data from the two devices. Specifically, the plan is that each record will contain a timestamp of when the a text field was last changed, and I want to be able to block uploads that have an out-of-date timestamp - can I do that using Cloud Functions?