Realtime Database
Firebase Realtime Database is a cloud-hosted NoSQL database designed for low-latency data synchronization across clients. It enables real-time updates, presence tracking, and shared state between multiple users, making it suitable for multiplayer features, live data feeds, and synchronized gameplay elements.
The Realtime Database module in this plugin exposes both data manipulation and live listener functionality, allowing Unreal Engine projects to react instantly to remote data changes.
Capabilities
- Read and write JSON data at arbitrary database paths.
- Update specific child fields without overwriting existing data.
- Remove values from the database.
- Push new child nodes with automatically generated keys.
- Listen for value changes at a path in real time.
- Listen for child added, changed, and removed events.
- Manage listener lifetimes using listener handles.
- Track client connection state to the Realtime Database.
- Configure on-disconnect behavior for presence and cleanup logic.
- Manually force the database client online or offline.
Important Notes
- Realtime listeners remain active until explicitly stopped; failing to remove unused listeners may result in unnecessary network traffic.
- Connection state callbacks reflect Firebase connectivity, not general internet availability.