adriancarriger / angularfire2-offline

🔌 A simple wrapper for AngularFire2 to read and write to Firebase while offline, even after a complete refresh.
https://angularfire2-offline.firebaseapp.com/
MIT License
207 stars 48 forks source link

solution to preserveSnapshot #66

Closed synapp009 closed 7 years ago

synapp009 commented 7 years ago

Is there any solution to this ( working on angularfire2-offline ):


    this.itemList = [];
    snapshot.forEach( snap => {
      this.itemList.push({
        id: snap.key,
        name: snap.val().name
      });
      return false
    });
  });```

Ionic 3
AngularFire2
Firebase

Thank you