Replying to my zombie post as the information is completely incorrect. I believe the correct statement is:
- With Unity3D SDK there is *no* local persistence of RTDB to storage (i.e. not memory, e.g. between app launches.)
This is based on extensive testing with iOS and Android. Your Firebase *user ID* persists if you have previously logged in via Auth and then subsequently relaunch the app with no WiFi, but all database operations will fail if you relaunch with no wifi.
I'm unclear what the stackoverflow post is talking about with WRITE_EXTERNAL_STORAGE, but I can see no evidence that Firebase for Unity handles either persistence between sessions, or the ability to make queries based on previous data when disconnected. So there's not much point in giving it external storage permissions, as it won't do anything with them.
Are there any plans to add offline support to the Unity SDK? We're using firebase for a large DB of user-modifiable content, and it would be great if users could make modifications to their own content when offline, without us having to implement a custom shadowing/caching/updating system for offline mobile play.