Hey All
I’m working with react-native using CRNA and firebase and created the app. As I’m using enablePersistence() storage and offline persistence storage is not implemented. I’ve specified as:
firebase.initializeApp({ apiKey: "AIzaSyCPW020BADuNGvwOPhad4XSq_UYVK3OSxM", authDomain: "firestorecrud-b08be.firebaseapp.com", databaseURL: "https://firestorecrud-b08be.firebaseio.com", projectId: "firestorecrud-b08be", storageBucket: "firestorecrud-b08be.appspot.com", messagingSenderId: "742054197796" }); const settings = {timestampsInSnapshots: true}; firebase.firestore().settings(settings); firebase.firestore().enablePersistence()
And I’m getting an error:
Can anyone help me out?
Thanks in advance