I am using react-native with Firestore 5.2.0 but the error is regarding the update of Firestore to 5.0.4.
The error is:
The behaviour for date objects stored in Firestore is going to change and your app may break. To hide this warning and ensure your app does not break, you need to add the following code to your app before calling other cloud Firestore methods:
const firestore= firebase.firestore();
const settings ={ /*your settings */ timestampInSnapshots: true};
firestore.settings(settings);
Can anyone help me out how can I get out of this error?
Thanks