My iOS app\'s firestore cache seems to have got out of sync with Firestore. As a result I\'ve had to disable persistence. Is there anyway to reset the cache? And is there a
There is now a feature in the API for clearing persistence. It is not recommended for anything but tests, but you can use
firebase.firestore().clearPersistence().catch(error => { console.error('Could not enable persistence:', error.code); })
It must run before the Firestore database is used.