While testing the reliability of Disk Persistence on Android (Firebase SDK 2.2.2) I experienced a few limitations.
With airplane mode enabled and the app restarted (force closed) once after each new object added and value updated:
- I can only push up to 30 new objects after that the oldest disappear.
- I can only update an existing object 1-5 times (randomly varying). Then after an app restart the object value always resets to the last successfully updated value.
I experienced this with my own test app and also the Firebase AndroidChat example with Firebase.getDefaultConfig().enablePersistence();
added to it's application class.
Are these general limitations of the Disk Persistence cache or might there be another problem?
0 comments:
Post a Comment