I've recently turned on offline persistence for my Firebase database in my iPhone app:
FIRDatabase.database().persistenceEnabled = true
When reading the data from a database reference then going into the Firebase console and deleting that data, the next time I read from that reference the deleted entries are still there. Is this a side effect of having persistence enabled in my Firebase app? I'm reading the data in this manner:
let petRef = FIRDatabase.database().reference().child("pets").child(pet)
petRef.observeSingleEvent(of: .value, with: { snapshot in
...
Should I always use .keepSynced(true)
on references to not have this happen?