So we have an app that interacts directly with Firestore. In both queries for documents, creates new documents, updates, listens for changes, etc.
So we have one version of our app live. The question becomes how we can modify the model in the database, for example, adding a non-optional field, without breaking the functionality of the current apps that are installed on people's phones.
All I can think of for now is to require to be on the latest version, or perhaps the latest without a breaking change, in order to log in to initialize firebase - by using a major.minor.patch, and update the major whenever there's a breaking change.
Is there a smoother way to do this? I am more familiar with the backend and web, so not sure what's considered a best practice in this case.