I need to create a Firestore document, and use it's documentID in the next step. This is all fine, but I want the app to work offline, so I can't create the document offline and query it's ID.
I thought that I could set the docID to be the DateTime object on which the docuement was created. That way it could not be accidentally recreated later and overridden(because they would need to get the millisecond right).
This way I could create the document, and use it's id to create more documents in the next step. And when I get internet connection everything will sync with Firebase.
Is there anything I'm missing, or any reason why this system will fail?