Ionic 3 Offline data access

hy guys! Presently I am working on Ionic3 with firebase. The data is inserting and I can access it from my firebase. But I am stuck at a point. I want to retrieve the data when the network is not available. I tried < AngularFirestoreModule.enablePersistence(), > but It didn't worked.